Makefile revision 5680
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#
5680N/A
425N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64_and_32
425N/Ainclude ../../make-rules/shared-macros.mk
425N/A
1244N/ACOMPONENT_NAME= libconfuse
425N/ACOMPONENT_VERSION= 2.6
1244N/ACOMPONENT_SRC_NAME= confuse
425N/ACOMPONENT_PROJECT_URL= http://www.nongnu.org/confuse/
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
5680N/ATEST_TARGET= install $(TEST_32_and_64)
5680N/ASYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_32_and_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
425N/A
425N/ACONFIGURE_OPTIONS += --disable-static
425N/ACONFIGURE_OPTIONS += --enable-shared
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
4760N/ACOMPONENT_TEST_DIR = $(@D)/tests
4760N/A
4760N/ACOMPONENT_SYSTEM_TEST_DIR = $(@D)/tests
4760N/A
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 += \
4760N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4760N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
4760N/A '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3854N/A '-e "/^XXX_CC_XXX$$/d" '
425N/A
4760N/A# Needed to build the test programs.
4760N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
4760N/A (cd $(@D)/src ; $(GMAKE) libconfuse.la )
4760N/A
4760N/A# Get correct libconfuse.so.0 from the proto area.
4760N/ATEST_LIBPATH.32 = $(PROTOUSRLIBDIR)
4760N/ATEST_LIBPATH.64 = $(PROTOUSRLIBDIR64)
4760N/ACOMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS))
4760N/A
1475N/AASLR_MODE = $(ASLR_ENABLE)