📄 makefile.win
字号:
# Copyright (c) 1994, 1995, 1996# The Regents of the University of California. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that: (1) source code distributions# retain the above copyright notice and this paragraph in its entirety, (2)# distributions including binary code include the above copyright notice and# this paragraph in its entirety in the documentation or other materials# provided with the distribution, and (3) all advertising materials mentioning# features or use of this software display the following acknowledgement:# ``This product includes software developed by the University of California,# Lawrence Berkeley Laboratory and its contributors.'' Neither the name of# the University nor the names of its contributors may be used to endorse# or promote products derived from this software without specific prior# written permission.# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.## @(#) $Header: /nfs/jade/vint/CVSROOT/conf/makefile.win,v 1.10 1999/12/20 19:26:02 haoboy Exp $# Please change this path to the correct one on your system.MSVCDIR = c:\dev\vcTOOLS32 = $(MSVCDIR)PATH = $(MSVCDIR);$(PATH)INCLUDE = $(MSVCDIR)\include# Set this to the _absolute_ path to where ns-allinone is installed. # Tcl/Tk/otcl/tclcl/ns should all be located under this path.LOCAL_SRC = c:\vint# comment this out to build with debug optionsNODEBUG=1TARGETOS = BOTH# uncomment this out to build static version#STATIC_LIB=1!include <$(INCLUDE)/win32.mak>cc32 = clrc32 = rclink32 = link# uncomment this to use tcl/tk 8USE_TCL_80 = 1!if "$(USE_TCL_80)" == "1"TK_VER = 80TCL_VER = 80 !elseTCL_VER = 76TK_VER = 42!endif!if "$(USE_TCL_80)" == "1"TCL_SUFFIX = 8.0.4TK_SUFFIX = 8.0.4TCL_LIBRARY_FILES = $(TCL_80_LIBRARY_FILES)!elseTCL_SUFFIX = 7.6TK_SUFFIX = 4.2TCL_LIBRARY_FILES = $(TCL_76_LIBRARY_FILES)!endifTK_DIR = $(LOCAL_SRC)\tk$(TK_SUFFIX)TCL_DIR = $(LOCAL_SRC)\tcl$(TCL_SUFFIX)OTCL_DIR = $(LOCAL_SRC)\otclTCLCL_DIR = $(LOCAL_SRC)\tclcl# Static build requires specially hacked versions of tcl8.0 and tk8.0# Available from http://mash.cs.berkeley.edu/dist!ifdef STATIC_LIBLIB_TK = -LIBPATH:$(TK_DIR)\win stk$(TK_VER).libLIB_TCL = -LIBPATH:$(TCL_DIR)\win stcl$(TCL_VER).lib!elseLIB_TK = -LIBPATH:$(TK_DIR)\win\Release tk$(TK_VER).libLIB_TCL = -LIBPATH:$(TCL_DIR)\win\Release tcl$(TCL_VER).lib!endifLIB_OTCL = -LIBPATH:$(OTCL_DIR) otcl.libLIB_TCLCL = $(TCLCL_DIR)\tclcl.libLIBRARY_TK = $(TK_DIR)\libraryLIBRARY_TCL = $(TCL_DIR)\libraryTKDOSNAMES = $(LIBRARY_TK)/optMenu.tcl $(LIBRARY_TK)/scrlbar.tclCC = $(cc32)CPP = $(cc32)LINK = $(link32)MKDEP = makedep2TCLSH = $(TCL_DIR)\win\Release\tclsh80.exeTCL2C = $(TCLCL_DIR)\tcl2c++.exeAR = lib -out:RANLIB = echoINSTALL = echoLN = echoTEST = echoRM = erasePERL = perl!IFDEF NODEBUGCCOPT = -Ox -Zm1000!ELSECCOPT = -Gm -Gi -YX -Zm1000!ENDIF# Include STATIC_LIB so that main.cc will be properly compiled for nam.!ifdef STATIC_LIBCCOPT = -DSTATIC_LIB $(CCOPT)!endif!IFDEF NODEBUGLDFLAGS = -LIBPATH:$(TOOLS32)\lib $(lflags) $(conlibsdll)!ELSELDFLAGS = -LIBPATH:$(TOOLS32)\lib /NODEFAULTLIB /INCREMENTAL:NO /DEBUG /NOLOGO $(conlibsdll)!ENDIFSTATIC = LDOUT = -out:DEFINE = -DNO_TKINCLUDE_TK = -I$(TK_DIR)\win -I$(TK_DIR)\genericINCLUDE_TCL = -I$(TCL_DIR)\win -I$(TCL_DIR)\genericINCLUDE_OTCL = -I$(OTCL_DIR)INCLUDE_TCLCL = -I$(TCLCL_DIR)INCLUDE_X11 = -I$(TK_DIR)\xlibINCLUDE_MISC = -I$(TOOLS32)\includeOBJ_COMPAT_C = compat/gettod.o compat/win32.o embedded-console.o# don't want system files to be added when making dependenciesDEPEND_INCS = \ $(INCLUDE_TK) $(INCLUDE_TCL) \ $(INCLUDE_OTCL) $(INCLUDE_TCLCL) \ $(INCLUDE_X11) $(MD_INC) -I.INCLUDES = $(DEPEND_INCS) $(INCLUDE_MISC)LIB = $(LIB_TCLCL) $(LIB_OTCL) \ $(LIB_TK) $(LIB_TCL) \ $(guilibsdll)# $(LIB_GRABBER) $(LIB_GSM) \# winmm.libCFLAGS = $(cdebug:Z7=Zi) $(cflags) $(cvarsdll) $(CCOPT) $(DEFINE).SUFFIXES : .cc# add -FR$*.sbr if you want browse info.cc.o: $(cc32) -c $(CFLAGS) $(INCLUDES) -Fo$@ -Tp $<.c.o: $(cc32) -c $(CFLAGS) $(INCLUDES) -Fo$@ $<GEN_DIR = gen\\LIB_DIR = lib\\NS = ns.exeNSX = nsx.exeNAM = nam.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -