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