Makefile revision 3789
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER START
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# The contents of this file are subject to the terms of the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Common Development and Distribution License (the "License").
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You may not use this file except in compliance with the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# or http://www.opensolaris.org/os/licensing.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# See the License for the specific language governing permissions
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# and limitations under the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# When distributing Covered Code, include this CDDL HEADER in each
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# If applicable, add the following below this CDDL HEADER, with the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# fields enclosed by brackets "[]" replaced with your own identifying
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# information: Portions Copyright [yyyy] [name of copyright owner]
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER END
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinclude ../../../make-rules/shared-macros.mk
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_NAME= MySQL-python
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_VERSION= 1.2.2
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_PROJECT_URL= http://sourceforge.net/projects/mysql-python
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_ARCHIVE_HASH= \
25cf1a301a396c38e8adf52c15f537b80d2483f7jl sha256:f4133b81e65c7b94a5921ff6a0e7bdbfb622f2a70473673103cb17d5a5be807a
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/mysql-python/$(COMPONENT_ARCHIVE)
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_BUGDB= python-mod/mysql
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlTPNO= 9533
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Syntax issues: not Python 3 ready.
25cf1a301a396c38e8adf52c15f537b80d2483f7jlPYTHON_VERSIONS = 2.7 2.6
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinclude $(WS_TOP)/make-rules/prep.mk
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinclude $(WS_TOP)/make-rules/setup.py.mk
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinclude $(WS_TOP)/make-rules/ips.mk
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlPATH_32=/usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
25cf1a301a396c38e8adf52c15f537b80d2483f7jlPATH_64=/usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_BUILD_ENV += PATH=$(PATH_$(BITS)):$(PATH)
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCOMPONENT_INSTALL_ENV += PATH=$(PATH_$(BITS)):$(PATH)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCFLAGS_32= -L/usr/mysql/5.5/lib -R/usr/mysql/5.5/lib
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCFLAGS_64= -L/usr/mysql/5.5/lib/$(MACH64) -R/usr/mysql/5.5/lib/$(MACH64)
25cf1a301a396c38e8adf52c15f537b80d2483f7jlCFLAGS += $(CFLAGS_$(BITS))
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# common targets
25cf1a301a396c38e8adf52c15f537b80d2483f7jlbuild: $(BUILD_32)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinstall: $(INSTALL_32)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jltest: $(NO_TESTS)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl
25cf1a301a396c38e8adf52c15f537b80d2483f7jlinclude $(WS_TOP)/make-rules/depend.mk
25cf1a301a396c38e8adf52c15f537b80d2483f7jl