Makefile revision 3477
2247N/A#
2247N/A# CDDL HEADER START
2247N/A#
2247N/A# The contents of this file are subject to the terms of the
2247N/A# Common Development and Distribution License (the "License").
2247N/A# You may not use this file except in compliance with the License.
2247N/A#
2247N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2247N/A# or http://www.opensolaris.org/os/licensing.
2247N/A# See the License for the specific language governing permissions
2247N/A# and limitations under the License.
2247N/A#
2247N/A# When distributing Covered Code, include this CDDL HEADER in each
2247N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2247N/A# If applicable, add the following below this CDDL HEADER, with the
2247N/A# fields enclosed by brackets "[]" replaced with your own identifying
2247N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2247N/A#
2247N/A# CDDL HEADER END
2247N/A#
2276N/A
2247N/A#
2247N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
2247N/A#
2247N/A
2588N/Ainclude ../../make-rules/shared-macros.mk
2276N/A
2276N/ACOMPONENT_NAME= popt
2276N/ACOMPONENT_VERSION= 1.7
2276N/ACOMPONENT_PROJECT_URL= http://freecode.com/projects/popt/
2276N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2276N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2588N/ACOMPONENT_ARCHIVE_HASH= \
2276N/A sha256:4e75cb28793f0d44134f71fae53057d5f250805e6268fbd9c9780654b73b0dc1
2276N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/cross-stuff/files/cross-stuff/1.0/$(COMPONENT_ARCHIVE)/download
2247N/ACOMPONENT_BUGDB= library/popt
2588N/A
2247N/ATPNO= 7904
2247N/A
2247N/Ainclude ../../make-rules/prep.mk
2247N/Ainclude ../../make-rules/configure.mk
2247N/Ainclude ../../make-rules/ips.mk
2247N/A
2247N/ACOMPONENT_PREP_ACTION = \
2247N/A (cd $(@D) ; \
2247N/A $(TOUCH) config.rpath ; \
2247N/A libtoolize -f ; \
2247N/A aclocal -I . ; \
2247N/A autoconf ; \
2247N/A automake -a -c -f )
2247N/A
2247N/A# Needed to get "gmake test" to work.
2247N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
2247N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
2247N/A
2247N/A# Add /usr/gnu/bin at the front of $PATH for GNU gettext.
2247N/ACONFIGURE_ENV += PATH=/usr/gnu/bin:$(PATH)
2247N/A
2247N/ACONFIGURE_OPTIONS += --disable-nls
2247N/A
2247N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2247N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
2247N/A
2247N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
2247N/A
2588N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2247N/A
2247N/A# common targets
2247N/Aconfigure: $(CONFIGURE_32_and_64)
2247N/A
2247N/Abuild: $(BUILD_32_and_64)
2247N/A
2247N/Ainstall: $(INSTALL_32_and_64)
2247N/A
2247N/Atest: $(TEST_32_and_64)
2247N/A
2247N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2247N/A
2247N/Ainclude ../../make-rules/depend.mk
2247N/A