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