Makefile revision 3794
1880N/A#
1880N/A# CDDL HEADER START
1880N/A#
1880N/A# The contents of this file are subject to the terms of the
1880N/A# Common Development and Distribution License (the "License").
1880N/A# You may not use this file except in compliance with the License.
1880N/A#
1880N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1880N/A# or http://www.opensolaris.org/os/licensing.
1880N/A# See the License for the specific language governing permissions
1880N/A# and limitations under the License.
1880N/A#
1880N/A# When distributing Covered Code, include this CDDL HEADER in each
1880N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1880N/A# If applicable, add the following below this CDDL HEADER, with the
1880N/A# fields enclosed by brackets "[]" replaced with your own identifying
1880N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1880N/A#
1880N/A# CDDL HEADER END
1880N/A#
1880N/A
1880N/A#
3789N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1880N/A#
1880N/A
1880N/Ainclude ../../../make-rules/shared-macros.mk
1880N/A
1880N/ACOMPONENT_NAME= MySQL-python
1880N/ACOMPONENT_VERSION= 1.2.2
1880N/ACOMPONENT_PROJECT_URL= http://sourceforge.net/projects/mysql-python
1880N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1880N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1880N/ACOMPONENT_ARCHIVE_HASH= \
1880N/A sha256:f4133b81e65c7b94a5921ff6a0e7bdbfb622f2a70473673103cb17d5a5be807a
1880N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/mysql-python/$(COMPONENT_ARCHIVE)
1880N/ACOMPONENT_BUGDB= python-mod/mysql
1880N/A
3661N/ATPNO= 9533
3661N/A
3778N/A# Syntax issues: not Python 3 ready.
3794N/APYTHON_VERSIONS= 2.7 2.6
3778N/A
1880N/Ainclude $(WS_TOP)/make-rules/prep.mk
1880N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
1880N/Ainclude $(WS_TOP)/make-rules/ips.mk
1880N/A
3789N/APATH_32=/usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
3789N/APATH_64=/usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
3789N/ACOMPONENT_BUILD_ENV += PATH=$(PATH_$(BITS)):$(PATH)
3789N/ACOMPONENT_INSTALL_ENV += PATH=$(PATH_$(BITS)):$(PATH)
3789N/A
3789N/ACFLAGS_32= -L/usr/mysql/5.5/lib -R/usr/mysql/5.5/lib
3789N/ACFLAGS_64= -L/usr/mysql/5.5/lib/$(MACH64) -R/usr/mysql/5.5/lib/$(MACH64)
3789N/ACFLAGS += $(CFLAGS_$(BITS))
1880N/A
1880N/A# common targets
3794N/Abuild: $(BUILD_32_and_64)
1880N/A
3794N/Ainstall: $(INSTALL_32_and_64)
1880N/A
1880N/Atest: $(NO_TESTS)
1880N/A
1880N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1880N/A
1880N/Ainclude $(WS_TOP)/make-rules/depend.mk