Makefile revision 5269
78N/A#
78N/A# CDDL HEADER START
78N/A#
78N/A# The contents of this file are subject to the terms of the
78N/A# Common Development and Distribution License (the "License").
78N/A# You may not use this file except in compliance with the License.
78N/A#
78N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78N/A# or http://www.opensolaris.org/os/licensing.
78N/A# See the License for the specific language governing permissions
78N/A# and limitations under the License.
78N/A#
78N/A# When distributing Covered Code, include this CDDL HEADER in each
78N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
78N/A# If applicable, add the following below this CDDL HEADER, with the
78N/A# fields enclosed by brackets "[]" replaced with your own identifying
78N/A# information: Portions Copyright [yyyy] [name of copyright owner]
78N/A#
78N/A# CDDL HEADER END
78N/A#
6464N/A
78N/A#
78N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
78N/A#
78N/A
6464N/Ainclude ../../make-rules/shared-macros.mk
618N/A
78N/ACOMPONENT_NAME= tcsh
2630N/ACOMPONENT_VERSION= 6.19.00
844N/AIPS_COMPONENT_VERSION= 6.19.0
6464N/ACOMPONENT_PROJECT_URL= http://www.tcsh.org/
78N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1273N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
78N/ACOMPONENT_ARCHIVE_HASH= \
6464N/A sha256:12e271e0b89e4259d9d6e8d525322e77340e7244cfbd199a591e5f8146285c49
3489N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/tcsh/$(COMPONENT_ARCHIVE)
3996N/ACOMPONENT_BUGDB= utility/tcsh
3996N/A
3996N/ATPNO= 24443
78N/A
2630N/Ainclude $(WS_MAKE_RULES)/prep.mk
2630N/Ainclude $(WS_MAKE_RULES)/configure.mk
2630N/Ainclude $(WS_MAKE_RULES)/ips.mk
2630N/A
2630N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
78N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
78N/A
78N/A# force re-runs to be the same
2630N/ACOMPONENT_PRE_TEST_ACTION = \
78N/A ($(RM) $(SOURCE_DIR)/tests/package.m4)
78N/A
78N/A
78N/ACOMPONENT_PREP_ACTION = \
2630N/A (cd $(@D) ; autoconf )
3489N/A
3489N/ALOCALEDIR=$(PROTO_DIR)/$(CONFIGURE_LOCALEDIR)
3489N/A
2630N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
2630N/A
3489N/ACONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
2630N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3489N/A
3489N/ACOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
3489N/ACOMPONENT_SYSTEM_TEST_TARGETS= system-test
2630N/A
2630N/A# Strip compilation lines from test output
2630N/ACOMPONENT_TEST_TRANSFORMS += \
2630N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3489N/A '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
2630N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
2630N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
2630N/A '-e "/^XXX_CC_XXX$$/d" '
3489N/A
3489N/A
3489N/AASLR_MODE = $(ASLR_ENABLE)
3489N/A
78N/A# common targets
2630N/Aconfigure: $(CONFIGURE_64)
2630N/A
78N/Abuild: $(BUILD_64)
2630N/A
2630N/Ainstall: $(INSTALL_64)
2630N/A
2630N/Atest: $(TEST_64)
2630N/A
83N/A# the testsuite needs to be configured first
78N/Asystem-test: configure $(SYSTEM_TEST_64)
3996N/A
6464N/A
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += text/locale
3996N/A