Makefile revision 2899
48c0c81cd6fabac9d3386406d97633780365b839coar#
48c0c81cd6fabac9d3386406d97633780365b839coar# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh# You may not use this file except in compliance with the License.
694514f7e6e99917e084943e3a05950b3c7c106ajerenkrantz#
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# or http://www.opensolaris.org/os/licensing.
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# See the License for the specific language governing permissions
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# and limitations under the License.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# When distributing Covered Code, include this CDDL HEADER in each
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# If applicable, add the following below this CDDL HEADER, with the
571760de5e60c0b459cb11be45507b923cd023eejwoolley# fields enclosed by brackets "[]" replaced with your own identifying
571760de5e60c0b459cb11be45507b923cd023eejwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
9180a5933673ffb1af633c255ceee029340f3b1erbb#
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# CDDL HEADER END
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe#
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbbinclude ../../make-rules/shared-macros.mk
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbbCOMPONENT_NAME= pth
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gsteinCOMPONENT_VERSION= 2.0.7
35330e0d79ceb8027223bbb8330a381b1f989d6etrawickCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6f6f4a4bca281779d196acbdd5c017bb90858305trawickCOMPONENT_PROJECT_URL= http://www.gnu.org/software/pth/
8dd4618c4709236b4ea297d7250d282e463ce2d8rbbCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickCOMPONENT_ARCHIVE_HASH= \
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb sha256:72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/pth/$(COMPONENT_ARCHIVE)
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojCOMPONENT_BUGDB= library/pth
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
af4c982a7cf4515f124935f99a329744035fc699sliveTPNO= 8899
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/prep.mk
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/configure.mk
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/ips.mk
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699slivePATCH_LEVEL = 0
10270f6f94b2069d0d357805c140a9897449b9ccianh
e0427bf8e52a8fb920cb8b6adb5cdb3b6535b7fecoar# Enable C99 mode + -Xc for its additional warnings.
10270f6f94b2069d0d357805c140a9897449b9ccianhstudio_C99MODE = -Xc $(studio_C99_ENABLE)
10270f6f94b2069d0d357805c140a9897449b9ccianh
4e3b83f6caecb85d4c139a440254cfa2f98e8960ianh# -xinline=%auto -- we like inlining where appropriate
4e3b83f6caecb85d4c139a440254cfa2f98e8960ianhCFLAGS += -xinline=%auto
cbd842f948c0ffda90ec0803f0fefc0d7630131cwrowe
10270f6f94b2069d0d357805c140a9897449b9ccianh# -xbuiltin=%none -- builtins have been known to be buggy
7838b826028aeea75373c7c99965ccb2bdc84143jimCFLAGS += -xbuiltin=%none
b24a7ff8bc1f07fc6757eb2ac5f3dbf135ebfec2trawick
cbd842f948c0ffda90ec0803f0fefc0d7630131cwroweCFLAGS += $(CPP_LARGEFILES)
7838b826028aeea75373c7c99965ccb2bdc84143jimCFLAGS += $(XPG6MODE)
10270f6f94b2069d0d357805c140a9897449b9ccianhCFLAGS += $(CPP_POSIX)
10270f6f94b2069d0d357805c140a9897449b9ccianhCFLAGS += $(studio_PIC)
10270f6f94b2069d0d357805c140a9897449b9ccianh
10270f6f94b2069d0d357805c140a9897449b9ccianhCPPFLAGS += $(CPP_LARGEFILES) $(CPP_POSIX)
10270f6f94b2069d0d357805c140a9897449b9ccianh
10270f6f94b2069d0d357805c140a9897449b9ccianhLDFLAGS = -lpthread -lposix4 -lrt
10270f6f94b2069d0d357805c140a9897449b9ccianh
10270f6f94b2069d0d357805c140a9897449b9ccianhCONFIGURE_OPTIONS += --localstatedir=/var
10270f6f94b2069d0d357805c140a9897449b9ccianhCONFIGURE_OPTIONS += --with-pic
58e0ed3d1f052d695078b1d2a61c19246776eab5jerenkrantz
10270f6f94b2069d0d357805c140a9897449b9ccianhCONFIGURE_ENV += CC="$(CC)"
10270f6f94b2069d0d357805c140a9897449b9ccianhCONFIGURE_ENV += LD="$(CC) $(CFLAGS) $(LDFLAGS)"
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawickCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawickCONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawickCONFIGURE_ENV += CPP="$(CC) $(CPPFLAGS) $(CFLAGS) -E"
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawickCONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
48c0c81cd6fabac9d3386406d97633780365b839coarCONFIGURE_ENV += INSTALL="$(INSTALL)"
48c0c81cd6fabac9d3386406d97633780365b839coar
48c0c81cd6fabac9d3386406d97633780365b839coarASLR_MODE = $(ASLR_NOT_APPLICABLE)
48c0c81cd6fabac9d3386406d97633780365b839coar
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawickbuild: $(BUILD_32_and_64)
48c0c81cd6fabac9d3386406d97633780365b839coar
5c99bd08a9f1f96f37da0239d3365a0025531711gregamesinstall: $(INSTALL_32_and_64)
5c99bd08a9f1f96f37da0239d3365a0025531711gregames
5c99bd08a9f1f96f37da0239d3365a0025531711gregamestest: $(TEST_32_and_64)
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantzBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantzinclude ../../make-rules/depend.mk
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick