OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [win/] [makefile.vc] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Visual C++ 2.x and 4.0 makefile
2
#
3
# See the file "license.terms" for information on usage and redistribution
4
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
5
#
6
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
7
# RCS: @(#) $Id: makefile.vc,v 1.1.1.1 2002-01-16 10:25:38 markom Exp $
8
 
9
# Does not depend on the presence of any environment variables in
10
# order to compile tcl; all needed information is derived from
11
# location of the compiler directories.
12
 
13
#
14
# Project directories
15
#
16
# ROOT    = top of source tree
17
#
18
# TMPDIR  = location where .obj files should be stored during build
19
#
20
# TOOLS32 = location of VC++ 32-bit development tools. Note that the
21
#           VC++ 2.0 header files are broken, so you need to use the
22
#           ones that come with the developer network CD's, or later
23
#           versions of VC++.
24
#
25
# TOOLS16 = location of VC++ 1.5 16-bit tools, needed to build thunking
26
#           library.  This information is optional; if the 16-bit compiler
27
#           is not available, then the 16-bit code will not be built.
28
#           Tcl will still run without the 16-bit code, but...
29
#               A. Under Windows 3.X you will any calls to the exec command
30
#                  will return an error.
31
#               B. A 16-bit program to test the behavior of the exec
32
#                  command under NT and 95 will not be built.
33
# INSTALLDIR = where the install- targets should copy the binaries and
34
#           support files
35
#
36
 
37
ROOT            = ..
38
TOOLS32         = c:\progra~1\devstudio\vc
39
TOOLS32_rc      = c:\progra~1\devstudio\sharedide
40
TOOLS16         = c:\msvc
41
 
42
INSTALLDIR      = c:\progra~1\Tcl
43
 
44
# Set this to the appropriate value of /MACHINE: for your platform
45
MACHINE = IX86
46
 
47
# Set NODEBUG to 0 to compile with symbols
48
NODEBUG = 1
49
 
50
# uncomment one of the following lines to compile with TCL_MEM_DEBUG,
51
# TCL_MEM_DEBUG, or TCL_COMPILE_DEBUG
52
#DEBUGDEFINES   = -DTCL_MEM_DEBUG
53
#DEBUGDEFINES   = -DTCL_MEM_DEBUG -DTCL_COMPILE_DEBUG
54
#DEBUGDEFINES   = -DTCL_MEM_DEBUG -DTCL_COMPILE_STATS
55
#DEBUGDEFINES   = -DTCL_MEM_DEBUG -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS
56
 
57
######################################################################
58
# Do not modify below this line
59
######################################################################
60
 
61
NAMEPREFIX = tcl
62
DOTVERSION = 8.0
63
VERSION = 80
64
 
65
BINROOT         = .
66
!IF "$(NODEBUG)" == "1"
67
TMPDIRNAME      = Release
68
DBGX            =
69
!ELSE
70
TMPDIRNAME      = Debug
71
DBGX            = d
72
!ENDIF
73
TMPDIR          = $(BINROOT)\$(TMPDIRNAME)
74
OUTDIRNAME      = $(TMPDIRNAME)
75
OUTDIR          = $(TMPDIR)
76
 
77
TCLLIB          = $(OUTDIR)\$(NAMEPREFIX)$(VERSION)$(DBGX).lib
78
TCLDLLNAME      = $(NAMEPREFIX)$(VERSION)$(DBGX).dll
79
TCLDLL          = $(OUTDIR)\$(TCLDLLNAME)
80
TCLPLUGINLIB    = $(OUTDIR)\$(NAMEPREFIX)$(VERSION)p$(DBGX).lib
81
TCLPLUGINDLLNAME= $(NAMEPREFIX)$(VERSION)p$(DBGX).dll
82
TCLPLUGINDLL    = $(OUTDIR)\$(TCLPLUGINDLLNAME)
83
TCL16DLL        = $(OUTDIR)\$(NAMEPREFIX)16$(VERSION)$(DBGX).dll
84
TCLSH           = $(OUTDIR)\$(NAMEPREFIX)sh$(VERSION)$(DBGX).exe
85
TCLSHP          = $(OUTDIR)\$(NAMEPREFIX)shp$(VERSION)$(DBGX).exe
86
TCLPIPEDLLNAME  = $(NAMEPREFIX)pip$(VERSION)$(DBGX).dll
87
TCLPIPEDLL      = $(OUTDIR)\$(TCLPIPEDLLNAME)
88
TCLREGDLLNAME   = $(NAMEPREFIX)reg$(VERSION)$(DBGX).dll
89
TCLREGDLL       = $(OUTDIR)\$(TCLREGDLLNAME)
90
TCLTEST         = $(OUTDIR)\$(NAMEPREFIX)test.exe
91
DUMPEXTS        = $(TMPDIR)\dumpexts.exe
92
CAT16           = $(TMPDIR)\cat16.exe
93
CAT32           = $(TMPDIR)\cat32.exe
94
 
