📄 makefile.in
字号:
## This file is a Makefile for Tk. If it has the name "Makefile.in"# then it is a template for a Makefile; to generate the actual Makefile,# run "./configure", which is a configuration script generated by the# "autoconf" program (constructs like "@foo@" will get replaced in the# actual Makefile.## SCCS: @(#) Makefile.in 1.146 97/11/05 11:10:45# Current Tk version; used in various names.TCLVERSION = @TCL_VERSION@VERSION = @TK_VERSION@#----------------------------------------------------------------# Things you can change to personalize the Makefile for your own# site (you can make these changes in either Makefile.in or# Makefile, but changes to Makefile will get lost if you re-run# the configuration script).#----------------------------------------------------------------# Default top-level directories in which to install architecture-# specific files (exec_prefix) and machine-independent files such# as scripts (prefix). The values specified here may be overridden# at configure-time with the --exec-prefix and --prefix options# to the "configure" script.prefix = @prefix@exec_prefix = @exec_prefix@# The following definition can be set to non-null for special systems# like AFS with replication. It allows the pathnames used for installation# to be different than those used for actually reference files at# run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix# when installing files.INSTALL_ROOT =# Directory from which applications will reference the library of Tcl# scripts (note: you can set the TK_LIBRARY environment variable at# run-time to override the compiled-in location):TK_LIBRARY = $(prefix)/lib/tk$(VERSION)# Path name to use when installing library scripts:SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY)# Directory in which to install the .a or .so binary for the Tk library:LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib# Path to use at runtime to refer to LIB_INSTALL_DIR:LIB_RUNTIME_DIR = $(exec_prefix)/lib# Directory in which to install the program wish:BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin# Directory from which the program wish should be referenced by scripts:BIN_DIR = $(exec_prefix)/bin# Directory in which to install the include file tk.h:INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include# Top-level directory for manual entries:MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man# Directory in which to install manual entry for wish:MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1# Directory in which to install manual entries for Tk's C library# procedures:MAN3_INSTALL_DIR = $(MAN_INSTALL_DIR)/man3# Directory in which to install manual entries for the built-in# Tcl commands implemented by Tk:MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann# The directory containing the Tcl sources and headers appropriate# for this version of Tk ("srcdir" will be replaced or has already# been replaced by the configure script):TCL_GENERIC_DIR = @TCL_SRC_DIR@/generic# The directory containing the Tcl library archive file appropriate# for this version of Tk:TCL_BIN_DIR = @TCL_BIN_DIR@# Libraries built with optimization switches have this additional extensionTK_DBGX = @TK_DBGX@TCL_DBGX = @TCL_DBGX@# warning flagsCFLAGS_WARNING = @CFLAGS_WARNING@# The default switches for optimization or debuggingCFLAGS_DEBUG = @CFLAGS_DEBUG@CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@# To change the compiler switches, for example to change from optimization to# debugging symbols, change the following line:#CFLAGS = $(CFLAGS_DEBUG)#CFLAGS = $(CFLAGS_OPTIMIZE)#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)CFLAGS = $(@CFLAGS_DEFAULT@)# A "-I" switch that can be used when compiling to make all of the# X11 include files accessible (the configure script will try to# set this value, and will cause it to be an empty string if the# include files are accessible via /usr/include).X11_INCLUDES = @XINCLUDES@# Linker switch(es) to use to link with the X11 library archive (the# configure script will try to set this value automatically, but you# can override it).X11_LIB_SWITCHES = @XLIBSW@# Libraries to use when linking. This definition is determined by the# configure script.LIBS = @TCL_BUILD_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc# To turn off the security checks that disallow incoming sends when# the X server appears to be insecure, reverse the comments on the# following lines:SECURITY_FLAGS =#SECURITY_FLAGS = -DTK_NO_SECURITY# To disable ANSI-C procedure prototypes reverse the comment characters# on the following lines:PROTO_FLAGS =#PROTO_FLAGS = -DNO_PROTOTYPE# To enable memory debugging reverse the comment characters on the following# lines. Warning: if you enable memory debugging, you must do it# *everywhere*, including all the code that calls Tcl, and you must use# ckalloc and ckfree everywhere instead of malloc and free.MEM_DEBUG_FLAGS =#MEM_DEBUG_FLAGS = -DTCL_MEM_DEBUG# If your X server is X11R4 or earlier, then you may wish to reverse# the comment characters on the following two lines. This will enable# extra code to speed up XStringToKeysym. In X11R5 and later releases# XStringToKeysym is plenty fast, so you needn't define REDO_KEYSYM_LOOKUP.KEYSYM_FLAGS =#KEYSYM_FLAGS = -DREDO_KEYSYM_LOOKUP# Some versions of make, like SGI's, use the following variable to# determine which shell to use for executing commands:SHELL = /bin/sh# Tk used to let the configure script choose which program to use# for installing, but there are just too many different versions of# "install" around; better to use the install-sh script that comes# with the distribution, which is slower but guaranteed to work.INSTALL = @srcdir@/install-sh -cINSTALL_PROGRAM = ${INSTALL}INSTALL_DATA = ${INSTALL} -m 644# The symbols below provide support for dynamic loading and shared# libraries. The values of the symbols are normally set by the# configure script. You shouldn't normally need to modify any of# these definitions by hand.TK_SHLIB_CFLAGS = @TK_SHLIB_CFLAGS@TK_LIB_FILE = @TK_LIB_FILE@#TK_LIB_FILE = libtk.aTK_LIB_FLAG = @TK_LIB_FLAG@#TK_LIB_FLAG = -ltkTCL_LIB_FLAG = @TCL_LIB_FLAG@#TCL_LIB_FLAG = -ltcl# The symbol below provides support for dynamic loading and shared# libraries. See configure.in for a description of what it means.# The values of the symbolis normally set by the configure script.SHLIB_LD = @SHLIB_LD@# Additional search flags needed to find the various shared libraries# at run-time. The first symbol is for use when creating a binary# with cc, and the second is for use when running ld directly.TK_CC_SEARCH_FLAGS = @TK_CC_SEARCH_FLAGS@TK_LD_SEARCH_FLAGS = @TK_LD_SEARCH_FLAGS@#----------------------------------------------------------------# The information below is modified by the configure script when# Makefile is generated from Makefile.in. You shouldn't normally# modify any of this stuff by hand.#----------------------------------------------------------------AC_FLAGS = @DEFS@RANLIB = @RANLIB@SRC_DIR = @srcdir@/..TOP_DIR = @srcdir@/..GENERIC_DIR = $(TOP_DIR)/genericUNIX_DIR = @srcdir@BMAP_DIR = $(TOP_DIR)/bitmapsTOOL_DIR = @TCL_SRC_DIR@/tools#----------------------------------------------------------------# The information below should be usable as is. The configure# script won't modify it and you shouldn't need to modify it# either.#----------------------------------------------------------------CC = @CC@CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TK_SHLIB_CFLAGS} \-I${UNIX_DIR} -I${GENERIC_DIR} \-I${BMAP_DIR} -I${TCL_GENERIC_DIR} ${X11_INCLUDES} ${AC_FLAGS} ${PROTO_FLAGS} \${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS}DEPEND_SWITCHES = ${CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \-I${BMAP_DIR} \-I${TCL_GENERIC_DIR} ${X11_INCLUDES} \${AC_FLAGS} ${PROTO_FLAGS} ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} \${KEYSYM_FLAGS}WISH_OBJS = tkAppInit.oTKTEST_OBJS = tkTestInit.o tkTest.o tkSquare.oWIDGOBJS = tkButton.o tkEntry.o tkFrame.o tkListbox.o \ tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o \ tkScrollbar.oCANVOBJS = tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o \ tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o \ tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.oIMAGEOBJS = tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.oTEXTOBJS = tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o \ tkTextMark.o tkTextTag.o tkTextWind.oUNIXOBJS = tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o \ tkUnixDialog.o tkUnixDraw.o \ tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o \ tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o \ tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.oLIBRARY_OBJS = $(UNIX_DIR)/lib_bgerror.o $(UNIX_DIR)/lib_dialog.o $(UNIX_DIR)/lib_msgbox.o $(UNIX_DIR)/lib_scale.o $(UNIX_DIR)/lib_tkfbox.o \ $(UNIX_DIR)/lib_button.o $(UNIX_DIR)/lib_entry.o $(UNIX_DIR)/lib_obsolete.o $(UNIX_DIR)/lib_scrlbar.o $(UNIX_DIR)/lib_xmfbox.o \ $(UNIX_DIR)/lib_clrpick.o $(UNIX_DIR)/lib_focus.o $(UNIX_DIR)/lib_optMenu.o $(UNIX_DIR)/lib_tearoff.o $(UNIX_DIR)/lib_comdlg.o \ $(UNIX_DIR)/lib_listbox.o $(UNIX_DIR)/lib_palette.o $(UNIX_DIR)/lib_text.o $(UNIX_DIR)/lib_console.o $(UNIX_DIR)/lib_menu.o \ $(UNIX_DIR)/lib_safetk.o $(UNIX_DIR)/lib_tk.oOBJS = tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o \ tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o \ tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o \ tkMain.o tkOption.o tkPack.o tkPlace.o \ tkSelect.o tkUtil.o tkVisual.o tkWindow.o \ $(UNIXOBJS) $(WIDGOBJS) $(CANVOBJS) $(IMAGEOBJS) $(TEXTOBJS) $(LIBRARY_OBJS)SRCS = \ $(GENERIC_DIR)/tk3d.c $(GENERIC_DIR)/tkArgv.c \ $(GENERIC_DIR)/tkAtom.c $(GENERIC_DIR)/tkBind.c \ $(GENERIC_DIR)/tkBitmap.c $(GENERIC_DIR)/tkClipboard.c \ $(GENERIC_DIR)/tkCmds.c $(GENERIC_DIR)/tkColor.c \ $(GENERIC_DIR)/tkConfig.c $(GENERIC_DIR)/tkCursor.c \ $(GENERIC_DIR)/tkError.c $(GENERIC_DIR)/tkEvent.c \ $(GENERIC_DIR)/tkFocus.c $(GENERIC_DIR)/tkFont.c \ $(GENERIC_DIR)/tkGet.c $(GENERIC_DIR)/tkGC.c \ $(GENERIC_DIR)/tkGeometry.c $(GENERIC_DIR)/tkGrab.c \ $(GENERIC_DIR)/tkGrid.c \ $(GENERIC_DIR)/tkMain.c $(GENERIC_DIR)/tkOption.c \ $(GENERIC_DIR)/tkPack.c $(GENERIC_DIR)/tkPlace.c \ $(GENERIC_DIR)/tkSelect.c $(GENERIC_DIR)/tkUtil.c \ $(GENERIC_DIR)/tkVisual.c $(GENERIC_DIR)/tkWindow.c \ $(GENERIC_DIR)/tkButton.c \ $(GENERIC_DIR)/tkEntry.c $(GENERIC_DIR)/tkFrame.c \ $(GENERIC_DIR)/tkListbox.c $(GENERIC_DIR)/tkMenu.c \ $(GENERIC_DIR)/tkMenubutton.c $(GENERIC_DIR)/tkMenuDraw.c \ $(GENERIC_DIR)/tkMessage.c \ $(GENERIC_DIR)/tkScale.c $(GENERIC_DIR)/tkScrollbar.c \ $(GENERIC_DIR)/tkCanvas.c $(GENERIC_DIR)/tkCanvArc.c \ $(GENERIC_DIR)/tkCanvBmap.c $(GENERIC_DIR)/tkCanvImg.c \ $(GENERIC_DIR)/tkCanvLine.c $(GENERIC_DIR)/tkCanvPoly.c \ $(GENERIC_DIR)/tkCanvPs.c $(GENERIC_DIR)/tkCanvText.c \ $(GENERIC_DIR)/tkCanvUtil.c \ $(GENERIC_DIR)/tkCanvWind.c $(GENERIC_DIR)/tkRectOval.c \ $(GENERIC_DIR)/tkTrig.c $(GENERIC_DIR)/tkImage.c \ $(GENERIC_DIR)/tkImgBmap.c $(GENERIC_DIR)/tkImgGIF.c \ $(GENERIC_DIR)/tkImgPPM.c \ $(GENERIC_DIR)/tkImgPhoto.c $(GENERIC_DIR)/tkText.c \ $(GENERIC_DIR)/tkTextBTree.c $(GENERIC_DIR)/tkTextDisp.c \ $(GENERIC_DIR)/tkTextImage.c \ $(GENERIC_DIR)/tkTextIndex.c $(GENERIC_DIR)/tkTextMark.c \ $(GENERIC_DIR)/tkTextTag.c $(GENERIC_DIR)/tkTextWind.c \ $(GENERIC_DIR)/tkSquare.c $(GENERIC_DIR)/tkTest.c \ $(UNIX_DIR)/tkAppInit.c $(UNIX_DIR)/tkUnix.c \ $(UNIX_DIR)/tkUnix3d.c \ $(UNIX_DIR)/tkUnixButton.c $(UNIX_DIR)/tkUnixColor.c \ $(UNIX_DIR)/tkUnixCursor.c \ $(UNIX_DIR)/tkUnixDialog.c $(UNIX_DIR)/tkUnixDraw.c \ $(UNIX_DIR)/tkUnixEmbed.c $(UNIX_DIR)/tkUnixEvent.c \ $(UNIX_DIR)/tkUnixFocus.c \ $(UNIX_DIR)/tkUnixFont.c $(UNIX_DIR)/tkUnixInit.c \ $(UNIX_DIR)/tkUnixMenu.c $(UNIX_DIR)/tkUnixMenubu.c \ $(UNIX_DIR)/tkUnixScale.c $(UNIX_DIR)/tkUnixScrlbr.c \ $(UNIX_DIR)/tkUnixSelect.c \ $(UNIX_DIR)/tkUnixSend.c $(UNIX_DIR)/tkUnixWm.c \ $(UNIX_DIR)/tkUnixXId.cHDRS = bltList.h \ default.h ks_names.h tkPatch.h tk.h tkButton.h tkCanvas.h tkInt.h \ tkPort.h tkScrollbar.h tkText.hDEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widgetall: ${TK_LIB_FILE} #wish# The following target is configured by autoconf to generate either# a shared library or non-shared library for Tk.${TK_LIB_FILE}: ${OBJS} rm -f ${TK_LIB_FILE} @MAKE_LIB@ $(RANLIB) ${TK_LIB_FILE}# Make target which outputs the list of the .o contained in the Tk lib# usefull to build a single big shared library containing Tcl/Tk and other# extensions. used for the Tcl Plugin. -- dltkLibObjs: @echo ${OBJS}# This targets actually build the objects needed for the lib in the above# caseobjs: ${OBJS}wish: $(WISH_OBJS) $(TK_LIB_FILE) $(CC) @LD_FLAGS@ $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ $(LIBS) \ $(TK_CC_SEARCH_FLAGS) -o wishtktest: $(TKTEST_OBJS) $(TK_LIB_FILE) ${CC} @LD_FLAGS@ $(TKTEST_OBJS) @TK_BUILD_LIB_SPEC@ $(LIBS) \ $(TK_CC_SEARCH_FLAGS) -o tktestxttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE) ${CC} @LD_FLAGS@ test.o tkTest.o tkSquare.o \ @TK_BUILD_LIB_SPEC@ $(LIBS) \ @TK_LD_SEARCH_FLAGS@ -lXt -o xttest# Note, in the target below TCL_LIBRARY needs to be set or else# "make test" won't work in the case where the compilation directory# isn't the same as the source directory.test: tktest LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; \ export LD_LIBRARY_PATH; \ SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH}; \ export SHLIB_PATH; \ TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \ TK_LIBRARY=$(TOP_DIR)/library; export TK_LIBRARY; \ ( echo cd $(TOP_DIR)/tests\; source all\; exit ) \ | ./tktest -geometry +0+0# Useful target to launch a built tktest with the proper path,...runtest: LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; \ export LD_LIBRARY_PATH; \ SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH}; \ export SHLIB_PATH; \ TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \ TK_LIBRARY=$(TOP_DIR)/library; export TK_LIBRARY; \ ./tktestinstall: install-binaries install-libraries install-demos install-man# Note: before running ranlib below, must cd to target directory because# some ranlibs write to current directory, and this might not always be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -