Makefile revision 5271
5260N/A#
5260N/A# CDDL HEADER START
5260N/A#
5260N/A# The contents of this file are subject to the terms of the
5260N/A# Common Development and Distribution License (the "License").
5260N/A# You may not use this file except in compliance with the License.
5260N/A#
5260N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5260N/A# or http://www.opensolaris.org/os/licensing.
5260N/A# See the License for the specific language governing permissions
5260N/A# and limitations under the License.
5260N/A#
5260N/A# When distributing Covered Code, include this CDDL HEADER in each
5260N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5260N/A# If applicable, add the following below this CDDL HEADER, with the
5260N/A# fields enclosed by brackets "[]" replaced with your own identifying
5260N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5260N/A#
5260N/A# CDDL HEADER END
5260N/A#
5260N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5260N/A#
5260N/A
5260N/ACOMPILER = gcc
5260N/A
5260N/Ainclude ../../make-rules/shared-macros.mk
5260N/A
5260N/ACOMPONENT_NAME= augeas
5260N/ACOMPONENT_VERSION= 1.3.0
5260N/ACOMPONENT_PROJECT_URL= http://www.augeas.net/
5260N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5260N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5260N/ACOMPONENT_ARCHIVE_HASH= \
5260N/A sha256:80763031af76515a8ea66013ddc3c466742a15d2e907c7c8e2e3b7410262e2af
5260N/ACOMPONENT_ARCHIVE_URL= http://download.augeas.net/$(COMPONENT_ARCHIVE)
5260N/ACOMPONENT_BUGDB= utility/augeas
5260N/A
5260N/ATPNO= 21660
5260N/A
5260N/Ainclude $(WS_MAKE_RULES)/prep.mk
5260N/Ainclude $(WS_MAKE_RULES)/configure.mk
5260N/Ainclude $(WS_MAKE_RULES)/ips.mk
5260N/A
5260N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
5260N/A
5260N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
5260N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
5260N/A
5260N/ACONFIGURE_PREFIX = /usr
5260N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5260N/ACONFIGURE_OPTIONS += --disable-dependency-tracking
5260N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5260N/A
5260N/ACOMPONENT_TEST_ARGS = -k
5271N/ACOMPONENT_TEST_TRANSFORMS += \
5271N/A '-n ' \
5271N/A '-e "/passed/p" ' \
5271N/A '-e "/failed/p" ' \
5271N/A '-e "/Checks:/p" ' \
5271N/A '-e "/Total:/p" ' \
5271N/A '-e "/Passed/p" ' \
5271N/A '-e "/Failed/p" ' \
5271N/A '-e "/Failure expected/p" ' \
5271N/A '-e "/SKIP/p" ' \
5271N/A '-e "/PASS/p" ' \
5271N/A '-e "/FAIL/p" '
5260N/A
5260N/A# Fixes coredump in gnulib-test/test-localename test
5260N/ACONFIGURE_OPTIONS += ac_cv_func_newlocale=no
5260N/A
5260N/AASLR_MODE = $(ASLR_ENABLE)
5260N/A
5260N/A# Needed for "gmake test" to work.
5260N/A# SHELLOPTS is exported via make-rules/shared-macros.mk,
5260N/A# causing the braceexpand option to be set.
5260N/A# This option causes "$1: unbound variable" errors during the check-TESTS,
5260N/A# and the gnulib-tests don't even run at all.
5260N/A# Note that the below unexports SHELLOPTS, even for targets
5260N/A# other than "test."
5260N/Aunexport SHELLOPTS
5260N/A
5260N/A# common targets
5260N/Aconfigure: $(CONFIGURE_64)
5260N/A
5260N/Abuild: $(BUILD_64)
5260N/A
5260N/Ainstall: $(INSTALL_64)
5260N/A
5260N/Atest: $(TEST_64)
5260N/A
5260N/AREQUIRED_PACKAGES += system/library
5260N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
5260N/AREQUIRED_PACKAGES += library/libxml2
5260N/AREQUIRED_PACKAGES += library/readline
5260N/AREQUIRED_PACKAGES += library/ncurses