95
LIB_INSTALL_DIR = $(INSTALLDIR)\lib
96
BIN_INSTALL_DIR = $(INSTALLDIR)\bin
97
SCRIPT_INSTALL_DIR      = $(INSTALLDIR)\lib\tcl$(DOTVERSION)
98
INCLUDE_INSTALL_DIR     = $(INSTALLDIR)\include
99
 
100
TCLSHOBJS = \
101
        $(TMPDIR)\tclAppInit.obj
102
 
103
TCLTESTOBJS = \
104
        $(TMPDIR)\tclTest.obj \
105
        $(TMPDIR)\tclTestObj.obj \
106
        $(TMPDIR)\tclTestProcBodyObj.obj \
107
        $(TMPDIR)\tclWinTest.obj \
108
        $(TMPDIR)\testMain.obj
109
 
110
TCLOBJS = \
111
        $(TMPDIR)\panic.obj \
112
        $(TMPDIR)\regexp.obj \
113
        $(TMPDIR)\strftime.obj \
114
        $(TMPDIR)\tclAlloc.obj \
115
        $(TMPDIR)\tclAsync.obj \
116
        $(TMPDIR)\tclBasic.obj \
117
        $(TMPDIR)\tclBinary.obj \
118
        $(TMPDIR)\tclCkalloc.obj \
119
        $(TMPDIR)\tclClock.obj \
120
        $(TMPDIR)\tclCmdAH.obj \
121
        $(TMPDIR)\tclCmdIL.obj \
122
        $(TMPDIR)\tclCmdMZ.obj \
123
        $(TMPDIR)\tclCompExpr.obj \
124
        $(TMPDIR)\tclCompile.obj \
125
        $(TMPDIR)\tclDate.obj \
126
        $(TMPDIR)\tclEnv.obj \
127
        $(TMPDIR)\tclEvent.obj \
128
        $(TMPDIR)\tclExecute.obj \
129
        $(TMPDIR)\tclFCmd.obj \
130
        $(TMPDIR)\tclFileName.obj \
131
        $(TMPDIR)\tclGet.obj \
132
        $(TMPDIR)\tclHash.obj \
133
        $(TMPDIR)\tclHistory.obj \
134
        $(TMPDIR)\tclIndexObj.obj \
135
        $(TMPDIR)\tclInterp.obj \
136
        $(TMPDIR)\tclIO.obj \
137
        $(TMPDIR)\tclIOCmd.obj \
138
        $(TMPDIR)\tclIOSock.obj \
139
        $(TMPDIR)\tclIOUtil.obj \
140
        $(TMPDIR)\tclLink.obj \
141
        $(TMPDIR)\tclListObj.obj \
142
        $(TMPDIR)\tclLoad.obj \
143
        $(TMPDIR)\tclMain.obj \
144
        $(TMPDIR)\tclNamesp.obj \
145
        $(TMPDIR)\tclNotify.obj \
146
        $(TMPDIR)\tclObj.obj \
147
        $(TMPDIR)\tclParse.obj \
148
        $(TMPDIR)\tclPipe.obj \
149
        $(TMPDIR)\tclPkg.obj \
150
        $(TMPDIR)\tclPosixStr.obj \
151
        $(TMPDIR)\tclPreserve.obj \
152
        $(TMPDIR)\tclResolve.obj \
153
        $(TMPDIR)\tclProc.obj \
154
        $(TMPDIR)\tclStringObj.obj \
155
        $(TMPDIR)\tclTimer.obj \
156
        $(TMPDIR)\tclUtil.obj \
157
        $(TMPDIR)\tclVar.obj \
158
        $(TMPDIR)\tclWin32Dll.obj \
159
        $(TMPDIR)\tclWinChan.obj \
160
        $(TMPDIR)\tclWinError.obj \
161
        $(TMPDIR)\tclWinFCmd.obj \
162
        $(TMPDIR)\tclWinFile.obj \
163
        $(TMPDIR)\tclWinInit.obj \
164
        $(TMPDIR)\tclWinLoad.obj \
165
        $(TMPDIR)\tclWinMtherr.obj \
166
        $(TMPDIR)\tclWinNotify.obj \
167
        $(TMPDIR)\tclWinPipe.obj \
168
        $(TMPDIR)\tclWinSock.obj \
169
        $(TMPDIR)\tclWinTime.obj
170
 
171
cc32            = $(TOOLS32)\bin\cl.exe
172
link32          = $(TOOLS32)\bin\link.exe
173
rc32            = $(TOOLS32_rc)\bin\rc.exe
174
include32       = -I$(TOOLS32)\include
175
 
176
cc16            = $(TOOLS16)\bin\cl.exe
177
link16          = $(TOOLS16)\bin\link.exe
178
rc16            = $(TOOLS16)\bin\rc.exe
179
include16       = -I$(TOOLS16)\include
180
 
181
WINDIR          = $(ROOT)\win
182
GENERICDIR      = $(ROOT)\generic
183
 
184
TCL_INCLUDES    = -I$(WINDIR) -I$(GENERICDIR)
185
TCL_DEFINES     = -D__WIN32__ $(DEBUGDEFINES)
186
 
187
TCL_CFLAGS      = $(cdebug) $(cflags) $(cvarsdll) $(include32) \
188
                        $(TCL_INCLUDES) $(TCL_DEFINES)
189
CON_CFLAGS      = $(cdebug) $(cflags) $(cvars) $(include32) -DCONSOLE
190
DOS_CFLAGS      = $(cdebug) $(cflags) $(include16) -AL
191
DLL16_CFLAGS    = $(cdebug) $(cflags) $(include16) -ALw
192
 
193
######################################################################
194
# Link flags
195
######################################################################
196
 
197
!IF "$(NODEBUG)" == "1"
198
ldebug = /RELEASE
199
!ELSE
200
ldebug = -debug:full -debugtype:cv
201
!ENDIF
202
 
203
# declarations common to all linker options
204
lcommon = /NODEFAULTLIB /RELEASE /NOLOGO
205
 
206
# declarations for use on Intel i386, i486, and Pentium systems
207
!IF "$(MACHINE)" == "IX86"
208
DLLENTRY = @12
209
lflags   = $(lcommon) /MACHINE:$(MACHINE)
210
!ELSE
211
lflags   = $(lcommon) /MACHINE:$(MACHINE)
212
!ENDIF
213
 
214
conlflags = $(lflags) -subsystem:console -entry:mainCRTStartup
215
guilflags = $(lflags) -subsystem:windows -entry:WinMainCRTStartup
216
dlllflags = $(lflags) -entry:_DllMainCRTStartup$(DLLENTRY) -dll
217
 
218
!IF "$(MACHINE)" == "PPC"
219
libc = libc$(DBGX).lib
220
libcdll = crtdll$(DBGX).lib
221
!ELSE
222
libc = libc$(DBGX).lib oldnames.lib
223
libcdll = msvcrt$(DBGX).lib oldnames.lib
224
!ENDIF
225
 
226
baselibs   = kernel32.lib $(optlibs) advapi32.lib user32.lib
227
winlibs    = $(baselibs) gdi32.lib comdlg32.lib winspool.lib
228
 
229
guilibs    = $(libc) $(winlibs)
230
conlibs    = $(libc) $(baselibs)
231
guilibsdll = $(libcdll) $(winlibs)
232
conlibsdll = $(libcdll) $(baselibs)
233
 
234
######################################################################
235
# Compile flags
236
######################################################################
237
 
238
!IF "$(NODEBUG)" == "1"
239
!IF "$(MACHINE)" == "ALPHA"
240
# MSVC on Alpha doesn't understand -Ot
241
cdebug = -O2i -Gs -GD
242
!ELSE
243
#cdebug = -Oti -Gs -GD
244
# This cranks the optimization level to maximize speed
245
cdebug = -O2 -Gs -GD
246
!ENDIF
247
!ELSE
248
cdebug = -Z7 -Od -WX
249
!ENDIF
250
 
