Makefile revision 5680
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# CDDL HEADER START
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# The contents of this file are subject to the terms of the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Common Development and Distribution License (the "License").
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# You may not use this file except in compliance with the License.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# or http://www.opensolaris.org/os/licensing.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# See the License for the specific language governing permissions
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# and limitations under the License.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# When distributing Covered Code, include this CDDL HEADER in each
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# If applicable, add the following below this CDDL HEADER, with the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# CDDL HEADER END
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncBUILD_BITS= 64
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPILER= gcc
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncinclude ../../make-rules/shared-macros.mk
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_NAME= augeas
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_VERSION= 1.3.0
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_PROJECT_URL= http://www.augeas.net/
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_ARCHIVE_HASH= \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync sha256:80763031af76515a8ea66013ddc3c466742a15d2e907c7c8e2e3b7410262e2af
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_ARCHIVE_URL= http://download.augeas.net/$(COMPONENT_ARCHIVE)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncTPNO= 21660
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncinclude $(WS_MAKE_RULES)/common.mk
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_PRE_CONFIGURE_ACTION = \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync ($(CLONEY) $(SOURCE_DIR) $(@D))
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCONFIGURE_OPTIONS += --disable-dependency-tracking
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_TEST_ARGS = -k
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCOMPONENT_TEST_TRANSFORMS += \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-n ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/passed/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/failed/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/Checks:/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/Total:/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/Passed/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/Failed/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/Failure expected/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/SKIP/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/PASS/p" ' \
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync '-e "/FAIL/p" '
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# XXX why does this coredump without the workaround?
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Fixes coredump in gnulib-test/test-localename test
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCONFIGURE_OPTIONS += ac_cv_func_newlocale=no
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Needed for "gmake test" to work.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# SHELLOPTS is exported via make-rules/shared-macros.mk,
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# causing the braceexpand option to be set.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# This option causes "$1: unbound variable" errors during the check-TESTS,
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# and the gnulib-tests don't even run at all.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# Note that the below unexports SHELLOPTS, even for targets
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync# other than "test."
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncunexport SHELLOPTS
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncREQUIRED_PACKAGES += library/libxml2
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncREQUIRED_PACKAGES += library/readline
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncREQUIRED_PACKAGES += library/ncurses
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync