Makefile revision 1475
749N/A#
749N/A# CDDL HEADER START
749N/A#
749N/A# The contents of this file are subject to the terms of the
749N/A# Common Development and Distribution License (the "License").
749N/A# You may not use this file except in compliance with the License.
749N/A#
749N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
749N/A# or http://www.opensolaris.org/os/licensing.
749N/A# See the License for the specific language governing permissions
749N/A# and limitations under the License.
749N/A#
749N/A# When distributing Covered Code, include this CDDL HEADER in each
749N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
749N/A# If applicable, add the following below this CDDL HEADER, with the
749N/A# fields enclosed by brackets "[]" replaced with your own identifying
749N/A# information: Portions Copyright [yyyy] [name of copyright owner]
749N/A#
749N/A# CDDL HEADER END
749N/A#
749N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
749N/A#
749N/Ainclude ../../make-rules/shared-macros.mk
749N/A
749N/ACOMPONENT_NAME= libconfuse
749N/ACOMPONENT_VERSION= 2.6
749N/ACOMPONENT_SRC_NAME= confuse
749N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
749N/ACOMPONENT_PROJECT_URL= http://www.nongnu.org/confuse/
749N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
749N/ACOMPONENT_ARCHIVE_HASH= \
749N/A sha256:e8d653159b152f3850a7224b3eb604955795dbd3fd6603816ee46411ea53e84a
749N/ACOMPONENT_ARCHIVE_URL= http://bzero.se/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
749N/ACOMPONENT_BUGDB= library/libconfuse
749N/A
749N/Ainclude ../../make-rules/prep.mk
749N/Ainclude ../../make-rules/configure.mk
749N/Ainclude ../../make-rules/ips.mk
749N/A
749N/ACONFIGURE_OPTIONS += --disable-static
749N/ACONFIGURE_OPTIONS += --enable-shared
749N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
749N/A
749N/A# This is really only needed to get the test target to pass.
749N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
749N/A
749N/AASLR_MODE = $(ASLR_ENABLE)
749N/A
749N/A# common targets
749N/Abuild: $(BUILD_32_and_64)
749N/A
749N/Ainstall: $(INSTALL_32_and_64)
749N/A
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk