📄 makefile.in
字号:
## This file is a Makefile for Tcl. 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.190 97/11/05 10:57:38# Current Tcl version; used in various names.VERSION = @TCL_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 TCL_LIBRARY environment variable at# run-time to override this value):TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)# Package search path.TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@# Path name to use when installing library scripts:SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)# Directory in which to install libtcl.so or libtcl.a: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 tclsh:BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin# Directory in which to install the include file tcl.h:INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include# Top-level directory in which to install manual entries:MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man# Directory in which to install manual entry for tclsh:MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1# Directory in which to install manual entries for Tcl's C library# procedures:MAN3_INSTALL_DIR = $(MAN_INSTALL_DIR)/man3# Directory in which to install manual entries for the built-in# Tcl commands:MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann# Libraries built with optimization switches have this additional extensionTCL_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@)# To disable ANSI-C procedure prototypes reverse the comment characters# on the following lines:PROTO_FLAGS =#PROTO_FLAGS = -DNO_PROTOTYPE# Mathematical functions like sin and atan2 are enabled for expressions# by default. To disable them, reverse the comment characters on the# following pairs of lines:MATH_FLAGS =#MATH_FLAGS = -DTCL_NO_MATHMATH_LIBS = @MATH_LIBS@#MATH_LIBS =# If you use the setenv, putenv, or unsetenv procedures to modify# environment variables in your application and you'd like those# modifications to appear in the "env" Tcl variable, switch the# comments on the two lines below so that Tcl provides these# procedures instead of your standard C library.ENV_FLAGS =#ENV_FLAGS = -DTclSetEnv=setenv -DTcl_PutEnv=putenv -DTclUnsetEnv=unsetenv# To compile for non-UNIX systems (so that only the non-UNIX-specific# commands are available), reverse the comment characters on the# following pairs of lines. In addition, you'll have to provide your# own replacement for the "panic" procedure (see panic.c for what# the current one does).GENERIC_FLAGS =#GENERIC_FLAGS = -DTCL_GENERIC_ONLYUNIX_OBJS = tclMtherr.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o \ tclUnixFile.o tclUnixPipe.o tclUnixSock.o \ tclUnixTime.o tclUnixInit.o#UNIX_OBJS =NOTIFY_OBJS = tclUnixNotfy.o#NOTIFY_OBJS =# 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# To enable compilation debugging reverse the comment characters on# one of the following lines.COMPILE_DEBUG_FLAGS =#COMPILE_DEBUG_FLAGS = -DTCL_COMPILE_STATS#COMPILE_DEBUG_FLAGS = -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS# Some versions of make, like SGI's, use the following variable to# determine which shell to use for executing commands:SHELL = /bin/sh# Tcl 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 following symbol defines additional compiler flags to enable# Tcl itself to be a shared library. If Tcl isn't going to be a# shared library then the symbol has an empty definition.TCL_SHLIB_CFLAGS = @TCL_SHLIB_CFLAGS@#TCL_SHLIB_CFLAGS =# The symbols below provide support for dynamic loading and shared# libraries. See configure.in for a description of what the# symbols mean. 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.SHLIB_LD = @SHLIB_LD@SHLIB_SUFFIX = @SHLIB_SUFFIX@#SHLIB_SUFFIX =DLTEST_TARGETS = dltest/pkg5${SHLIB_SUFFIX} dltest/Makefile# The following symbol is defined to "$(DLTEST_TARGETS)" if dynamic# loading is available; this causes everything in the "dltest"# subdirectory to be built when making "tcltest. If dynamic loading# isn't available, configure defines this symbol to an empty string,# in which case the shared libraries aren't built.BUILD_DLTEST = @BUILD_DLTEST@#BUILD_DLTEST =TCL_LIB_FILE = @TCL_LIB_FILE@#TCL_LIB_FILE = libtcl.aTCL_LIB_FLAG = @TCL_LIB_FLAG@#TCL_LIB_FLAG = -ltcl#----------------------------------------------------------------# 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.#----------------------------------------------------------------COMPAT_OBJS = @LIBOBJS@AC_FLAGS = @DEFS@RANLIB = @RANLIB@SRC_DIR = @srcdir@TOP_DIR = @srcdir@/..GENERIC_DIR = $(TOP_DIR)/genericCOMPAT_DIR = $(TOP_DIR)/compatTOOL_DIR = $(TOP_DIR)/toolsDLTEST_DIR = @srcdir@/dltestUNIX_DIR = @srcdir@CC = @CC@#----------------------------------------------------------------# 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_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TCL_SHLIB_CFLAGS} \-I${GENERIC_DIR} -I${SRC_DIR} \${AC_FLAGS} ${MATH_FLAGS} ${GENERIC_FLAGS} ${PROTO_FLAGS} ${MEM_DEBUG_FLAGS} \${COMPILE_DEBUG_FLAGS} ${ENV_FLAGS} -DTCL_SHLIB_EXT=\"${SHLIB_SUFFIX}\"LIBS = @DL_LIBS@ @LIBS@ $(MATH_LIBS) -lcDEPEND_SWITCHES = ${CFLAGS} -I${GENERIC_DIR} -I${SRC_DIR} \${AC_FLAGS} ${MATH_FLAGS} \${GENERIC_FLAGS} ${PROTO_FLAGS} ${MEM_DEBUG_FLAGS} \-DTCL_SHLIB_EXT=\"${SHLIB_SUFFIX}\"TCLSH_OBJS = tclAppInit.oTCLTEST_OBJS = tclTestInit.o tclTest.o tclTestObj.o tclUnixTest.oXTTEST_OBJS = tclTest.o tclTestObj.o tclUnixTest.o tclXtNotify.o \ tclXtTest.o xtTestInit.oGENERIC_OBJS = panic.o regexp.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o \ tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompExpr.o \ tclCompile.o tclDate.o tclEnv.o tclEvent.o tclExecute.o \ tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o \ tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOSock.o \ tclIOUtil.o tclLink.o tclListObj.o tclLoad.o tclMain.o tclNamesp.o \ tclNotify.o tclObj.o tclParse.o tclPipe.o tclPkg.o tclPosixStr.o \ tclPreserve.o tclProc.o tclStringObj.o tclTimer.o tclUtil.o tclVar.o \ tclResolve.oLIBRARY_OBJS=lib_history.o lib_init.o lib_ldAout.o lib_http.o \ lib_optparse.o lib_parray.o lib_safe.o lib_word.oOBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS} $(LIBRARY_OBJS) @DL_OBJS@GENERIC_HDRS = \ $(GENERIC_DIR)/tclRegexp.h \ $(GENERIC_DIR)/tcl.h \ $(GENERIC_DIR)/tclInt.h \ $(GENERIC_DIR)/tclPort.h \ $(GENERIC_DIR)/tclPatch.hGENERIC_SRCS = \ $(GENERIC_DIR)/regexp.c \ $(GENERIC_DIR)/tclAsync.c \ $(GENERIC_DIR)/tclBasic.c \ $(GENERIC_DIR)/tclBinary.c \ $(GENERIC_DIR)/tclCkalloc.c \ $(GENERIC_DIR)/tclClock.c \ $(GENERIC_DIR)/tclCmdAH.c \ $(GENERIC_DIR)/tclCmdIL.c \ $(GENERIC_DIR)/tclCmdMZ.c \ $(GENERIC_DIR)/tclCompExpr.c \ $(GENERIC_DIR)/tclCompile.c \ $(GENERIC_DIR)/tclDate.c \ $(GENERIC_DIR)/tclEnv.c \ $(GENERIC_DIR)/tclEvent.c \ $(GENERIC_DIR)/tclExecute.c \ $(GENERIC_DIR)/tclFCmd.c \ $(GENERIC_DIR)/tclFileName.c \ $(GENERIC_DIR)/tclGet.c \ $(GENERIC_DIR)/tclHash.c \ $(GENERIC_DIR)/tclHistory.c \ $(GENERIC_DIR)/tclIndexObj.c \ $(GENERIC_DIR)/tclInterp.c \ $(GENERIC_DIR)/tclIO.c \ $(GENERIC_DIR)/tclIOCmd.c \ $(GENERIC_DIR)/tclIOSock.c \ $(GENERIC_DIR)/tclIOUtil.c \ $(GENERIC_DIR)/tclLink.c \ $(GENERIC_DIR)/tclListObj.c \ $(GENERIC_DIR)/tclLoad.c \ $(GENERIC_DIR)/tclMain.c \ $(GENERIC_DIR)/tclNamesp.c \ $(GENERIC_DIR)/tclNotify.c \ $(GENERIC_DIR)/tclObj.c \ $(GENERIC_DIR)/tclParse.c \ $(GENERIC_DIR)/tclPipe.c \ $(GENERIC_DIR)/tclPkg.c \ $(GENERIC_DIR)/tclPosixStr.c \ $(GENERIC_DIR)/tclPreserve.c \ $(GENERIC_DIR)/tclProc.c \ $(GENERIC_DIR)/tclResolve.c \ $(GENERIC_DIR)/tclStringObj.c \ $(GENERIC_DIR)/tclTest.c \ $(GENERIC_DIR)/tclTestObj.c \ $(GENERIC_DIR)/tclTimer.c \ $(GENERIC_DIR)/tclUtil.c \ $(GENERIC_DIR)/tclVar.cUNIX_HDRS = \ $(UNIX_DIR)/tclUnixPort.hUNIX_SRCS = \ $(UNIX_DIR)/tclAppInit.c \ $(UNIX_DIR)/tclMtherr.c \ $(UNIX_DIR)/tclUnixChan.c \ $(UNIX_DIR)/tclUnixEvent.c \ $(UNIX_DIR)/tclUnixFCmd.c \ $(UNIX_DIR)/tclUnixFile.c \ $(UNIX_DIR)/tclUnixNotfy.c \ $(UNIX_DIR)/tclUnixPipe.c \ $(UNIX_DIR)/tclUnixSock.c \ $(UNIX_DIR)/tclUnixTest.c \ $(UNIX_DIR)/tclUnixTime.c \ $(UNIX_DIR)/tclUnixInit.cDL_SRCS = \ $(UNIX_DIR)/tclLoadAix.c \ $(UNIX_DIR)/tclLoadAout.c \ $(UNIX_DIR)/tclLoadDl.c \ $(UNIX_DIR)/tclLoadDl2.c \ $(UNIX_DIR)/tclLoadDld.c \ $(GENERIC_DIR)/tclLoadNone.c \ $(UNIX_DIR)/tclLoadOSF.c \ $(UNIX_DIR)/tclLoadShl.c# Note: don't include DL_SRCS in SRCS: most of those files won't# compile on the current machine, and they will cause problems for# things like "make depend".SRCS = $(GENERIC_SRCS) $(UNIX_SRCS)all: ${TCL_LIB_FILE} tclsh# The following target is configured by autoconf to generate either# a shared library or non-shared library for Tcl.${TCL_LIB_FILE}: ${OBJS} rm -f ${TCL_LIB_FILE} @MAKE_LIB@ $(RANLIB) ${TCL_LIB_FILE}# Make target which outputs the list of the .o contained in the Tcl lib# usefull to build a single big shared library containing Tcl and other# extensions. used for the Tcl Plugin. -- dl# The dependency on OBJS is not there because we just want the list# of objects here, not actually building themtclLibObjs: @echo ${OBJS}# This targets actually build the objects needed for the lib in the above# caseobjs: ${OBJS}tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${CC} @LD_FLAGS@ ${TCLSH_OBJS} ${TCL_LIB_FILE} ${LIBS} \ @TCL_LD_SEARCH_FLAGS@ -o tclshtcltest: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${BUILD_DLTEST} ${CC} @LD_FLAGS@ ${TCLTEST_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -