os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/win/makefile.bc
First public contribution.
2 # Makefile for Borland C++ 5.5 (or C++ Builder 5), adapted from the makefile
3 # for Visual C++ that came with tcl 8.3.3
5 # See the file "license.terms" for information on usage and redistribution
6 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8 # Copyright (c) 1995-1996 Sun Microsystems, Inc.
9 # Copyright (c) 1998-1999 by Scriptics Corporation.
11 # Have a look at the complete description on how to build and test Tcl with
12 # the current Borland compilers at www.ratiosoft.com/tcl/borland.
15 # - Adapt the paths below to match your compiler's location
16 # - Make sure the compiler's bin directory is on your path
18 # - To make a debug version enter
19 # make -fmakefile.bc -DNODEBUG=0 xxx
20 # where 'xxx' is the target you want (e.g. 'all', 'test', ...)
21 # Please note: I omitted the 'd' suffix for debug versions because Tcl
22 # will always call tclpip83.dll and not tclpip83d.dll, causing an error.
24 # Besides, the debug version goes into a separate directory, so there
25 # should be no problem having DLLs and EXEs with the same name.
26 # If you prefer your debug version having the 'd' suffix just uncomment
30 # - To make a 'normal' version enter
31 # make -fmakefile.bc xxx
32 # where 'xxx' is the target you want (e.g. 'all', 'test', ...)
35 # This makefile has an experimental status - that is those targets which
36 # have been modified do in fact compile and link with Borland's C++
37 # Builder 5 and with the free Borland compiler (Borland C++ 5.5).
38 # However the author assumes no responsiblity for any effect which the use of
39 # this makefile or of the resulting programs might have on your system.
42 # - The 'plug-in-DLL' and the associated shell.
43 # - The programs to create the windows help files.
45 # Suggestions and / or improvements are always welcome.
47 # May 2001, H. Giese (hgiese@ratiosoft.com)
50 # Does not depend on the presence of any environment variables in
51 # order to compile tcl; all needed information is derived from
52 # location of the compiler directories.
57 # ROOT = top of source tree
59 # TOOLS32 = location of Borland development tools.
61 # INSTALLDIR = where the install-targets should copy the binaries and
66 INSTALLDIR = c:\program files\tcl
68 # If you have C++ Builder 5 or the free Borland C++ 5.5 compiler
69 # adapt the following paths as appropriate for your system
70 TOOLS32 = c:\dev\bcc55
71 TOOLS32_rc = c:\dev\bcc55
75 cc32 = "$(TOOLS32)\bin\bcc32.exe"
76 link32 = "$(TOOLS32)\bin\ilink32.exe"
77 lib32 = "$(TOOLS32)\bin\tlib.exe"
78 rc32 = "$(TOOLS32_rc)\bin\brcc32.exe"
79 include32 = -I"$(TOOLS32)\include"
80 libpath32 = -L"$(TOOLS32)\lib"
82 # Uncomment the following line to compile with thread support
83 #THREADDEFINES = -DTCL_THREADS=1
85 # Allow definition of NDEBUG via command line
86 # Set NODEBUG to 0 to compile with symbols
91 # The following defines can be used to control the amount of debugging
92 # code that is added to the compilation.
94 # -DTCL_MEM_DEBUG Enables the debugging memory allocator.
95 # -DTCL_COMPILE_DEBUG Enables byte compilation logging.
96 # -DTCL_COMPILE_STATS Enables byte compilation statistics gathering.
97 # -DUSE_TCLALLOC=0 Disables the Tcl memory allocator in favor
98 # of the native malloc implementation. This is
99 # needed when using Purify.
101 #DEBUGDEFINES = -DTCL_MEM_DEBUG -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS
102 #DEBUGDEFINES = -DUSE_TCLALLOC=0
104 ######################################################################
105 # Do not modify below this line
106 ######################################################################
109 STUBPREFIX = $(NAMEPREFIX)stub
120 !IF "$(NODEBUG)" == "1"
128 TMPDIR = $(BINROOT)\$(TMPDIRNAME)
129 OUTDIRNAME = $(TMPDIRNAME)
132 TCLLIB = $(OUTDIR)\$(NAMEPREFIX)$(VERSION)$(DBGX).lib
133 TCLDLLNAME = $(NAMEPREFIX)$(VERSION)$(DBGX).dll
134 TCLDLL = $(OUTDIR)\$(TCLDLLNAME)
136 TCLSTUBLIBNAME = $(STUBPREFIX)$(VERSION)$(DBGX).lib
137 TCLSTUBLIB = $(OUTDIR)\$(TCLSTUBLIBNAME)
139 TCLPLUGINLIB = $(OUTDIR)\$(NAMEPREFIX)$(VERSION)p$(DBGX).lib
140 TCLPLUGINDLLNAME = $(NAMEPREFIX)$(VERSION)p$(DBGX).dll
141 TCLPLUGINDLL = $(OUTDIR)\$(TCLPLUGINDLLNAME)
142 TCLSH = $(OUTDIR)\$(NAMEPREFIX)sh$(VERSION)$(DBGX).exe
143 TCLSHP = $(OUTDIR)\$(NAMEPREFIX)shp$(VERSION)$(DBGX).exe
144 TCLPIPEDLLNAME = $(NAMEPREFIX)pip$(VERSION)$(DBGX).dll
145 TCLPIPEDLL = $(OUTDIR)\$(TCLPIPEDLLNAME)
146 TCLREGDLLNAME = $(NAMEPREFIX)reg$(REGVERSION)$(DBGX).dll
147 TCLREGDLL = $(OUTDIR)\$(TCLREGDLLNAME)
148 TCLDDEDLLNAME = $(NAMEPREFIX)dde$(DDEVERSION)$(DBGX).dll
149 TCLDDEDLL = $(OUTDIR)\$(TCLDDEDLLNAME)
150 TCLTEST = $(OUTDIR)\$(NAMEPREFIX)test.exe
151 CAT32 = $(TMPDIR)\cat32.exe
156 LIB_INSTALL_DIR = $(INSTALLDIR)\lib
157 BIN_INSTALL_DIR = $(INSTALLDIR)\bin
158 SCRIPT_INSTALL_DIR = $(INSTALLDIR)\lib\tcl$(DOTVERSION)
159 INCLUDE_INSTALL_DIR = $(INSTALLDIR)\include
162 $(TMPDIR)\tclAppInit.obj
165 $(TMPDIR)\tclTest.obj \
166 $(TMPDIR)\tclTestObj.obj \
167 $(TMPDIR)\tclTestProcBodyObj.obj \
168 $(TMPDIR)\tclThreadTest.obj \
169 $(TMPDIR)\tclWinTest.obj \
170 $(TMPDIR)\testMain.obj
173 $(TMPDIR)\regcomp.obj \
174 $(TMPDIR)\regexec.obj \
175 $(TMPDIR)\regfree.obj \
176 $(TMPDIR)\regerror.obj \
177 $(TMPDIR)\strftime.obj \
178 $(TMPDIR)\strtoll.obj \
179 $(TMPDIR)\strtoull.obj \
180 $(TMPDIR)\tclAlloc.obj \
181 $(TMPDIR)\tclAsync.obj \
182 $(TMPDIR)\tclBasic.obj \
183 $(TMPDIR)\tclBinary.obj \
184 $(TMPDIR)\tclCkalloc.obj \
185 $(TMPDIR)\tclClock.obj \
186 $(TMPDIR)\tclCmdAH.obj \
187 $(TMPDIR)\tclCmdIL.obj \
188 $(TMPDIR)\tclCmdMZ.obj \
189 $(TMPDIR)\tclCompCmds.obj \
190 $(TMPDIR)\tclCompExpr.obj \
191 $(TMPDIR)\tclCompile.obj \
192 $(TMPDIR)\tclDate.obj \
193 $(TMPDIR)\tclEncoding.obj \
194 $(TMPDIR)\tclEnv.obj \
195 $(TMPDIR)\tclEvent.obj \
196 $(TMPDIR)\tclExecute.obj \
197 $(TMPDIR)\tclFCmd.obj \
198 $(TMPDIR)\tclFileName.obj \
199 $(TMPDIR)\tclGet.obj \
200 $(TMPDIR)\tclHash.obj \
201 $(TMPDIR)\tclHistory.obj \
202 $(TMPDIR)\tclIndexObj.obj \
203 $(TMPDIR)\tclInterp.obj \
204 $(TMPDIR)\tclIO.obj \
205 $(TMPDIR)\tclIOCmd.obj \
206 $(TMPDIR)\tclIOGT.obj \
207 $(TMPDIR)\tclIOSock.obj \
208 $(TMPDIR)\tclIOUtil.obj \
209 $(TMPDIR)\tclLink.obj \
210 $(TMPDIR)\tclLiteral.obj \
211 $(TMPDIR)\tclListObj.obj \
212 $(TMPDIR)\tclLoad.obj \
213 $(TMPDIR)\tclMain.obj \
214 $(TMPDIR)\tclNamesp.obj \
215 $(TMPDIR)\tclNotify.obj \
216 $(TMPDIR)\tclObj.obj \
217 $(TMPDIR)\tclPanic.obj \
218 $(TMPDIR)\tclParse.obj \
219 $(TMPDIR)\tclParseExpr.obj \
220 $(TMPDIR)\tclPipe.obj \
221 $(TMPDIR)\tclPkg.obj \
222 $(TMPDIR)\tclPosixStr.obj \
223 $(TMPDIR)\tclPreserve.obj \
224 $(TMPDIR)\tclProc.obj \
225 $(TMPDIR)\tclRegexp.obj \
226 $(TMPDIR)\tclResolve.obj \
227 $(TMPDIR)\tclResult.obj \
228 $(TMPDIR)\tclScan.obj \
229 $(TMPDIR)\tclStringObj.obj \
230 $(TMPDIR)\tclStubInit.obj \
231 $(TMPDIR)\tclStubLib.obj \
232 $(TMPDIR)\tclThread.obj \
233 $(TMPDIR)\tclThreadJoin.obj \
234 $(TMPDIR)\tclTimer.obj \
235 $(TMPDIR)\tclUtf.obj \
236 $(TMPDIR)\tclUtil.obj \
237 $(TMPDIR)\tclVar.obj \
238 $(TMPDIR)\tclWin32Dll.obj \
239 $(TMPDIR)\tclWinChan.obj \
240 $(TMPDIR)\tclWinConsole.obj \
241 $(TMPDIR)\tclWinSerial.obj \
242 $(TMPDIR)\tclWinError.obj \
243 $(TMPDIR)\tclWinFCmd.obj \
244 $(TMPDIR)\tclWinFile.obj \
245 $(TMPDIR)\tclWinInit.obj \
246 $(TMPDIR)\tclWinLoad.obj \
247 $(TMPDIR)\tclWinMtherr.obj \
248 $(TMPDIR)\tclWinNotify.obj \
249 $(TMPDIR)\tclWinPipe.obj \
250 $(TMPDIR)\tclWinSock.obj \
251 $(TMPDIR)\tclWinThrd.obj \
252 $(TMPDIR)\tclWinTime.obj
254 TCLSTUBOBJS = $(TMPDIR)\tclStubLib.obj
257 GENERICDIR = $(ROOT)\generic
259 TCL_INCLUDES = -I"$(WINDIR)" -I"$(GENERICDIR)"
260 TCL_DEFINES = $(DEBUGDEFINES) $(THREADDEFINES)
262 ######################################################################
264 ######################################################################
266 !IF "$(NODEBUG)" == "1"
267 # these macros cause maximum optimization and no symbols
268 cdebug = -v- -vi- -O2 -D_DEBUG
270 # these macros enable debugging
271 cdebug = -k -Od -r- -v -vi- -y
274 SYSDEFINES = _MT;NO_STRICT;_NO_VCL
276 # declarations common to all compiler options
277 cbase = -c -q -3 -a4 -g0 -tWM -Ve -Vx -X-
278 WARNINGS = -w-rch -w-pch -w-par -w-dup -w-pro -w-dpu
282 INCLUDEPATH = $(include32) $(TCL_INCLUDES)
284 CFLAGS = $(cdebug) $(cbase) $(INCLUDEPATH) $(WARNINGS) -D$(SYSDEFINES)
285 TCL_CFLAGS = $(CFLAGS) $(TCL_DEFINES)
286 CONS_CFLAGS = $(CFLAGS) $(TCL_DEFINES) $(ccons)
288 ######################################################################
290 ######################################################################
292 !IF "$(NODEBUG)" == "1"
298 # declarations common to all linker options
299 LNFLAGS = -D"" -Gn -I$(TMPDIR) -x $(ldebug) $(libpath32)
300 # -Gi: create lib file (is -Gl in doc)
301 # -aa: Windows app, -ap: Windows console app
302 LNFLAGS_DLL = -ap -Gi -Tpd
303 LNFLAGS_CONS = -ap -Tpe
305 LNLIBS = import32 cw32mt
308 ######################################################################
309 # Project specific targets
310 ######################################################################
312 release: setup $(TCLSH) dlls
313 dlls: setup $(TCLPIPEDLL) $(TCLREGDLL) $(TCLDDEDLL)
314 all: setup $(TCLSH) dlls $(CAT32)
315 tcltest: setup $(TCLTEST) dlls $(CAT32)
316 plugin: setup $(TCLPLUGINDLL) $(TCLSHP)
317 install: install-binaries install-libraries
319 test: setup $(TCLTEST) dlls $(CAT32)
320 set TCL_LIBRARY=$(ROOT)/library
321 $(TCLTEST) $(ROOT)/tests/all.tcl
324 @if not exist $(OUT_DIR)\nul mkdir $(OUT_DIR) &\
325 echo *** Created directory '$(OUT_DIR)'
326 @if not exist $(TMP_DIR)\nul mkdir $(TMP_DIR) &\
327 echo *** Created directory '$(TMP_DIR)'
332 $(TCLDLL): $(TCLOBJS) $(TMPDIR)\$(NAMEPREFIX).res
333 $(link32) $(ldebug) $(LNFLAGS) $(LNFLAGS_DLL) $(TOOLS32)\lib\c0d32 @&&!
334 $(TCLOBJS), $@, -x, $(LNLIBS),, $(TMPDIR)\$(NAMEPREFIX).res
337 $(TCLSTUBLIB): $(TCLSTUBOBJS)
338 $(lib32) /u $@ $(TCLSTUBOBJS)
340 $(TCLPLUGINLIB): $(TCLPLUGINDLL)
342 $(TCLPLUGINDLL): $(TCLOBJS) $(TMPDIR)\tcl.res
343 $(link32) $(ldebug) $(dlllflags) \
344 -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @&&!
348 $(TCLSH): $(TCLSHOBJS) $(TCLLIB) $(TMPDIR)\$(NAMEPREFIX)sh.res
349 $(link32) $(ldebug) -S:2400000 $(LNFLAGS) $(LNFLAGS_CONS) $(TOOLS32)\lib\c0x32 @&&!
350 $(TCLSHOBJS), $@, -x, $(LNLIBS) $(TCLLIB),, $(TMPDIR)\$(NAMEPREFIX)sh.res
353 $(TCLSHP): $(TCLSHOBJS) $(TCLPLUGINLIB) $(TMPDIR)\tclsh.res
354 $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 \
355 -out:$@ $(conlibsdll) $(TCLPLUGINLIB) $(TCLSHOBJS)
357 $(TCLTEST): $(TCLTESTOBJS) $(TCLLIB) $(TMPDIR)\$(NAMEPREFIX)sh.res
358 $(link32) $(ldebug) -S:2400000 $(LNFLAGS) $(LNFLAGS_CONS) $(TOOLS32)\lib\c0x32 @&&!
359 $(TCLTESTOBJS), $@, -x, $(LNLIBS) $(TCLLIB),, $(TMPDIR)\$(NAMEPREFIX)sh.res
362 $(TCLPIPEDLL): $(WINDIR)\stub16.c
363 $(cc32) $(CFLAGS) -o$(TMPDIR)\stub16.obj $(WINDIR)\stub16.c
364 $(link32) $(ldebug) $(LNFLAGS) $(LNFLAGS_CONS) $(TOOLS32)\lib\c0x32 \
365 $(TMPDIR)\stub16.obj, $@, -x, $(LNLIBS),, $(TMPDIR)\$(NAMEPREFIX).res
367 $(TCLDDEDLL): $(TMPDIR)\tclWinDde.obj $(TCLSTUBLIB)
368 $(link32) $(ldebug) $(LNFLAGS) $(LNFLAGS_DLL) $(TOOLS32)\lib\c0d32 \
369 $(TMPDIR)\tclWinDde.obj, $@, -x, $(LNLIBS) $(TCLSTUBLIB),, \
370 $(TMPDIR)\$(NAMEPREFIX).res
372 $(TCLREGDLL): $(TMPDIR)\tclWinReg.obj $(TCLSTUBLIB)
373 $(link32) $(ldebug) $(LNFLAGS) $(LNFLAGS_DLL) $(TOOLS32)\lib\c0d32 \
374 $(TMPDIR)\tclWinReg.obj, $@, -x, $(LNLIBS) $(TCLSTUBLIB),, \
375 $(TMPDIR)\$(NAMEPREFIX).res
377 $(CAT32): $(WINDIR)\cat.c
378 $(cc32) $(CONS_CFLAGS) -o$(TMPDIR)\cat.obj $?
379 $(link32) $(ldebug) $(LNFLAGS) $(LNFLAGS_CONS) $(TOOLS32)\lib\c0x32 \
380 $(TMPDIR)\cat.obj, $@, -x, $(LNLIBS),,
382 install-binaries: $(TCLSH)
383 $(MKDIR) "$(BIN_INSTALL_DIR)"
384 $(MKDIR) "$(LIB_INSTALL_DIR)"
385 @echo installing $(TCLDLLNAME)
386 @copy "$(TCLDLL)" "$(BIN_INSTALL_DIR)"
387 @copy "$(TCLLIB)" "$(LIB_INSTALL_DIR)"
388 @echo installing "$(TCLSH)"
389 @copy "$(TCLSH)" "$(BIN_INSTALL_DIR)"
390 @echo installing $(TCLPIPEDLLNAME)
391 @copy "$(TCLPIPEDLL)" "$(BIN_INSTALL_DIR)"
392 @echo installing $(TCLSTUBLIBNAME)
393 @copy "$(TCLSTUBLIB)" "$(LIB_INSTALL_DIR)"
396 -@$(MKDIR) "$(LIB_INSTALL_DIR)"
397 -@$(MKDIR) "$(INCLUDE_INSTALL_DIR)"
398 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)"
399 @echo installing http1.0
400 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\http1.0"
401 -@copy "$(ROOT)\library\http1.0\http.tcl" "$(SCRIPT_INSTALL_DIR)\http1.0"
402 -@copy "$(ROOT)\library\http1.0\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\http1.0"
403 @echo installing http2.5
404 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\http2.5"
405 -@copy "$(ROOT)\library\http\http.tcl" "$(SCRIPT_INSTALL_DIR)\http2.5"
406 -@copy "$(ROOT)\library\http\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\http2.5"
407 @echo installing opt0.4
408 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\opt0.4"
409 -@copy "$(ROOT)\library\opt\optparse.tcl" "$(SCRIPT_INSTALL_DIR)\opt0.4"
410 -@copy "$(ROOT)\library\opt\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\opt0.4"
411 @echo installing msgcat1.3
412 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\msgcat1.3"
413 -@copy "$(ROOT)\library\msgcat\msgcat.tcl" "$(SCRIPT_INSTALL_DIR)\msgcat1.3"
414 -@copy "$(ROOT)\library\msgcat\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\msgcat1.3"
415 @echo installing tcltest2.2
416 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\tcltest2.2"
417 -@copy "$(ROOT)\library\tcltest\tcltest.tcl" "$(SCRIPT_INSTALL_DIR)\tcltest2.2"
418 -@copy "$(ROOT)\library\tcltest\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\tcltest2.2"
419 @echo installing $(TCLDDEDLLNAME)
420 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\dde1.1"
421 -@copy "$(TCLDDEDLL)" "$(SCRIPT_INSTALL_DIR)\dde1.1"
422 -@copy "$(ROOT)\library\dde\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\dde1.1"
423 @echo installing $(TCLREGDLLNAME)
424 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\reg1.1"
425 -@copy "$(TCLREGDLL)" "$(SCRIPT_INSTALL_DIR)\reg1.1"
426 -@copy "$(ROOT)\library\reg\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\reg1.1"
427 @echo installing encoding files
428 -@$(MKDIR) "$(SCRIPT_INSTALL_DIR)\encoding"
429 -@copy "$(ROOT)\library\encoding\*.enc" "$(SCRIPT_INSTALL_DIR)\encoding"
430 @echo installing library files
431 -@copy "$(GENERICDIR)\tcl.h" "$(INCLUDE_INSTALL_DIR)"
432 -@copy "$(GENERICDIR)\tclDecls.h" "$(INCLUDE_INSTALL_DIR)"
433 -@copy "$(GENERICDIR)\tclPlatDecls.h" "$(INCLUDE_INSTALL_DIR)"
434 -@copy "$(ROOT)\library\history.tcl" "$(SCRIPT_INSTALL_DIR)"
435 -@copy "$(ROOT)\library\init.tcl" "$(SCRIPT_INSTALL_DIR)"
436 -@copy "$(ROOT)\library\ldAout.tcl" "$(SCRIPT_INSTALL_DIR)"
437 -@copy "$(ROOT)\library\parray.tcl" "$(SCRIPT_INSTALL_DIR)"
438 -@copy "$(ROOT)\library\safe.tcl" "$(SCRIPT_INSTALL_DIR)"
439 -@copy "$(ROOT)\library\tclIndex" "$(SCRIPT_INSTALL_DIR)"
440 -@copy "$(ROOT)\library\package.tcl" "$(SCRIPT_INSTALL_DIR)"
441 -@copy "$(ROOT)\library\word.tcl" "$(SCRIPT_INSTALL_DIR)"
442 -@copy "$(ROOT)\library\auto.tcl" "$(SCRIPT_INSTALL_DIR)"
445 # Regenerate the stubs files.
449 tclsh$(VERSION) $(ROOT)\tools\genStubs.tcl $(GENERICDIR) \
450 $(GENERICDIR)\tcl.decls $(GENERICDIR)\tclInt.decls
453 # Regenerate the windows help files.
456 TCLTOOLS = $(ROOT)/tools
457 MAN2TCL = $(TCLTOOLS)/man2tcl
458 TCLRTF = $(TCLTOOLS)/tcl.rtf
459 TCLHPJ = $(TCLTOOLS)/tcl.hpj
460 MAN2HELP = $(TCLTOOLS)/man2help.tcl
461 HCRTF = $(TOOLS32)/bin/hcrtf.exe
465 start /wait $(HCRTF) -xn $(TCLHPJ)
467 $(MAN2TCL).exe: $(MAN2TCL).obj
469 $(cc32) /nologo /G4 /ML /O2 $(MAN2TCL).c
471 $(TCLRTF): $(MAN2TCL).exe $(TCLSH)
473 ..\win\$(TCLSH) $(MAN2HELP) $(NAMEPREFIX) $(VERSION) $(ROOT)/doc ../../tk$(DOTVERSION)/doc
476 # Special case object file targets
478 $(TMPDIR)\tclWinInit.obj: $(WINDIR)\tclWinInit.c
479 $(cc32) -DBUILD_tcl $(TCL_CFLAGS) -o$(TMPDIR)\$@ $?
481 $(TMPDIR)\testMain.obj: $(WINDIR)\tclAppInit.c
482 $(cc32) $(TCL_CFLAGS) -DTCL_TEST -o$(TMPDIR)\testMain.obj $?
484 $(TMPDIR)\tclTest.obj: $(GENERICDIR)\tclTest.c
485 $(cc32) $(TCL_CFLAGS) -o$(TMPDIR)\$@ $?
487 $(TMPDIR)\tclTestObj.obj: $(GENERICDIR)\tclTestObj.c
488 $(cc32) $(TCL_CFLAGS) -o$(TMPDIR)\$@ $?
490 $(TMPDIR)\tclWinTest.obj: $(WINDIR)\tclWinTest.c
491 $(cc32) $(TCL_CFLAGS) -o$(TMPDIR)\$@ $?
493 $(TMPDIR)\tclAppInit.obj : $(WINDIR)\tclAppInit.c
494 $(cc32) $(TCL_CFLAGS) -o$(TMPDIR)\$@ $?
496 # The following objects should be built using the stub interfaces
498 # tclWinReg: Produces errors in ANSI mode
499 $(TMPDIR)\tclWinReg.obj : $(WINDIR)\tclWinReg.c
500 $(cc32) $(TCL_CFLAGS) -DUSE_TCL_STUBS -o$(TMPDIR)\$@ $?
502 # tclWinDde: Produces errors in ANSI mode
503 $(TMPDIR)\tclWinDde.obj : $(WINDIR)\tclWinDde.c
504 $(cc32) $(TCL_CFLAGS) -DUSE_TCL_STUBS -o$(TMPDIR)\$@ $?
507 # The following objects are part of the stub library and should not
508 # be built as DLL objects but none of the symbols should be exported
510 $(TMPDIR)\tclStubLib.obj : $(GENERICDIR)\tclStubLib.c
511 $(cc32) $(TCL_CFLAGS) -DSTATIC_BUILD -o$(TMPDIR)\$@ $?
516 $(GENERICDIR)\regcomp.c: \
517 $(GENERICDIR)\regguts.h \
518 $(GENERICDIR)\regc_lex.c \
519 $(GENERICDIR)\regc_color.c \
520 $(GENERICDIR)\regc_nfa.c \
521 $(GENERICDIR)\regc_cvec.c \
522 $(GENERICDIR)\regc_locale.c
524 $(GENERICDIR)\regcustom.h: \
525 $(GENERICDIR)\tclInt.h \
526 $(GENERICDIR)\tclPort.h \
527 $(GENERICDIR)\regex.h
529 $(GENERICDIR)\regexec.c: \
530 $(GENERICDIR)\rege_dfa.c \
531 $(GENERICDIR)\regguts.h
533 $(GENERICDIR)\regerror.c: $(GENERICDIR)\regguts.h
534 $(GENERICDIR)\regfree.c: $(GENERICDIR)\regguts.h
535 $(GENERICDIR)\regfronts.c: $(GENERICDIR)\regguts.h
536 $(GENERICDIR)\regguts.h: $(GENERICDIR)\regcustom.h
542 {$(WINDIR)}.c{$(TMPDIR)}.obj:
543 $(cc32) -DBUILD_tcl $(TCL_CFLAGS) -o$@ $<
545 {$(GENERICDIR)}.c{$(TMPDIR)}.obj:
546 $(cc32) -DBUILD_tcl $(TCL_CFLAGS) -o$@ $<
548 {$(ROOT)\compat}.c{$(TMPDIR)}.obj:
549 $(cc32) -DBUILD_tcl $(TCL_CFLAGS) -o$@ $<
551 {$(WINDIR)}.rc{$(TMPDIR)}.res:
552 $(rc32) $(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
555 -@$(RM) $(OUTDIR)\*.exp
556 -@$(RM) $(OUTDIR)\*.lib
557 -@$(RM) $(OUTDIR)\*.dll
558 -@$(RM) $(OUTDIR)\*.exe
559 -@$(RM) $(OUTDIR)\*.pdb
560 -@$(RM) $(TMPDIR)\*.pch
561 -@$(RM) $(TMPDIR)\*.obj
562 -@$(RM) $(TMPDIR)\*.res
563 -@$(RM) $(TMPDIR)\*.exe