📄 makefile.in
字号:
tkTrig.o: $(GENERIC_DIR)/tkTrig.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTrig.ctkImage.o: $(GENERIC_DIR)/tkImage.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkImage.ctkImgBmap.o: $(GENERIC_DIR)/tkImgBmap.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkImgBmap.ctkImgGIF.o: $(GENERIC_DIR)/tkImgGIF.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkImgGIF.ctkImgPPM.o: $(GENERIC_DIR)/tkImgPPM.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkImgPPM.ctkImgPhoto.o: $(GENERIC_DIR)/tkImgPhoto.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkImgPhoto.ctkTest.o: $(GENERIC_DIR)/tkTest.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTest.ctkText.o: $(GENERIC_DIR)/tkText.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkText.ctkTextBTree.o: $(GENERIC_DIR)/tkTextBTree.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextBTree.ctkTextDisp.o: $(GENERIC_DIR)/tkTextDisp.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextDisp.ctkTextImage.o: $(GENERIC_DIR)/tkTextImage.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextImage.ctkTextIndex.o: $(GENERIC_DIR)/tkTextIndex.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextIndex.ctkTextMark.o: $(GENERIC_DIR)/tkTextMark.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextMark.ctkTextTag.o: $(GENERIC_DIR)/tkTextTag.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextTag.ctkTextWind.o: $(GENERIC_DIR)/tkTextWind.c $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkTextWind.ctkUnix.o: $(UNIX_DIR)/tkUnix.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnix.ctkUnix3d.o: $(UNIX_DIR)/tkUnix3d.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnix3d.ctkUnixButton.o: $(UNIX_DIR)/tkUnixButton.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixButton.ctkUnixColor.o: $(UNIX_DIR)/tkUnixColor.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixColor.ctkUnixCursor.o: $(UNIX_DIR)/tkUnixCursor.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixCursor.ctkUnixDialog.o: $(UNIX_DIR)/tkUnixDialog.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixDialog.ctkUnixDraw.o: $(UNIX_DIR)/tkUnixDraw.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixDraw.ctkUnixEmbed.o: $(UNIX_DIR)/tkUnixEmbed.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixEmbed.ctkUnixEvent.o: $(UNIX_DIR)/tkUnixEvent.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixEvent.ctkUnixFocus.o: $(UNIX_DIR)/tkUnixFocus.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixFocus.ctkUnixFont.o: $(UNIX_DIR)/tkUnixFont.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixFont.ctkUnixInit.o: $(UNIX_DIR)/tkUnixInit.c $(GENERIC_DIR)/tkInitScript.h tkConfig.sh $(CC) -c $(CC_SWITCHES) -DTK_LIBRARY=\"${TK_LIBRARY}\" \ $(UNIX_DIR)/tkUnixInit.ctkUnixMenu.o: $(UNIX_DIR)/tkUnixMenu.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixMenu.ctkUnixMenubu.o: $(UNIX_DIR)/tkUnixMenubu.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixMenubu.ctkUnixScale.o: $(UNIX_DIR)/tkUnixScale.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixScale.ctkUnixScrlbr.o: $(UNIX_DIR)/tkUnixScrlbr.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixScrlbr.ctkUnixSelect.o: $(UNIX_DIR)/tkUnixSelect.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixSelect.ctkUnixSend.o: $(UNIX_DIR)/tkUnixSend.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixSend.ctkUnixWm.o: $(UNIX_DIR)/tkUnixWm.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixWm.ctkUnixXId.o: $(UNIX_DIR)/tkUnixXId.c $(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tkUnixXId.c.c.o: $(CC) -c $(CC_SWITCHES) $<## Target to check for proper usage of UCHAR macro.#checkuchar: -egrep isalnum\|isalpha\|iscntrl\|isdigit\|islower\|isprint\|ispunct\|isspace\|isupper\|isxdigit\|toupper\|tolower $(SRCS) | grep -v UCHAR## Target to make sure that only symbols with "Tk" prefixes are# exported.#checkexports: $(TK_LIB_FILE) -nm -p $(TK_LIB_FILE) | awk '$$2 ~ /[TDB]/ { print $$3 }' | sort -n | grep -v '^[Tt]k'## Target to create a proper Tk distribution from information in the# master source directory. DISTDIR must be defined to indicate where# to put the distribution. DISTDIR must be an absolute path name.#DISTROOT = /tmp/distDISTNAME = tk@TK_VERSION@@TK_PATCH_LEVEL@ZIPNAME = tk@TK_MAJOR_VERSION@@TK_MINOR_VERSION@@TK_PATCH_LEVEL@.zipDISTDIR = $(DISTROOT)/$(DISTNAME)TCLDIR = @TCL_SRC_DIR@$(UNIX_DIR)/configure: $(UNIX_DIR)/configure.in autoconf $(UNIX_DIR)/configure.in > $(UNIX_DIR)/configuredist: $(UNIX_DIR)/configure rm -rf $(DISTDIR) mkdir $(DISTDIR) mkdir $(DISTDIR)/unix cp -p $(UNIX_DIR)/*.c $(UNIX_DIR)/*.h $(DISTDIR)/unix cp $(TOP_DIR)/license.terms $(UNIX_DIR)/Makefile.in $(DISTDIR)/unix chmod 664 $(DISTDIR)/unix/Makefile.in cp $(UNIX_DIR)/configure $(UNIX_DIR)/configure.in \ $(UNIX_DIR)/tkConfig.sh.in $(TCLDIR)/unix/install-sh \ $(UNIX_DIR)/porting.notes $(UNIX_DIR)/porting.old \ $(UNIX_DIR)/README $(DISTDIR)/unix chmod 775 $(DISTDIR)/unix/configure $(DISTDIR)/unix/configure.in chmod +x $(DISTDIR)/unix/install-sh tclsh $(TCLDIR)/unix/mkLinks.tcl $(TOP_DIR)/doc/*.[13n] \ > $(DISTDIR)/unix/mkLinks chmod +x $(DISTDIR)/unix/mkLinks mkdir $(DISTDIR)/bitmaps @(cd $(TOP_DIR); for i in bitmaps/* ; do \ if [ -f $$i ] ; then \ sed -e 's/static char/static unsigned char/' \ $$i > $(DISTDIR)/$$i; \ fi; \ done;) mkdir $(DISTDIR)/generic cp -p $(GENERIC_DIR)/*.c $(GENERIC_DIR)/*.h $(DISTDIR)/generic cp -p $(GENERIC_DIR)/README $(DISTDIR)/generic cp -p $(TOP_DIR)/changes $(TOP_DIR)/README $(TOP_DIR)/license.terms \ $(DISTDIR) rm -f $(DISTDIR)/generic/blt*.[ch] mkdir $(DISTDIR)/win cp -p $(TOP_DIR)/win/*.c $(TOP_DIR)/win/*.h $(DISTDIR)/win cp -p $(TOP_DIR)/win/*.bat $(DISTDIR)/win cp -p $(TOP_DIR)/win/makefile.* $(DISTDIR)/win cp -p $(TOP_DIR)/win/README $(DISTDIR)/win cp -p $(TOP_DIR)/license.terms $(DISTDIR)/win mkdir $(DISTDIR)/win/rc cp -p $(TOP_DIR)/win/rc/*.rc $(TOP_DIR)/win/rc/*.cur \ $(TOP_DIR)/win/rc/*.ico $(TOP_DIR)/win/rc/*.bmp \ $(DISTDIR)/win/rc mkdir $(DISTDIR)/mac sccs edit -s $(TOP_DIR)/mac/tkMacProjects.sea.hqx cp -p tkMacProjects.sea.hqx $(DISTDIR)/mac sccs unedit $(TOP_DIR)/mac/tkMacProjects.sea.hqx rm -f tkMacProjects.sea.hqx cp -p $(TOP_DIR)/mac/*.c $(TOP_DIR)/mac/*.h $(TOP_DIR)/mac/*.r \ $(DISTDIR)/mac cp -p $(TOP_DIR)/mac/README $(DISTDIR)/mac cp -p $(TOP_DIR)/license.terms $(DISTDIR)/mac cp -p $(TOP_DIR)/mac/*.pch $(DISTDIR)/mac cp -p $(TOP_DIR)/mac/*.doc $(DISTDIR)/mac cp -p $(TOP_DIR)/mac/*.exp $(DISTDIR)/mac cp -p $(TOP_DIR)/mac/*.tcl $(DISTDIR)/mac mkdir $(DISTDIR)/compat cp -p $(TOP_DIR)/license.terms $(TCLDIR)/compat/unistd.h \ $(TCLDIR)/compat/stdlib.h $(TCLDIR)/compat/limits.h \ $(DISTDIR)/compat mkdir $(DISTDIR)/xlib cp -p $(TOP_DIR)/xlib/*.h $(TOP_DIR)/xlib/*.c $(DISTDIR)/xlib cp -p $(TOP_DIR)/license.terms $(DISTDIR)/xlib mkdir $(DISTDIR)/xlib/X11 cp -p $(TOP_DIR)/xlib/X11/*.h $(DISTDIR)/xlib/X11 cp -p $(TOP_DIR)/license.terms $(DISTDIR)/xlib/X11 mkdir $(DISTDIR)/library cp -p $(TOP_DIR)/license.terms $(TOP_DIR)/library/*.tcl \ $(TOP_DIR)/library/tclIndex $(TOP_DIR)/library/prolog.ps \ $(DISTDIR)/library mkdir $(DISTDIR)/library/images @(cd $(TOP_DIR); for i in library/images/* ; do \ if [ -f $$i ] ; then \ cp $$i $(DISTDIR)/$$i; \ fi; \ done;) mkdir $(DISTDIR)/library/demos cp -pr $(TOP_DIR)/library/demos/*.tcl \ $(TOP_DIR)/library/demos/tclIndex \ $(TOP_DIR)/library/demos/browse \ $(TOP_DIR)/library/demos/hello $(TOP_DIR)/library/demos/ixset \ $(TOP_DIR)/library/demos/rmt $(TOP_DIR)/library/demos/rolodex \ $(TOP_DIR)/library/demos/square \ $(TOP_DIR)/library/demos/tcolor \ $(TOP_DIR)/library/demos/timer \ $(TOP_DIR)/library/demos/widget \ $(TOP_DIR)/library/demos/README \ $(TOP_DIR)/license.terms $(DISTDIR)/library/demos mkdir $(DISTDIR)/library/demos/images @(cd $(TOP_DIR); for i in library/demos/images/* ; do \ if [ -f $$i ] ; then \ cp $$i $(DISTDIR)/$$i; \ fi; \ done;) mkdir $(DISTDIR)/doc cp -p $(TOP_DIR)/license.terms $(TOP_DIR)/doc/*.[13n] \ $(TCLDIR)/doc/man.macros $(DISTDIR)/doc mkdir $(DISTDIR)/tests cp -p $(TOP_DIR)/license.terms $(TOP_DIR)/tests/*.test \ $(TOP_DIR)/tests/visual $(TOP_DIR)/tests/*.tcl \ $(TOP_DIR)/tests/README $(TOP_DIR)/tests/all \ $(TOP_DIR)/tests/defs $(TOP_DIR)/tests/option.file* \ $(DISTDIR)/tests## The following target can only be used for non-patch releases. Use# the "allpatch" target below for patch releases.#alldist: dist rm -f $(DISTROOT)/$(DISTNAME).tar.Z \ $(DISTROOT)/$(DISTNAME).tar.gz \ $(DISTROOT)/$(ZIPNAME) cd $(DISTROOT); tar cf $(DISTNAME).tar $(DISTNAME); \ gzip -9 -c $(DISTNAME).tar > $(DISTNAME).tar.gz; \ compress $(DISTNAME).tar; zip -r8 $(ZIPNAME) $(DISTNAME)## The target below is similar to "alldist" except it works for patch# releases. It is needed because patch releases are peculiar: the# patch designation appears in the name of the compressed file# (e.g. tcl8.0p1.tar.gz) but the extracted source directory doesn't# include the patch designation (e.g. tcl8.0).#allpatch: dist rm -f $(DISTROOT)/$(DISTNAME).tar.Z \ $(DISTROOT)/$(DISTNAME).tar.gz \ $(DISTROOT)/$(ZIPNAME) mv $(DISTROOT)/tk${VERSION} $(DISTROOT)/old mv $(DISTROOT)/$(DISTNAME) $(DISTROOT)/tk${VERSION} cd $(DISTROOT); tar cf $(DISTNAME).tar tk${VERSION}; \ gzip -9 -c $(DISTNAME).tar > $(DISTNAME).tar.gz; \ compress $(DISTNAME).tar; zip -r8 $(ZIPNAME) tk${VERSION} mv $(DISTROOT)/tk${VERSION} $(DISTROOT)/$(DISTNAME) mv $(DISTROOT)/old $(DISTROOT)/tk${VERSION}## Target to create a Macintosh version of the distribution. This will# do a normal distribution and then massage the output to prepare it# for moving to the Mac platform. This requires a few scripts and# programs found only in the Tcl greoup's tool workspace.#macdist: dist rm -f $(DISTDIR)/mac/tkMacProjects.sea.hqx tclsh $(TOOL_DIR)/man2html.tcl $(DISTDIR)/tmp ../.. tk$(VERSION) mv $(DISTDIR)/tmp/tk$(VERSION) $(DISTDIR)/html rm -rf $(DISTDIR)/doc rm -rf $(DISTDIR)/tmp tclsh $(TOOL_DIR)/cvtEOL.tcl $(DISTDIR)## Targets to build Solaris package of the distribution for the current# architecture. To build stream packages for both sun4 and i86pc# architectures: ## On the sun4 machine, execute the following:# make distclean; ./configure# make DISTDIR=<distdir> package## Once the build is complete, execute the following on the i86pc# machine:# make DISTDIR=<distdir> package-quick## <distdir> is the absolute path to a directory where the build should# take place. These steps will generate the $(PACKAGE).sun4 and# $(PACKAGE).i86pc stream packages. It is important that the packages be# built in this fashion in order to ensure that the architecture# independent files are exactly the same, including timestamps, in# both packages.#PACKAGE=SCRPtkpackage: dist package-config package-common package-binaries package-generatepackage-quick: package-config package-binaries package-generate## Configure for the current architecture in the dist directory.#package-config: mkdir -p $(DISTDIR)/unix/`arch` cd $(DISTDIR)/unix/`arch`; \ ../configure --prefix=/opt/SUNWtcl/$(TCLVERSION) \ --exec_prefix=/opt/SUNWtcl/$(TCLVERSION)/`arch` \ --with-tcl=$(DISTDIR)/../tcl$(TCLVERSION)/unix/`arch` \ --enable-shared mkdir -p $(DISTDIR)/SUNWtcl/$(TCLVERSION) mkdir -p $(DISTDIR)/SUNWtcl/$(TCLVERSION)/`arch`## Build and install the architecture independent files in the dist directory.#package-common: cd $(DISTDIR)/unix/`arch`;\ $(MAKE); \ $(MAKE) install-libraries install-man \ prefix=$(DISTDIR)/SUNWtcl/$(TCLVERSION) \ exec_prefix=$(DISTDIR)/SUNWtcl/$(TCLVERSION)/`arch` mkdir -p $(DISTDIR)/SUNWtcl/$(TCLVERSION)/bin sed -e "s/TCLVERSION/$(TCLVERSION)/g" \ -e "s/TKVERSION/$(VERSION)/g" < $(UNIX_DIR)/wish.sh \ > $(DISTDIR)/SUNWtcl/$(TCLVERSION)/bin/wish$(VERSION) chmod 755 $(DISTDIR)/SUNWtcl/$(TCLVERSION)/bin/wish$(VERSION)## Build and install the architecture specific files in the dist directory.#package-binaries: cd $(DISTDIR)/unix/`arch`; \ $(MAKE); \ $(MAKE) install-binaries prefix=$(DISTDIR)/SUNWtcl/$(TCLVERSION) \ exec_prefix=$(DISTDIR)/SUNWtcl/$(TCLVERSION)/`arch`## Generate a package from the installed files in the dist directory for the# current architecture.#package-generate: pkgproto $(DISTDIR)/SUNWtcl/$(TCLVERSION)/bin=bin \ $(DISTDIR)/SUNWtcl/$(TCLVERSION)/include=include \ $(DISTDIR)/SUNWtcl/$(TCLVERSION)/lib=lib \ $(DISTDIR)/SUNWtcl/$(TCLVERSION)/man=man \ $(DISTDIR)/SUNWtcl/$(TCLVERSION)/`arch`=`arch` \ | tclsh $(TCLDIR)/unix/mkProto.tcl $(TCLVERSION) \ $(UNIX_DIR) > prototype pkgmk -o -d . -f prototype -a `arch` pkgtrans -s . $(PACKAGE).`arch` $(PACKAGE) rm -rf $(PACKAGE)# DO NOT DELETE THIS LINE -- make depend depends on it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -