Makefile revision 99
94N/A#
94N/A# CDDL HEADER START
94N/A#
94N/A# The contents of this file are subject to the terms of the
94N/A# Common Development and Distribution License (the "License").
94N/A# You may not use this file except in compliance with the License.
94N/A#
94N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94N/A# or http://www.opensolaris.org/os/licensing.
94N/A# See the License for the specific language governing permissions
94N/A# and limitations under the License.
94N/A#
94N/A# When distributing Covered Code, include this CDDL HEADER in each
94N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
94N/A# If applicable, add the following below this CDDL HEADER, with the
94N/A# fields enclosed by brackets "[]" replaced with your own identifying
94N/A# information: Portions Copyright [yyyy] [name of copyright owner]
94N/A#
94N/A# CDDL HEADER END
94N/A#
94N/A
94N/A#
94N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
94N/A#
94N/A
94N/Ainclude ../../make-rules/shared-macros.mk
94N/A
94N/ACOMPONENT_NAME= tcsh
94N/ACOMPONENT_VERSION= 6.17.00
94N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
94N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
94N/ACOMPONENT_ARCHIVE_HASH= sha1:9bf67d5ce1b406178e9ba535ecd34553fe0d4d36
94N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/tcsh/$(COMPONENT_ARCHIVE)
94N/A
94N/Ainclude ../../make-rules/prep.mk
94N/Ainclude ../../make-rules/configure.mk
94N/Ainclude ../../make-rules/ips.mk
94N/A
94N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
94N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
94N/A
94N/ACOMPONENT_PREP_ACTION = \
94N/A (cd $(@D) ; autoconf )
94N/A
94N/ACOMPONENT_POST_BUILD_ACTION = \
94N/A (cd $(@D)/nls ; $(MAKE) all)
94N/A
99N/ACFLAGS += $(CPP_LARGEFILES)
94N/A
94N/ALOCALEDIR=$(PROTO_DIR)/$(CONFIGURE_LOCALEDIR)
94N/A
94N/ACONFIGURE_OPTIONS += --localedir=$(CONFIGURE_LOCALEDIR)
94N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
94N/A
94N/AMAN1FILES= tcsh.1
94N/A
94N/Ainclude ../../make-rules/shared-targets.mk
94N/A
94N/A# common targets
94N/Abuild: $(BUILD_32)
94N/A
94N/Ainstall: $(INSTALL_32) install-locales $(PROTOMAN1FILES)
94N/A
94N/A# we don't agree on locale names
94N/Ainstall-locales:
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/et.cat $(LOCALEDIR)/et/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/finnish.cat $(LOCALEDIR)/fi/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/french.cat $(LOCALEDIR)/fr/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/german.cat $(LOCALEDIR)/de/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/greek.cat $(LOCALEDIR)/el/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/italian.cat $(LOCALEDIR)/it/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/ja.cat $(LOCALEDIR)/ja/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/pl.cat $(LOCALEDIR)/pl/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/russian.cat $(LOCALEDIR)/ru/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/spanish.cat $(LOCALEDIR)/es/LC_MESSAGES/tcsh.cat
94N/A $(INSTALL) -D $(BUILD_DIR_32)/nls/ukrainian.cat $(LOCALEDIR)/uk/LC_MESSAGES/tcsh.cat
94N/A
94N/A
94N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
94N/A
94N/A# they don't seem quite doable for us
94N/Atest:
94N/A @echo "no tests available"
94N/A
94N/Ainclude ../../make-rules/depend.mk