Makefile revision 3817
425N/A#
425N/A# CDDL HEADER START
425N/A#
425N/A# The contents of this file are subject to the terms of the
425N/A# Common Development and Distribution License (the "License").
425N/A# You may not use this file except in compliance with the License.
425N/A#
425N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
425N/A# or http://www.opensolaris.org/os/licensing.
425N/A# See the License for the specific language governing permissions
425N/A# and limitations under the License.
425N/A#
425N/A# When distributing Covered Code, include this CDDL HEADER in each
425N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
425N/A# If applicable, add the following below this CDDL HEADER, with the
425N/A# fields enclosed by brackets "[]" replaced with your own identifying
425N/A# information: Portions Copyright [yyyy] [name of copyright owner]
425N/A#
425N/A# CDDL HEADER END
425N/A#
3639N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
425N/A#
425N/Ainclude ../../make-rules/shared-macros.mk
425N/A
1244N/ACOMPONENT_NAME= libconfuse
425N/ACOMPONENT_VERSION= 2.6
1244N/ACOMPONENT_SRC_NAME= confuse
1244N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
425N/ACOMPONENT_PROJECT_URL= http://www.nongnu.org/confuse/
425N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:e8d653159b152f3850a7224b3eb604955795dbd3fd6603816ee46411ea53e84a
425N/ACOMPONENT_ARCHIVE_URL= http://bzero.se/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libconfuse
425N/A
2899N/ATPNO= 6306
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
425N/A
425N/ACONFIGURE_OPTIONS += --disable-static
425N/ACONFIGURE_OPTIONS += --enable-shared
425N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
425N/A
425N/A# This is really only needed to get the test target to pass.
3639N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
3639N/A
3639N/A# Master test results are the same for all versions of Python, so override
3639N/A# here, rather than create multiple identical master files.
3639N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3639N/A
3639N/A# The additional libconfuse specific set of transforms to be applied to the
3639N/A# test results to try to normalize them.
3639N/ACOMPONENT_TEST_TRANSFORMS += \
3659N/A '-e "s|\(^$(CC)\).*|\\$$(CC)|" ' \
3659N/A '-e "s|\(^/bin/bash ../libtool\).*|\1|" '
425N/A
1475N/AASLR_MODE = $(ASLR_ENABLE)
1475N/A
425N/A# common targets
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
425N/Abuild: $(BUILD_32_and_64)
425N/A
425N/Ainstall: $(INSTALL_32_and_64)
425N/A
3639N/Atest: $(TEST_32_and_64)
425N/A
3817N/AREQUIRED_PACKAGES += system/library