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#
5680N/A
3421N/A#
5680N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64_and_32
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_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
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
3531N/A
3531N/ALINT_FLAGS += -I$(PROTOUSRINCDIR)
3421N/A
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.
5680N/ACOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
3421N/A
6024N/A# 003-CVE-2016-4425.patch modifies jansson_config.h.in that will generate a new
6024N/A# jansson_config.h in the build subdirectory. We need to rm the one in the
6024N/A# original source so that it doesn't get in the way.
6024N/ACOMPONENT_PREP_ACTION += $(RM) $(@D)/src/jansson_config.h