Makefile revision 4982
225N/A#
225N/A# CDDL HEADER START
225N/A#
225N/A# The contents of this file are subject to the terms of the
225N/A# Common Development and Distribution License (the "License").
225N/A# You may not use this file except in compliance with the License.
225N/A#
225N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
225N/A# or http://www.opensolaris.org/os/licensing.
225N/A# See the License for the specific language governing permissions
225N/A# and limitations under the License.
225N/A#
225N/A# When distributing Covered Code, include this CDDL HEADER in each
225N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
225N/A# If applicable, add the following below this CDDL HEADER, with the
225N/A# fields enclosed by brackets "[]" replaced with your own identifying
225N/A# information: Portions Copyright [yyyy] [name of copyright owner]
225N/A#
225N/A# CDDL HEADER END
225N/A#
225N/A
225N/A#
5473N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
225N/A#
225N/A
225N/Ainclude ../../../make-rules/shared-macros.mk
225N/A
225N/ACOMPONENT_NAME= MySQL-python
225N/ACOMPONENT_VERSION= 1.2.5
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
225N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
225N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74
844N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
225N/ACOMPONENT_PROJECT_URL= https://github.com/farcepest/MySQLdb1
1258N/ACOMPONENT_BUGDB= python-mod/mysql
225N/A
2899N/ATPNO= 21723
2899N/A
3817N/A# Syntax issues: not Python 3 ready.
3817N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
3817N/A
225N/Ainclude $(WS_MAKE_RULES)/prep.mk
225N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
225N/Ainclude $(WS_MAKE_RULES)/ips.mk
225N/A
5473N/A# Remove trailing carriage returns, if present, in the files.
225N/ACOMPONENT_POST_UNPACK_ACTION = \
225N/A /usr/bin/find $(SOURCE_DIR) -type f -exec $(GSED) -i 's/\r//' '{}' \; ;
225N/A
225N/APATH_32= /usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
1392N/APATH_64= /usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
225N/ACOMPONENT_BUILD_ENV += PATH=$(PATH_$(BITS)):$(PATH)
4764N/ACOMPONENT_INSTALL_ENV += PATH=$(PATH_$(BITS)):$(PATH)
4764N/A
225N/ACFLAGS_32= -L/usr/mysql/5.5/lib -R/usr/mysql/5.5/lib
4764N/ACFLAGS_64= -L/usr/mysql/5.5/lib/$(MACH64) -R/usr/mysql/5.5/lib/$(MACH64)
225N/ACFLAGS += $(CFLAGS_$(BITS))
892N/A
892N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
892N/A
3843N/A# common targets
225N/Abuild: $(BUILD_32_and_64)
3843N/A
3843N/Ainstall: $(INSTALL_32_and_64)
3843N/A
225N/Atest: $(NO_TESTS)
1989N/A
1989N/Asystem-test: $(NO_TESTS)
225N/A
3477N/A
892N/AREQUIRED_PACKAGES += database/mysql-55
892N/AREQUIRED_PACKAGES += database/mysql-55/library
892N/AREQUIRED_PACKAGES += system/library
4337N/A