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