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