Makefile revision 844
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering#
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay Sievers# CDDL HEADER START
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay Sievers#
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering# The contents of this file are subject to the terms of the
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering# Common Development and Distribution License (the "License").
05677bb78079c3fa0283101aac2c07581f4873f1Lennart Poettering# You may not use this file except in compliance with the License.
73090dc815390f4fca4e3ed8a7e1d3806605daaaLennart Poettering#
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# or http://www.opensolaris.org/os/licensing.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# See the License for the specific language governing permissions
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# and limitations under the License.
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering#
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers# If applicable, add the following below this CDDL HEADER, with the
4ce849853c46b1e857df3c6c9e7752159a58ddf1Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
4ce849853c46b1e857df3c6c9e7752159a58ddf1Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
c3090674833c8bd34fbdb0e743f1c47d85dd14fbLennart Poettering#
c3090674833c8bd34fbdb0e743f1c47d85dd14fbLennart Poettering# CDDL HEADER END
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering#
822e5dd1d6a1e9b549234281dc3a746768e7e13dLennart Poettering
95b4be171988fc2ea33377b1b4450e5d410add7bLennart Poettering#
95b4be171988fc2ea33377b1b4450e5d410add7bLennart Poettering# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart Poettering#
2d0b0528ace89d378051c280bf3be367b2a7d2deLennart Poettering
373d8fccc1b3becdd0dbbdf6ade6ffa6530febb4Lennart Poetteringinclude ../../make-rules/shared-macros.mk
373d8fccc1b3becdd0dbbdf6ade6ffa6530febb4Lennart Poettering
499519c6499e92d1953fd79b99a805b9278d5ea1Lennart PoetteringCOMPONENT_NAME= tcsh
499519c6499e92d1953fd79b99a805b9278d5ea1Lennart PoetteringCOMPONENT_VERSION= 6.17.00
499519c6499e92d1953fd79b99a805b9278d5ea1Lennart PoetteringCOMPONENT_PROJECT_URL= http://www.tcsh.org/
499519c6499e92d1953fd79b99a805b9278d5ea1Lennart PoetteringCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart PoetteringCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart PoetteringCOMPONENT_ARCHIVE_HASH= \
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering sha256:575266122bc2bc351c84a7f858020c0e6b6f95a64ad4de3ce95e340f57e4a9a9
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart PoetteringCOMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/tcsh/$(COMPONENT_ARCHIVE)
8403cbbe7beb846be6752e1c50c547769a2878f3Lennart Poettering
2eb8ca3b3ef37c601b3938f2656e379abd5c23d4Lennart Poetteringinclude ../../make-rules/prep.mk
5965984d6b9f7751d6281028142ecf3ca475f156Lennart Poetteringinclude ../../make-rules/configure.mk
5965984d6b9f7751d6281028142ecf3ca475f156Lennart Poetteringinclude ../../make-rules/ips.mk
5965984d6b9f7751d6281028142ecf3ca475f156Lennart Poettering
5965984d6b9f7751d6281028142ecf3ca475f156Lennart PoetteringCOMPONENT_PRE_CONFIGURE_ACTION = \
a624aa9e3d150e7c38f6a3fdf6343a1c3587ed2fLennart Poettering ($(CLONEY) $(SOURCE_DIR) $(@D))
a624aa9e3d150e7c38f6a3fdf6343a1c3587ed2fLennart Poettering
9b4a54740884c60e40a2643b535f197b01038850Lennart PoetteringCOMPONENT_PREP_ACTION = \
9b4a54740884c60e40a2643b535f197b01038850Lennart Poettering (cd $(@D) ; autoconf )
e41814846c19a48f4490169d82e359e005c4db45Lennart Poettering
e41814846c19a48f4490169d82e359e005c4db45Lennart PoetteringCOMPONENT_POST_BUILD_ACTION = \
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering (cd $(@D)/nls ; $(MAKE) all)
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart PoetteringCFLAGS += $(CPP_LARGEFILES)
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart PoetteringLOCALEDIR=$(PROTO_DIR)/$(CONFIGURE_LOCALEDIR)
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart Poettering
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart PoetteringCONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
3040728b6691ea2e9df3a2060e2d49a792bbaedaLennart PoetteringCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
78db35f37172f64bfc62cbb2aa364345b7cff0a3Lennart Poettering
78db35f37172f64bfc62cbb2aa364345b7cff0a3Lennart Poettering# common targets
78db35f37172f64bfc62cbb2aa364345b7cff0a3Lennart Poetteringbuild: $(BUILD_32)
78db35f37172f64bfc62cbb2aa364345b7cff0a3Lennart Poettering
8ed206517c2be381324ac5832bf34cc14024270eLennart Poetteringinstall: $(INSTALL_32)
8ed206517c2be381324ac5832bf34cc14024270eLennart Poettering
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart PoetteringBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
8ed206517c2be381324ac5832bf34cc14024270eLennart Poettering
e6c6e7afffa80ad74efdb1ddfa815294624f1608Lennart Poetteringtest: $(NO_TESTS)
e6c6e7afffa80ad74efdb1ddfa815294624f1608Lennart Poettering
8e6054f732b4bc980d3af3e1386ca94b3a602eb8Lennart Poetteringinclude ../../make-rules/depend.mk
8e6054f732b4bc980d3af3e1386ca94b3a602eb8Lennart Poettering