Makefile revision 4660
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# CDDL HEADER START
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# The contents of this file are subject to the terms of the
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# Common Development and Distribution License (the "License").
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# You may not use this file except in compliance with the License.
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# See the License for the specific language governing permissions
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# and limitations under the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# When distributing Covered Code, include this CDDL HEADER in each
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# If applicable, add the following below this CDDL HEADER, with the
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# fields enclosed by brackets "[]" replaced with your own identifying
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# information: Portions Copyright [yyyy] [name of copyright owner]
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# CDDL HEADER END
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsascha# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0d9c389e9c63d02edb068917d49af2fa8012af91marcCOMPONENT_PROJECT_URL= http://prdownloads.sourceforge.net/tk/
a773226ea345018b49d45cf2e076ff2452eead5arbb sha256:c453d820925bf526bbe8a0d1c17ab3168b076fcb9844bea797ad75e3b9ad9291
f9e54e16ac4952a85bb00b8043c1d1e0f495eefbgregamesCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tcl/files/Tcl/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#This macro will help to look for the configure
305a68a1a5db3cc264077d89b3caa6f923257150fielding#file at the pointed location
105475009f541187ba7a14a367547d9404c578befieldingCFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE)
9022fa73d4ac101553e7c36a1457ead52a73333borlikowskiCONFIGURE_OPTIONS.32 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)"
38d37e90b45f2a735e7aecf702c76159e0b9f58ftrawickCONFIGURE_OPTIONS.64 += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH64)"
105475009f541187ba7a14a367547d9404c578befielding# common targets
105475009f541187ba7a14a367547d9404c578befieldinginstall: $(INSTALL_32_and_64) $(PROTOUSRLIBDIR)/tkConfig.sh
105475009f541187ba7a14a367547d9404c578befielding sed -f $(COMPONENT_DIR)/files/tksed $(PROTOUSRLIBDIR)/tkConfig.sh > \
105475009f541187ba7a14a367547d9404c578befielding $(MV) $(PROTOUSRLIBDIR)/tkConfig.sh.new $(PROTOUSRLIBDIR)/tkConfig.sh
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# special targets due to tcl internals dependencies