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