Makefile revision 618
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz# CDDL HEADER START
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# The contents of this file are subject to the terms of the
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# Common Development and Distribution License (the "License").
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# You may not use this file except in compliance with the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# See the License for the specific language governing permissions
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# and limitations under the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# When distributing Covered Code, include this CDDL HEADER in each
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse# If applicable, add the following below this CDDL HEADER, with the
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse# fields enclosed by brackets "[]" replaced with your own identifying
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# information: Portions Copyright [yyyy] [name of copyright owner]
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# CDDL HEADER END
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrseCOMPONENT_PROJECT_URL= http://prdownloads.sourceforge.net/tk/
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrseCOMPONENT_ARCHIVE_HASH= sha1:161a133e0b653d5fdf6fcff47bdbf768d73f3238
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrseCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tcl/files/Tcl/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
58e628af04b08a350299947721453b13e0ddd997jorton#This macro will help to look for the configure
58e628af04b08a350299947721453b13e0ddd997jorton#file at the pointed location
efa08028291cb1021426d24da2768e110fd16299dougmCFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE)
efa08028291cb1021426d24da2768e110fd16299dougmCONFIGURE_OPTIONS.32 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)"
efa08028291cb1021426d24da2768e110fd16299dougmCONFIGURE_OPTIONS.64 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH64)"
efa08028291cb1021426d24da2768e110fd16299dougm# common targets
efa08028291cb1021426d24da2768e110fd16299dougminstall: $(INSTALL_32_and_64) $(PROTOUSRLIBDIR)/tkConfig.sh
efa08028291cb1021426d24da2768e110fd16299dougm sed -f $(COMPONENT_DIR)/files/tksed $(PROTOUSRLIBDIR)/tkConfig.sh > \
bfd35b329124266ebdab96567241bea57f2e8481dougm $(MV) $(PROTOUSRLIBDIR)/tkConfig.sh.new $(PROTOUSRLIBDIR)/tkConfig.sh
53c239bee62c6d55b5ddfba5d99376d4c8de924ejwoolley# special targets due to tcl internals dependencies