Makefile revision 3421
3421N/A#
3421N/A# CDDL HEADER START
3421N/A#
3421N/A# The contents of this file are subject to the terms of the
3421N/A# Common Development and Distribution License (the "License").
3421N/A# You may not use this file except in compliance with the License.
3421N/A#
3421N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3421N/A# or http://www.opensolaris.org/os/licensing.
3421N/A# See the License for the specific language governing permissions
3421N/A# and limitations under the License.
3421N/A#
3421N/A# When distributing Covered Code, include this CDDL HEADER in each
3421N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3421N/A# If applicable, add the following below this CDDL HEADER, with the
3421N/A# fields enclosed by brackets "[]" replaced with your own identifying
3421N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3421N/A#
3421N/A# CDDL HEADER END
3421N/A#
3421N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3421N/A#
3421N/Ainclude ../../make-rules/shared-macros.mk
3421N/A
3421N/ACOMPONENT_NAME= jansson
3421N/ACOMPONENT_VERSION= 2.7
3421N/ACOMPONENT_PROJECT_URL= http://www.digip.org/jansson
3421N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3421N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3421N/ACOMPONENT_ARCHIVE_HASH= \
3421N/A sha256:7905e6590fb316c0ff943df3dc6a21cd81a59cff7a6d12514054c359d04d78d7
3421N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
3421N/ACOMPONENT_BUGDB= library/jansson
3421N/A
3421N/ATPNO= 19403
3421N/A
3421N/Ainclude ../../make-rules/prep.mk
3421N/Ainclude ../../make-rules/configure.mk
3421N/Ainclude ../../make-rules/ips.mk
3421N/A
3421N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3421N/ACONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/jansson
3421N/A
3421N/A# The test/suites/api/check-exports uses nm and expects it to be the GNU kind.
3421N/ACOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:$(PATH)
3421N/A
3421N/AASLR_MODE = $(ASLR_ENABLE)
3421N/A
3421N/A# common targets
3421N/Abuild: $(BUILD_32_and_64)
3421N/A
3421N/Ainstall: $(INSTALL_32_and_64)
3421N/A
3421N/Atest: $(TEST_32_and_64)
3421N/A
3421N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3421N/A
3421N/Ainclude ../../make-rules/depend.mk