Makefile revision 830
250N/A#
250N/A# CDDL HEADER START
250N/A#
250N/A# The contents of this file are subject to the terms of the
250N/A# Common Development and Distribution License (the "License").
250N/A# You may not use this file except in compliance with the License.
250N/A#
250N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
250N/A# or http://www.opensolaris.org/os/licensing.
250N/A# See the License for the specific language governing permissions
250N/A# and limitations under the License.
250N/A#
250N/A# When distributing Covered Code, include this CDDL HEADER in each
250N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
250N/A# If applicable, add the following below this CDDL HEADER, with the
250N/A# fields enclosed by brackets "[]" replaced with your own identifying
250N/A# information: Portions Copyright [yyyy] [name of copyright owner]
250N/A#
250N/A# CDDL HEADER END
250N/A#
250N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
250N/A#
250N/Ainclude ../../make-rules/shared-macros.mk
250N/A
250N/ACOMPONENT_NAME= pth
250N/ACOMPONENT_VERSION= 2.0.7
250N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/pth/
250N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
250N/ACOMPONENT_ARCHIVE_HASH= sha1:9a71915c89ff2414de69fe104ae1016d513afeee
250N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/pth/$(COMPONENT_ARCHIVE)
250N/A
250N/Ainclude ../../make-rules/prep.mk
250N/Ainclude ../../make-rules/configure.mk
250N/Ainclude ../../make-rules/ips.mk
250N/A
250N/APATCH_LEVEL = 0
250N/A
250N/A# Enable C99 mode + -Xc for its additional warnings.
250N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
250N/A
250N/A# -xinline=%auto -- we like inlining where appropriate
250N/ACFLAGS += -xinline=%auto
250N/A
250N/A# -xbuiltin=%none -- builtins have been known to be buggy
250N/ACFLAGS += -xbuiltin=%none
250N/A
250N/ACFLAGS += $(CPP_LARGEFILES)
250N/ACFLAGS += $(XPG6MODE)
250N/ACFLAGS += $(CPP_POSIX)
250N/ACFLAGS += $(studio_PIC)
250N/A
250N/ACPPFLAGS += $(CPP_LARGEFILES) $(CPP_POSIX)
250N/A
250N/ALDFLAGS = -lpthread -lposix4 -lrt
250N/A
250N/ACONFIGURE_OPTIONS += --localstatedir=/var
250N/ACONFIGURE_OPTIONS += --with-pic
250N/A
250N/ACONFIGURE_ENV += CC="$(CC)"
250N/ACONFIGURE_ENV += LD="$(CC) $(CFLAGS) $(LDFLAGS)"
250N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
250N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
250N/ACONFIGURE_ENV += CPP="$(CC) $(CPPFLAGS) $(CFLAGS) -E"
250N/ACONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
250N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
250N/A
250N/Abuild: $(BUILD_32_and_64)
250N/A
250N/Ainstall: $(INSTALL_32_and_64)
250N/A
250N/Atest: $(TEST_32_and_64)
250N/A
250N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
250N/A
250N/Ainclude ../../make-rules/depend.mk
250N/A