Makefile revision 5586
1310N/A#
1310N/A# CDDL HEADER START
1310N/A#
1310N/A# The contents of this file are subject to the terms of the
1310N/A# Common Development and Distribution License (the "License").
1310N/A# You may not use this file except in compliance with the License.
1310N/A#
1310N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1310N/A# or http://www.opensolaris.org/os/licensing.
1310N/A# See the License for the specific language governing permissions
1310N/A# and limitations under the License.
1310N/A#
1310N/A# When distributing Covered Code, include this CDDL HEADER in each
1310N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1310N/A# If applicable, add the following below this CDDL HEADER, with the
1310N/A# fields enclosed by brackets "[]" replaced with your own identifying
1310N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1310N/A#
1310N/A# CDDL HEADER END
1310N/A#
1310N/A
1310N/A#
5586N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
1310N/A#
1310N/A
1310N/Ainclude ../../make-rules/shared-macros.mk
1310N/A
1310N/ACOMPONENT_NAME= popt
5586N/ACOMPONENT_VERSION= 1.16
1310N/ACOMPONENT_PROJECT_URL= http://freecode.com/projects/popt/
1310N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1310N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1310N/ACOMPONENT_ARCHIVE_HASH= \
5586N/A sha256:e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
5586N/ACOMPONENT_ARCHIVE_URL= https://launchpad.net/$(COMPONENT_NAME)/head/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
1310N/ACOMPONENT_BUGDB= library/popt
1310N/A
5586N/ATPNO= 27265
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
3817N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
1310N/A
1310N/ACOMPONENT_PREP_ACTION = \
4086N/A (cd $(@D) ; $(TOUCH) config.rpath) ;
4086N/A
1310N/A# Needed to get "gmake test" to work.
1310N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
1310N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
1310N/A
1310N/A# Add /usr/gnu/bin at the front of $PATH for GNU gettext.
1310N/ACONFIGURE_ENV += PATH=/usr/gnu/bin:$(PATH)
1310N/A
1310N/ACONFIGURE_OPTIONS += --disable-nls
1310N/A
1310N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1310N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
1310N/A
1310N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
1310N/A
3716N/A# Master test results are the same for 32-bit and 64-bit, so override
3716N/A# here, rather than create multiple identical master files.
3716N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3716N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
1310N/Abuild: $(BUILD_32_and_64)
1310N/A
1310N/Ainstall: $(INSTALL_32_and_64)
1310N/A
5586N/A# api-sanity-autotest.pl is part of the API Sanity Checker
5586N/A# http://ispras.linuxbase.org/index.php/API_Sanity_Autotest
5586N/A# (which we don't have in Solaris), so expect that test to fail.
1310N/Atest: $(TEST_32_and_64)
1310N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
3817N/AREQUIRED_PACKAGES += system/library