Makefile revision 94
48c0c81cd6fabac9d3386406d97633780365b839coar#
f49387f556886ad6a6b4efc724ed9aa1d3412228jerenkrantz# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
71ffc89cc2529041f7c2d60fcfd2b2324264708ajerenkrantz# You may not use this file except in compliance with the License.
2cc7cdffce670f2ae1bd4ae502b2c19481487dbejerenkrantz#
d89c116f82699294ca744125723651c554bc5925wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# or http://www.opensolaris.org/os/licensing.
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# See the License for the specific language governing permissions
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# and limitations under the License.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz#
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# If applicable, add the following below this CDDL HEADER, with the
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# fields enclosed by brackets "[]" replaced with your own identifying
571760de5e60c0b459cb11be45507b923cd023eejwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
9180a5933673ffb1af633c255ceee029340f3b1erbb# CDDL HEADER END
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb#
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbbinclude ../../make-rules/shared-macros.mk
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
35330e0d79ceb8027223bbb8330a381b1f989d6etrawickCOMPONENT_NAME= tcsh
6f6f4a4bca281779d196acbdd5c017bb90858305trawickCOMPONENT_VERSION= 6.17.00
8dd4618c4709236b4ea297d7250d282e463ce2d8rbbCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbbCOMPONENT_ARCHIVE_HASH= sha1:9bf67d5ce1b406178e9ba535ecd34553fe0d4d36
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbCOMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/tcsh/$(COMPONENT_ARCHIVE)
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojinclude ../../make-rules/prep.mk
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/configure.mk
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/ips.mk
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_PRE_CONFIGURE_ACTION = \
af4c982a7cf4515f124935f99a329744035fc699slive ($(CLONEY) $(SOURCE_DIR) $(@D))
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_PREP_ACTION = \
10270f6f94b2069d0d357805c140a9897449b9ccianh (cd $(@D) ; autoconf )
4b62424416882687387923b3130b96241503cbe0jerenkrantz
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzCOMPONENT_POST_BUILD_ACTION = \
2cc7cdffce670f2ae1bd4ae502b2c19481487dbejerenkrantz (cd $(@D)/nls ; $(MAKE) all)
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz
4b62424416882687387923b3130b96241503cbe0jerenkrantzCFLAGS += -D_FILE_OFFSET_BITS=64
4b62424416882687387923b3130b96241503cbe0jerenkrantz
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wroweLOCALEDIR=$(PROTO_DIR)/$(CONFIGURE_LOCALEDIR)
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wroweCONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wroweCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wroweMAN1FILES= tcsh.1
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaroninclude ../../make-rules/shared-targets.mk
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe# common targets
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowebuild: $(BUILD_32)
a3e47dea8b25d4d8fa6358e530d2cb6b83ed79d7wrowe
7fe18c15b669db9d191859695901dc4fcf3829dawroweinstall: $(INSTALL_32) install-locales $(PROTOMAN1FILES)
7fe18c15b669db9d191859695901dc4fcf3829dawrowe
7fe18c15b669db9d191859695901dc4fcf3829dawrowe# we don't agree on locale names
b84f66c93f820824b1d5455181f55598b766319cwroweinstall-locales:
7fe18c15b669db9d191859695901dc4fcf3829dawrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/et.cat $(LOCALEDIR)/et/LC_MESSAGES/tcsh.cat
976501adbc040220270f7d1d77c4b8373033be69wrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/finnish.cat $(LOCALEDIR)/fi/LC_MESSAGES/tcsh.cat
976501adbc040220270f7d1d77c4b8373033be69wrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/french.cat $(LOCALEDIR)/fr/LC_MESSAGES/tcsh.cat
976501adbc040220270f7d1d77c4b8373033be69wrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/german.cat $(LOCALEDIR)/de/LC_MESSAGES/tcsh.cat
976501adbc040220270f7d1d77c4b8373033be69wrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/greek.cat $(LOCALEDIR)/el/LC_MESSAGES/tcsh.cat
976501adbc040220270f7d1d77c4b8373033be69wrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/italian.cat $(LOCALEDIR)/it/LC_MESSAGES/tcsh.cat
b84f66c93f820824b1d5455181f55598b766319cwrowe $(INSTALL) -D $(BUILD_DIR_32)/nls/ja.cat $(LOCALEDIR)/ja/LC_MESSAGES/tcsh.cat
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz $(INSTALL) -D $(BUILD_DIR_32)/nls/pl.cat $(LOCALEDIR)/pl/LC_MESSAGES/tcsh.cat
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz $(INSTALL) -D $(BUILD_DIR_32)/nls/russian.cat $(LOCALEDIR)/ru/LC_MESSAGES/tcsh.cat
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz $(INSTALL) -D $(BUILD_DIR_32)/nls/spanish.cat $(LOCALEDIR)/es/LC_MESSAGES/tcsh.cat
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz $(INSTALL) -D $(BUILD_DIR_32)/nls/ukrainian.cat $(LOCALEDIR)/uk/LC_MESSAGES/tcsh.cat
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz
5fc3b690570b987c0040f28743b9e4d24a6dbda4jerenkrantz
e96626975ebc300abc02202f98296f2774e04367brianpBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e96626975ebc300abc02202f98296f2774e04367brianp
e96626975ebc300abc02202f98296f2774e04367brianp# they don't seem quite doable for us
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantztest:
05a3b3a26e0a99e898c7eaa8f1a867a7581204datrawick @echo "no tests available"
05a3b3a26e0a99e898c7eaa8f1a867a7581204datrawick
7f4032179fad13f734f755824873f3b31c653933jerenkrantzinclude ../../make-rules/depend.mk
05a3b3a26e0a99e898c7eaa8f1a867a7581204datrawick