251
# declarations common to all compiler options
252
ccommon = -c -W3 -nologo -YX -Fp$(TMPDIR)\ -Dtry=__try -Dexcept=__except
253
 
254
!IF "$(MACHINE)" == "IX86"
255
cflags = $(ccommon) -D_X86_=1
256
!ELSE
257
!IF "$(MACHINE)" == "MIPS"
258
cflags = $(ccommon) -D_MIPS_=1
259
!ELSE
260
!IF "$(MACHINE)" == "PPC"
261
cflags = $(ccommon) -D_PPC_=1
262
!ELSE
263
!IF "$(MACHINE)" == "ALPHA"
264
cflags = $(ccommon) -D_ALPHA_=1
265
!ENDIF
266
!ENDIF
267
!ENDIF
268
!ENDIF
269
 
270
cvars      = -DWIN32 -D_WIN32
271
cvarsmt    = $(cvars) -D_MT
272
cvarsdll   = $(cvarsmt) -D_DLL
273
 
274
!IF "$(NODEBUG)" == "1"
275
cvarsdll   = $(cvars) -MD
276
!ELSE
277
cvarsdll   = $(cvars) -MDd
278
!ENDIF
279
 
280
######################################################################
281
# Project specific targets
282
######################################################################
283
 
284
release:    setup $(TCLSH) dlls
285
dlls:       setup $(TCL16DLL) $(TCLPIPEDLL) $(TCLREGDLL)
286
all:        setup $(TCLSH) dlls $(CAT16) $(CAT32)
287
tcltest:    setup $(TCLTEST) dlls $(CAT16) $(CAT32)
288
plugin:     setup $(TCLPLUGINDLL) $(TCLSHP)
289
install:    install-binaries install-libraries
290
test:       setup $(TCLTEST) dlls $(CAT16) $(CAT32)
291
        copy $(WINDIR)\pkgIndex.tcl $(OUTDIR)
292
        set TCL_LIBRARY=$(ROOT)/library
293
        $(TCLTEST) <<
294
                cd ../tests
295
                source all
296
<<
297
 
298
setup:
299
        @mkd $(TMPDIR)
300
        @mkd $(OUTDIR)
301
 
302
$(DUMPEXTS): $(WINDIR)\winDumpExts.c
303
        $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $?
304
        set LIB=$(TOOLS32)\lib
305
        $(link32) $(ldebug) $(conlflags) $(guilibs) -out:$@ \
306
                $(TMPDIR)\winDumpExts.obj
307
 
308
$(TCLLIB): $(TCLDLL)
309
 
310
$(TCLDLL): $(TCLOBJS) $(TMPDIR)\tcl.def $(TMPDIR)\tcl.res
311
        set LIB=$(TOOLS32)\lib
312
        $(link32) $(ldebug) $(dlllflags) -def:$(TMPDIR)\tcl.def \
313
                -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @<<
314
$(TCLOBJS)
315
<<
316
 
317
$(TCLPLUGINLIB): $(TCLPLUGINDLL)
318
 
319
$(TCLPLUGINDLL): $(TCLOBJS) $(TMPDIR)\plugin.def $(TMPDIR)\tcl.res
320
        set LIB=$(TOOLS32)\lib
321
        $(link32) $(ldebug) $(dlllflags) -def:$(TMPDIR)\plugin.def \
322
                -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @<<
323
$(TCLOBJS)
324
<<
325
 
326
$(TCLSH): $(TCLSHOBJS) $(TCLLIB) $(TMPDIR)\tclsh.res
327
        set LIB=$(TOOLS32)\lib
328
        $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 \
329
                -out:$@ $(conlibsdll) $(TCLLIB) $(TCLSHOBJS)
330
 
331
$(TCLSHP): $(TCLSHOBJS) $(TCLPLUGINLIB) $(TMPDIR)\tclsh.res
332
        set LIB=$(TOOLS32)\lib
333
        $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 \
334
                -out:$@ $(conlibsdll) $(TCLPLUGINLIB) $(TCLSHOBJS)
335
 
