5888N/A#
5888N/A# CDDL HEADER START
5888N/A#
5888N/A# The contents of this file are subject to the terms of the
5888N/A# Common Development and Distribution License (the "License").
5888N/A# You may not use this file except in compliance with the License.
5888N/A#
5888N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5888N/A# or http://www.opensolaris.org/os/licensing.
5888N/A# See the License for the specific language governing permissions
5888N/A# and limitations under the License.
5888N/A#
5888N/A# When distributing Covered Code, include this CDDL HEADER in each
5888N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5888N/A# If applicable, add the following below this CDDL HEADER, with the
5888N/A# fields enclosed by brackets "[]" replaced with your own identifying
5888N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5888N/A#
5888N/A# CDDL HEADER END
5888N/A#
5888N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5888N/A#
5888N/A
5888N/ACOMPILER = gcc
5888N/ABUILD_BITS = 32_and_64
5888N/Ainclude ../../make-rules/shared-macros.mk
5888N/A
5888N/ACOMPONENT_NAME= json-c
5888N/ACOMPONENT_VERSION= 0.12
5888N/ACOMPONENT_PROJECT_URL= https://github.com/json-c/json-c/wiki/
5888N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5888N/ACOMPONENT_ARCHIVE_HASH= \
5888N/A sha256:000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f
5888N/ACOMPONENT_ARCHIVE_URL= https://s3.amazonaws.com/json-c_releases/releases/$(COMPONENT_ARCHIVE)
5888N/ACOMPONENT_BUGDB= library/json-c
5888N/A
5888N/ATPNO= 21444
5888N/A
5888N/Ainclude $(WS_MAKE_RULES)/common.mk
5888N/A
5888N/ACOMPONENT_PREP_ACTION += (cd $(@D) ; autoreconf -fiv )
5888N/A
5888N/A# Tests can't find their headers or data files unless we clone the source tree
5888N/ACOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
5888N/A
5888N/A# Needed for "gmake test" to work successfully.
5888N/Aunexport SHELLOPTS
5888N/A
5888N/A# Standard automake test framework results transform
5888N/ACOMPONENT_TEST_TRANSFORMS += \
5888N/A '-n ' \
5888N/A '-e "/TOTAL/p" ' \
5888N/A '-e "/SKIP/p" ' \
5888N/A '-e "/PASS/p" ' \
5888N/A '-e "/FAIL/p" ' \
5888N/A '-e "/ERROR/p" '
5888N/A
5888N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master