Makefile revision 5680
297be3708069ef31814d6d75c0d71a50a78feb03Mark Andrews# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
d01e14dc0bfc700a8d72e9676fc8aa66c237151fAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_PROJECT_URL= http://prdownloads.sourceforge.net/tk/
71c66a876ecca77923638d3f94cc0783152b2f03Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sha256:c453d820925bf526bbe8a0d1c17ab3168b076fcb9844bea797ad75e3b9ad9291
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tcl/files/Tcl/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCFLAGS.studio += -xstrconst $(XPG6MODE) $(studio_C99_ENABLE)
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic UpdaterCONFIGURE_OPTIONS += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "s|^.*tcl/build/$(MACH$(BITS)).*$$|XXX_CC_XXX|g"' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein '-e "s|^cc: Warning: -xarch=v9 is deprecated.*$$|XXX_CC_XXX|g"' \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "s|^cc: Warning: illegal use of -x.* option, .*$$|XXX_CC_XXX|g"' \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "/^XXX_CC_XXX$$/d"' \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "/^Tests began at .*$$/d"' \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater '-e "/^Tests ended at .*$$/d"'
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater sed -f $(COMPONENT_DIR)/files/tksed.$(BITS) \
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater $(PROTO_DIR)$(USRLIB.$(BITS))/tkConfig.sh.new; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(MV) $(PROTO_DIR)$(USRLIB.$(BITS))/tkConfig.sh.new \
98b5a9d1099f72169c90de39712fc4f63e9d990eAutomatic Updater $(CHMOD) 555 $(PROTO_DIR)$(USRLIB.$(BITS))/tkConfig.sh
c6d486af36165da7eb970354981d145249e342e4Mark Andrews# special targets due to tcl internals dependencies
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater$(CONFIGURE_32): ../tcl/build/$(MACH32)/.built