336
$(TCLTEST): $(TCLTESTOBJS) $(TCLLIB) $(TMPDIR)\tclsh.res
337
        set LIB=$(TOOLS32)\lib
338
        $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 \
339
                 -out:$@ $(conlibsdll) $(TCLLIB) $(TCLTESTOBJS)
340
 
341
$(TCL16DLL):  $(WINDIR)\tcl16.rc $(WINDIR)\tclWin16.c
342
        if exist $(cc16) $(cc16) @<<
343
$(DLL16_CFLAGS) -Fo$(TMPDIR)\ $(WINDIR)\tclWin16.c
344
<<
345
        @copy << $(TMPDIR)\tclWin16.def > nul
346
LIBRARY $(@B);dll
347
EXETYPE WINDOWS
348
CODE PRELOAD MOVEABLE DISCARDABLE
349
DATA PRELOAD MOVEABLE SINGLE
350
HEAPSIZE 1024
351
EXPORTS
352
        WEP @1 RESIDENTNAME
353
        UTPROC @2
354
<<
355
        if exist $(cc16) $(link16) /NOLOGO /ONERROR:NOEXE /NOE @<<
356
$(TMPDIR)\tclWin16.obj
357
$@
358
nul
359
$(TOOLS16)\lib\ ldllcew oldnames libw toolhelp
360
$(TMPDIR)\tclWin16.def
361
<<
362
        if exist $(cc16) $(rc16) -i $(GENERICDIR) $(TCL_DEFINES) $(WINDIR)\tcl16.rc $@
363
 
364
$(TCLPIPEDLL): $(WINDIR)\stub16.c
365
        $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $(WINDIR)\stub16.c
366
        set LIB=$(TOOLS32)\lib
367
        $(link32) $(ldebug) $(conlflags) -out:$@ $(TMPDIR)\stub16.obj $(guilibs)
368
 
369
$(TCLREGDLL): $(TMPDIR)\tclWinReg.obj
370
        set LIB=$(TOOLS32)\lib
371
        $(link32) $(ldebug) $(dlllflags) -out:$@ $(TMPDIR)\tclWinReg.obj \
372
                $(conlibsdll) $(TCLLIB)
373
 
374
$(CAT32): $(WINDIR)\cat.c
375
        $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $?
376
        set LIB=$(TOOLS32)\lib
377
        $(link32) $(conlflags) -out:$@ -stack:16384 $(TMPDIR)\cat.obj $(conlibs)
378
 
379
$(CAT16): $(WINDIR)\cat.c
380
        if exist $(cc16) $(cc16) $(DOS_CFLAGS) -Fo$(TMPDIR)\ $?
381
        set LIB=$(TOOLS16)\lib
382
        if exist $(cc16) $(link16) /NOLOGO /ONERROR:NOEXE /NOI /STACK:16384 \
383
                $(TMPDIR)\cat.obj,$@,nul,llibce.lib,nul
384
 
385
$(TMPDIR)\tcl.def: $(DUMPEXTS) $(TCLOBJS)
386
        $(DUMPEXTS) -o $@ $(TCLDLLNAME) @<<
387
$(TCLOBJS)
388
<<
389
 
390
$(TMPDIR)\plugin.def: $(DUMPEXTS) $(TCLOBJS)
391
        $(DUMPEXTS) -o $@ $(TCLPLUGINDLLNAME) @<<
392
$(TCLOBJS)
393
<<
394
 
395
install-binaries: $(TCLSH)
396
        @mkd $(BIN_INSTALL_DIR)
397
        @mkd $(LIB_INSTALL_DIR)
398
        @echo installing $(TCLDLLNAME)
399
        @copy $(TCLDLL) $(BIN_INSTALL_DIR)
400
        @echo installing $(TCLSH)
401
        @copy $(TCLSH) $(BIN_INSTALL_DIR)
402
 
403
install-libraries:
404
        -@mkd $(LIB_INSTALL_DIR)
405
        -@mkd $(INCLUDE_INSTALL_DIR)
406
        -@mkd $(SCRIPT_INSTALL_DIR)
407
        -@mkd $(SCRIPT_INSTALL_DIR)\http1.0
408
        -@copy $(ROOT)\library\http1.0\http.tcl $(SCRIPT_INSTALL_DIR)\http1.0
