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