Makefile revision 225
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# CDDL HEADER START
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# The contents of this file are subject to the terms of the
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# Common Development and Distribution License (the "License").
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# You may not use this file except in compliance with the License.
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# See the License for the specific language governing permissions
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# and limitations under the License.
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# When distributing Covered Code, include this CDDL HEADER in each
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# If applicable, add the following below this CDDL HEADER, with the
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# fields enclosed by brackets "[]" replaced with your own identifying
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# information: Portions Copyright [yyyy] [name of copyright owner]
bdbfb1bdb002684cc55dabb341ab4445575a26dfGarrett D'Amore# CDDL HEADER END
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'Amore# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'AmoreCOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'AmoreCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCOMPONENT_ARCHIVE_HASH= sha1:161a133e0b653d5fdf6fcff47bdbf768d73f3238
44bc9120699af80bb18366ca474cb2c618608ca9Richard YaoCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tcl/files/Tcl/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash#This macro will help to look for the configure
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash#file at the pointed location
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE)
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCONFIGURE_OPTIONS.32 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)"
4890a7493fa5781f7cd15fa207cbcb58cc418882Will FiveashCONFIGURE_OPTIONS.64 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH64)"
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# common targets
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveashinstall: $(INSTALL_32_and_64) $(PROTOUSRLIBDIR)/tkConfig.sh
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash sed -f $(COMPONENT_DIR)/files/tksed $(PROTOUSRLIBDIR)/tkConfig.sh > \
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash $(MV) $(PROTOUSRLIBDIR)/tkConfig.sh.new $(PROTOUSRLIBDIR)/tkConfig.sh
4890a7493fa5781f7cd15fa207cbcb58cc418882Will Fiveash# special targets due to tcl internals dependencies