409
        -@copy $(ROOT)\library\http1.0\pkgIndex.tcl $(SCRIPT_INSTALL_DIR)\http1.0
410
        -@mkd $(SCRIPT_INSTALL_DIR)\http2.0
411
        -@copy $(ROOT)\library\http2.0\http.tcl $(SCRIPT_INSTALL_DIR)\http2.0
412
        -@copy $(ROOT)\library\http2.0\pkgIndex.tcl $(SCRIPT_INSTALL_DIR)\http2.0
413
        -@mkd $(SCRIPT_INSTALL_DIR)\opt0.1
414
        -@copy $(ROOT)\library\opt0.1\optparse.tcl $(SCRIPT_INSTALL_DIR)\opt0.1
415
        -@copy $(ROOT)\library\opt0.1\pkgIndex.tcl $(SCRIPT_INSTALL_DIR)\opt0.1
416
        -@copy $(GENERICDIR)\tcl.h $(INCLUDE_INSTALL_DIR)
417
        -@copy $(ROOT)\library\history.tcl $(SCRIPT_INSTALL_DIR)
418
        -@copy $(ROOT)\library\init.tcl $(SCRIPT_INSTALL_DIR)
419
        -@copy $(ROOT)\library\ldAout.tcl $(SCRIPT_INSTALL_DIR)
420
        -@copy $(ROOT)\library\parray.tcl $(SCRIPT_INSTALL_DIR)
421
        -@copy $(ROOT)\library\safe.tcl $(SCRIPT_INSTALL_DIR)
422
        -@copy $(ROOT)\library\tclIndex $(SCRIPT_INSTALL_DIR)
423
        -@copy $(ROOT)\library\word.tcl $(SCRIPT_INSTALL_DIR)
424
 
425
#
426
# Special case object file targets
427
#
428
 
429
$(TMPDIR)\tclWinInit.obj: $(WINDIR)\tclWinInit.c
430
        $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) $(EXTFLAGS) \
431
                -Fo$(TMPDIR)\ $?
432
 
433
$(TMPDIR)\testMain.obj: $(WINDIR)\tclAppInit.c
434
        $(cc32) $(TCL_CFLAGS) -DSTATIC_BUILD -DTCL_TEST \
435
                -Fo$(TMPDIR)\testMain.obj $?
436
 
437
$(TMPDIR)\tclTest.obj: $(GENERICDIR)\tclTest.c
438
        $(cc32) $(TCL_CFLAGS) -Fo$@ $?
439
 
440
$(TMPDIR)\tclTestObj.obj: $(GENERICDIR)\tclTestObj.c
441
        $(cc32) $(TCL_CFLAGS) -Fo$@ $?
442
 
443
$(TMPDIR)\tclWinTest.obj: $(WINDIR)\tclWinTest.c
444
        $(cc32) $(TCL_CFLAGS) -Fo$@ $?
445
 
446
$(TMPDIR)\tclAppInit.obj : $(WINDIR)\tclAppInit.c
447
        $(cc32) $(TCL_CFLAGS) -DSTATIC_BUILD -Fo$@ $?
448
 
449
#
450
# Implicit rules
451
#
452
 
453
{$(WINDIR)}.c{$(TMPDIR)}.obj:
454
    $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
455
 
456
{$(GENERICDIR)}.c{$(TMPDIR)}.obj:
457
    $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
458
 
459
{$(ROOT)\compat}.c{$(TMPDIR)}.obj:
460
    $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
461
 
462
{$(WINDIR)}.rc{$(TMPDIR)}.res:
463
        $(rc32) -fo $@ -r -i $(GENERICDIR) -i $(WINDIR) -D__WIN32__ \
464
                $(TCL_DEFINES) $<
465
 
466
clean:
467
        -@del $(OUTDIR)\*.exp
468
        -@del $(OUTDIR)\*.lib
469
        -@del $(OUTDIR)\*.dll
470
        -@del $(OUTDIR)\*.exe
471
        -@del $(OUTDIR)\*.pdb
472
        -@del $(TMPDIR)\*.pch
473
        -@del $(TMPDIR)\*.obj
474
        -@del $(TMPDIR)\*.res
475
        -@del $(TMPDIR)\*.def
476
        -@del $(TMPDIR)\*.exe
477
        -@rmd $(OUTDIR)
478
        -@rmd $(TMPDIR)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.