Makefile revision 2899
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen#
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# CDDL HEADER START
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen#
551b849ce88d596dc52dda2f78229a932b339c78Lubos Kosco# The contents of this file are subject to the terms of the
551b849ce88d596dc52dda2f78229a932b339c78Lubos Kosco# Common Development and Distribution License (the "License").
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# You may not use this file except in compliance with the License.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# or http://www.opensolaris.org/os/licensing.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# See the License for the specific language governing permissions
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# and limitations under the License.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
bcae302a5f4b516d2f3c05f657df054e1a0efde7Knut Anders Hatlen# When distributing Covered Code, include this CDDL HEADER in each
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98774b0b90e4da0f3f2c5e4856bcbbf366ed0fe0Knut Anders Hatlen# If applicable, add the following below this CDDL HEADER, with the
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# CDDL HEADER END
afb218f076cae538126a5f931299a82a114a075aKnut Anders Hatlen#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye#
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeinclude ../../make-rules/shared-macros.mk
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeCOMPONENT_NAME= tcsh
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_VERSION= 6.18.01
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeIPS_COMPONENT_VERSION= 6.18.1
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenCOMPONENT_PROJECT_URL= http://www.tcsh.org/
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoCOMPONENT_ARCHIVE_HASH= \
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco sha256:d81ca27851f3e8545666399b4bcf25433e602a195113b3f7c73886fef84c9fa8
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/tcsh/$(COMPONENT_ARCHIVE)
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_BUGDB= utility/tcsh
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeTPNO= 5688
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berg
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berginclude ../../make-rules/prep.mk
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeinclude ../../make-rules/configure.mk
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeinclude ../../make-rules/ips.mk
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders HatlenCOMPONENT_PRE_CONFIGURE_ACTION = \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye ($(CLONEY) $(SOURCE_DIR) $(@D))
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeCOMPONENT_PREP_ACTION = \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye (cd $(@D) ; autoconf )
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos KoscoLOCALEDIR=$(PROTO_DIR)/$(CONFIGURE_LOCALEDIR)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S BergCONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S Berg
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S BergCONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
ca37bb3c4127b35d333203398bd983ee730d9da5Jan S BergCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond NorbyeASLR_MODE = $(ASLR_ENABLE)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# common targets
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyebuild: $(BUILD_64)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeinstall: $(INSTALL_64)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders HatlenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatlen
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyetest: $(NO_TESTS)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeinclude ../../make-rules/depend.mk
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye