Cross Reference: /solaris-userland/components/python/mysql/Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A
2362N/A#
2362N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
0N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= MySQL-python
0N/ACOMPONENT_VERSION= 1.2.5
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74
0N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
0N/ACOMPONENT_PROJECT_URL= https://github.com/farcepest/MySQLdb1
0N/ACOMPONENT_BUGDB= python-mod/mysql
0N/A
0N/ATPNO= 21723
0N/A
0N/A# Syntax issues: not Python 3 ready.
0N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/A# Remove trailing carriage returns, if present, in the files.
0N/ACOMPONENT_POST_UNPACK_ACTION = \
0N/A /usr/bin/find $(SOURCE_DIR) -type f -exec $(GSED) -i 's/\r//' '{}' \; ;
0N/A
0N/APATH_32= /usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
0N/APATH_64= /usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
0N/ACOMPONENT_BUILD_ENV += PATH=$(PATH_$(BITS)):$(PATH)
0N/ACOMPONENT_INSTALL_ENV += PATH=$(PATH_$(BITS)):$(PATH)
0N/A
0N/ACFLAGS_32= -L/usr/mysql/5.5/lib -R/usr/mysql/5.5/lib
0N/ACFLAGS_64= -L/usr/mysql/5.5/lib/$(MACH64) -R/usr/mysql/5.5/lib/$(MACH64)
0N/ACFLAGS += $(CFLAGS_$(BITS))
0N/A
0N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
0N/A
0N/A# common targets
0N/Abuild: $(BUILD_32_and_64)
0N/A
0N/Ainstall: $(INSTALL_32_and_64)
0N/A
0N/Atest: $(NO_TESTS)
0N/A
0N/Asystem-test: $(NO_TESTS)
0N/A
0N/A
0N/AREQUIRED_PACKAGES += database/mysql-55
0N/AREQUIRED_PACKAGES += database/mysql-55/library
0N/AREQUIRED_PACKAGES += system/library
0N/A