]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makebase.wat
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / msw / makebase.wat
CommitLineData
a0499e2f
VZ
1#!/binb/wmake.exe
2
3# This file was automatically generated by tmake
4# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WATBASE.T!
5
6##############################################################################
7# Name: makebase.wat
8# Purpose: Builds wxBase library for Watcom C++ under Win32
9# Author: Vadim Zeitlin
10# Created: 21.01.03
11# RCS-ID: $Id$
12# Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
13# Licence: wxWindows licence
14##############################################################################
15
16wxUSE_GUI=0
17
18!include ..\makewat.env
19
20LIBTARGET = $(WXDIR)\lib\wx$(TOOLKIT)$(DEBUGSUFFIX)_w.lib
21
22EXTRATARGETS = zlib regex
23EXTRATARGETSCLEAN = clean_zlib clean_regex
24COMMDIR=$(WXDIR)\src\common
25MSWDIR=$(WXDIR)\src\msw
26OLEDIR=$(MSWDIR)\ole
27
28COMMONOBJS = &
40bed4b6
CE
29 $(OUTPUTDIR)\appcmn.obj &
30 $(OUTPUTDIR)\clntdata.obj &
31 $(OUTPUTDIR)\cmdline.obj &
32 $(OUTPUTDIR)\config.obj &
40bed4b6
CE
33 $(OUTPUTDIR)\datetime.obj &
34 $(OUTPUTDIR)\datstrm.obj &
35 $(OUTPUTDIR)\db.obj &
36 $(OUTPUTDIR)\dbtable.obj &
37 $(OUTPUTDIR)\dircmn.obj &
38 $(OUTPUTDIR)\dynarray.obj &
39 $(OUTPUTDIR)\dynlib.obj &
40 $(OUTPUTDIR)\dynload.obj &
41 $(OUTPUTDIR)\encconv.obj &
42 $(OUTPUTDIR)\event.obj &
43 $(OUTPUTDIR)\extended.obj &
44 $(OUTPUTDIR)\ffile.obj &
45 $(OUTPUTDIR)\file.obj &
46 $(OUTPUTDIR)\fileconf.obj &
47 $(OUTPUTDIR)\filefn.obj &
48 $(OUTPUTDIR)\filename.obj &
49 $(OUTPUTDIR)\filesys.obj &
50 $(OUTPUTDIR)\fontmap.obj &
51 $(OUTPUTDIR)\fs_inet.obj &
52 $(OUTPUTDIR)\fs_mem.obj &
53 $(OUTPUTDIR)\fs_zip.obj &
54 $(OUTPUTDIR)\ftp.obj &
55 $(OUTPUTDIR)\hash.obj &
56 $(OUTPUTDIR)\hashmap.obj &
57 $(OUTPUTDIR)\http.obj &
58 $(OUTPUTDIR)\intl.obj &
59 $(OUTPUTDIR)\ipcbase.obj &
60 $(OUTPUTDIR)\list.obj &
61 $(OUTPUTDIR)\log.obj &
62 $(OUTPUTDIR)\longlong.obj &
63 $(OUTPUTDIR)\memory.obj &
64 $(OUTPUTDIR)\mimecmn.obj &
65 $(OUTPUTDIR)\module.obj &
66 $(OUTPUTDIR)\msgout.obj &
67 $(OUTPUTDIR)\mstream.obj &
68 $(OUTPUTDIR)\object.obj &
69 $(OUTPUTDIR)\process.obj &
70 $(OUTPUTDIR)\protocol.obj &
71 $(OUTPUTDIR)\regex.obj &
72 $(OUTPUTDIR)\sckaddr.obj &
73 $(OUTPUTDIR)\sckfile.obj &
74 $(OUTPUTDIR)\sckipc.obj &
75 $(OUTPUTDIR)\sckstrm.obj &
76 $(OUTPUTDIR)\socket.obj &
77 $(OUTPUTDIR)\strconv.obj &
78 $(OUTPUTDIR)\stream.obj &
79 $(OUTPUTDIR)\string.obj &
80 $(OUTPUTDIR)\sysopt.obj &
81 $(OUTPUTDIR)\textbuf.obj &
82 $(OUTPUTDIR)\textfile.obj &
83 $(OUTPUTDIR)\timercmn.obj &
84 $(OUTPUTDIR)\tokenzr.obj &
85 $(OUTPUTDIR)\txtstrm.obj &
86 $(OUTPUTDIR)\unzip.obj &
87 $(OUTPUTDIR)\url.obj &
88 $(OUTPUTDIR)\utilscmn.obj &
89 $(OUTPUTDIR)\variant.obj &
90 $(OUTPUTDIR)\wfstream.obj &
91 $(OUTPUTDIR)\wxchar.obj &
92 $(OUTPUTDIR)\zipstrm.obj &
93 $(OUTPUTDIR)\zstream.obj &
94 $(OUTPUTDIR)\init.obj
a0499e2f
VZ
95
96MSWOBJS = &
40bed4b6
CE
97 $(OUTPUTDIR)\dde.obj &
98 $(OUTPUTDIR)\dir.obj &
99 $(OUTPUTDIR)\gsocket.obj &
100 $(OUTPUTDIR)\gsockmsw.obj &
101 $(OUTPUTDIR)\main.obj &
102 $(OUTPUTDIR)\mimetype.obj &
103 $(OUTPUTDIR)\regconf.obj &
104 $(OUTPUTDIR)\registry.obj &
105 $(OUTPUTDIR)\snglinst.obj &
106 $(OUTPUTDIR)\thread.obj &
107 $(OUTPUTDIR)\utils.obj &
108 $(OUTPUTDIR)\utilsexc.obj &
109 $(OUTPUTDIR)\volume.obj
a0499e2f
VZ
110
111OBJECTS = $(COMMONOBJS) $(MSWOBJS)
112
113SETUP_H=$(ARCHINCDIR)\wx\setup.h
114
115all: $(SETUP_H) $(OUTPUTDIR) $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC
116
117$(ARCHINCDIR)\wx:
118 mkdir $(ARCHINCDIR)
119 mkdir $(ARCHINCDIR)\wx
120
121$(OUTPUTDIR):
122 mkdir $(OUTPUTDIR)
123
124$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h $(ARCHINCDIR)\wx
125 copy $(WXDIR)\include\wx\msw\setup.h $@
126
40bed4b6 127LBCFILE=$(OUTPUTDIR)\wx$(TOOLKIT).lbc
a0499e2f
VZ
128$(LIBTARGET) : $(OBJECTS)
129 %create $(LBCFILE)
130 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
131 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
132
133
134clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
572affa4 135 -erase $(OUTPUTDIR)\*.obj
a0499e2f 136 -erase $(LIBTARGET)
572affa4
CE
137 -erase $(OUTPUTDIR)\*.pch
138 -erase $(OUTPUTDIR)\*.err
139 -erase $(OUTPUTDIR)\*.lbc
a0499e2f
VZ
140
141cleanall: clean
142 -erase $(LBCFILE)
143
40bed4b6 144$(OUTPUTDIR)\dde.obj: $(MSWDIR)\dde.cpp
a0499e2f
VZ
145 *$(CXX) $(CXXFLAGS) $<
146
40bed4b6 147$(OUTPUTDIR)\dir.obj: $(MSWDIR)\dir.cpp
a0499e2f
VZ
148 *$(CXX) $(CXXFLAGS) $<
149
40bed4b6 150$(OUTPUTDIR)\gsocket.obj: $(MSWDIR)\gsocket.c
a0499e2f
VZ
151 *$(CC) $(CFLAGS) $<
152
40bed4b6 153$(OUTPUTDIR)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c
a0499e2f
VZ
154 *$(CC) $(CFLAGS) $<
155
40bed4b6 156$(OUTPUTDIR)\main.obj: $(MSWDIR)\main.cpp
a0499e2f
VZ
157 *$(CXX) $(CXXFLAGS) $<
158
40bed4b6 159$(OUTPUTDIR)\mimetype.obj: $(MSWDIR)\mimetype.cpp
a0499e2f
VZ
160 *$(CXX) $(CXXFLAGS) $<
161
40bed4b6 162$(OUTPUTDIR)\regconf.obj: $(MSWDIR)\regconf.cpp
a0499e2f
VZ
163 *$(CXX) $(CXXFLAGS) $<
164
40bed4b6 165$(OUTPUTDIR)\registry.obj: $(MSWDIR)\registry.cpp
a0499e2f
VZ
166 *$(CXX) $(CXXFLAGS) $<
167
40bed4b6 168$(OUTPUTDIR)\snglinst.obj: $(MSWDIR)\snglinst.cpp
a0499e2f
VZ
169 *$(CXX) $(CXXFLAGS) $<
170
40bed4b6 171$(OUTPUTDIR)\thread.obj: $(MSWDIR)\thread.cpp
a0499e2f
VZ
172 *$(CXX) $(CXXFLAGS) $<
173
40bed4b6 174$(OUTPUTDIR)\utils.obj: $(MSWDIR)\utils.cpp
a0499e2f
VZ
175 *$(CXX) $(CXXFLAGS) $<
176
40bed4b6 177$(OUTPUTDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.cpp
a0499e2f
VZ
178 *$(CXX) $(CXXFLAGS) $<
179
40bed4b6 180$(OUTPUTDIR)\volume.obj: $(MSWDIR)\volume.cpp
a0499e2f
VZ
181 *$(CXX) $(CXXFLAGS) $<
182
183
184
185########################################################
186# Common objects (always compiled)
187
40bed4b6 188$(OUTPUTDIR)\appcmn.obj: $(COMMDIR)\appcmn.cpp
a0499e2f
VZ
189 *$(CXX) $(CXXFLAGS) $<
190
40bed4b6 191$(OUTPUTDIR)\clntdata.obj: $(COMMDIR)\clntdata.cpp
a0499e2f
VZ
192 *$(CXX) $(CXXFLAGS) $<
193
40bed4b6 194$(OUTPUTDIR)\cmdline.obj: $(COMMDIR)\cmdline.cpp
a0499e2f
VZ
195 *$(CXX) $(CXXFLAGS) $<
196
40bed4b6 197$(OUTPUTDIR)\config.obj: $(COMMDIR)\config.cpp
a0499e2f
VZ
198 *$(CXX) $(CXXFLAGS) $<
199
40bed4b6 200$(OUTPUTDIR)\datetime.obj: $(COMMDIR)\datetime.cpp
a0499e2f
VZ
201 *$(CXX) $(CXXFLAGS) $<
202
40bed4b6 203$(OUTPUTDIR)\datstrm.obj: $(COMMDIR)\datstrm.cpp
a0499e2f
VZ
204 *$(CXX) $(CXXFLAGS) $<
205
40bed4b6 206$(OUTPUTDIR)\db.obj: $(COMMDIR)\db.cpp
a0499e2f
VZ
207 *$(CXX) $(CXXFLAGS) $<
208
40bed4b6 209$(OUTPUTDIR)\dbtable.obj: $(COMMDIR)\dbtable.cpp
a0499e2f
VZ
210 *$(CXX) $(CXXFLAGS) $<
211
40bed4b6 212$(OUTPUTDIR)\dircmn.obj: $(COMMDIR)\dircmn.cpp
a0499e2f
VZ
213 *$(CXX) $(CXXFLAGS) $<
214
40bed4b6 215$(OUTPUTDIR)\dynarray.obj: $(COMMDIR)\dynarray.cpp
a0499e2f
VZ
216 *$(CXX) $(CXXFLAGS) $<
217
40bed4b6 218$(OUTPUTDIR)\dynlib.obj: $(COMMDIR)\dynlib.cpp
a0499e2f
VZ
219 *$(CXX) $(CXXFLAGS) $<
220
40bed4b6 221$(OUTPUTDIR)\dynload.obj: $(COMMDIR)\dynload.cpp
a0499e2f
VZ
222 *$(CXX) $(CXXFLAGS) $<
223
40bed4b6 224$(OUTPUTDIR)\encconv.obj: $(COMMDIR)\encconv.cpp
a0499e2f
VZ
225 *$(CXX) $(CXXFLAGS) $<
226
40bed4b6
CE
227$(OUTPUTDIR)\event.obj: $(COMMDIR)\event.cpp
228 *$(CXX) $(CXXFLAGS) $<
229
230$(OUTPUTDIR)\extended.obj: $(COMMDIR)\extended.c
a0499e2f
VZ
231 *$(CC) $(CFLAGS) $<
232
40bed4b6 233$(OUTPUTDIR)\ffile.obj: $(COMMDIR)\ffile.cpp
a0499e2f
VZ
234 *$(CXX) $(CXXFLAGS) $<
235
40bed4b6 236$(OUTPUTDIR)\file.obj: $(COMMDIR)\file.cpp
a0499e2f
VZ
237 *$(CXX) $(CXXFLAGS) $<
238
40bed4b6 239$(OUTPUTDIR)\fileconf.obj: $(COMMDIR)\fileconf.cpp
a0499e2f
VZ
240 *$(CXX) $(CXXFLAGS) $<
241
40bed4b6 242$(OUTPUTDIR)\filefn.obj: $(COMMDIR)\filefn.cpp
a0499e2f
VZ
243 *$(CXX) $(CXXFLAGS) $<
244
40bed4b6 245$(OUTPUTDIR)\filename.obj: $(COMMDIR)\filename.cpp
a0499e2f
VZ
246 *$(CXX) $(CXXFLAGS) $<
247
40bed4b6 248$(OUTPUTDIR)\filesys.obj: $(COMMDIR)\filesys.cpp
a0499e2f
VZ
249 *$(CXX) $(CXXFLAGS) $<
250
40bed4b6 251$(OUTPUTDIR)\fontmap.obj: $(COMMDIR)\fontmap.cpp
a0499e2f
VZ
252 *$(CXX) $(CXXFLAGS) $<
253
40bed4b6 254$(OUTPUTDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.cpp
a0499e2f
VZ
255 *$(CXX) $(CXXFLAGS) $<
256
40bed4b6 257$(OUTPUTDIR)\fs_mem.obj: $(COMMDIR)\fs_mem.cpp
a0499e2f
VZ
258 *$(CXX) $(CXXFLAGS) $<
259
40bed4b6 260$(OUTPUTDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.cpp
a0499e2f
VZ
261 *$(CXX) $(CXXFLAGS) $<
262
40bed4b6 263$(OUTPUTDIR)\ftp.obj: $(COMMDIR)\ftp.cpp
a0499e2f
VZ
264 *$(CXX) $(CXXFLAGS) $<
265
40bed4b6 266$(OUTPUTDIR)\hash.obj: $(COMMDIR)\hash.cpp
a0499e2f
VZ
267 *$(CXX) $(CXXFLAGS) $<
268
40bed4b6 269$(OUTPUTDIR)\hashmap.obj: $(COMMDIR)\hashmap.cpp
a0499e2f
VZ
270 *$(CXX) $(CXXFLAGS) $<
271
40bed4b6 272$(OUTPUTDIR)\http.obj: $(COMMDIR)\http.cpp
a0499e2f
VZ
273 *$(CXX) $(CXXFLAGS) $<
274
40bed4b6 275$(OUTPUTDIR)\intl.obj: $(COMMDIR)\intl.cpp
a0499e2f
VZ
276 *$(CXX) $(CXXFLAGS) $<
277
40bed4b6 278$(OUTPUTDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.cpp
a0499e2f
VZ
279 *$(CXX) $(CXXFLAGS) $<
280
40bed4b6 281$(OUTPUTDIR)\list.obj: $(COMMDIR)\list.cpp
a0499e2f
VZ
282 *$(CXX) $(CXXFLAGS) $<
283
40bed4b6 284$(OUTPUTDIR)\log.obj: $(COMMDIR)\log.cpp
a0499e2f
VZ
285 *$(CXX) $(CXXFLAGS) $<
286
40bed4b6 287$(OUTPUTDIR)\longlong.obj: $(COMMDIR)\longlong.cpp
a0499e2f
VZ
288 *$(CXX) $(CXXFLAGS) $<
289
40bed4b6 290$(OUTPUTDIR)\memory.obj: $(COMMDIR)\memory.cpp
a0499e2f
VZ
291 *$(CXX) $(CXXFLAGS) $<
292
40bed4b6 293$(OUTPUTDIR)\mimecmn.obj: $(COMMDIR)\mimecmn.cpp
a0499e2f
VZ
294 *$(CXX) $(CXXFLAGS) $<
295
40bed4b6 296$(OUTPUTDIR)\module.obj: $(COMMDIR)\module.cpp
a0499e2f
VZ
297 *$(CXX) $(CXXFLAGS) $<
298
40bed4b6 299$(OUTPUTDIR)\msgout.obj: $(COMMDIR)\msgout.cpp
a0499e2f
VZ
300 *$(CXX) $(CXXFLAGS) $<
301
40bed4b6 302$(OUTPUTDIR)\mstream.obj: $(COMMDIR)\mstream.cpp
a0499e2f
VZ
303 *$(CXX) $(CXXFLAGS) $<
304
40bed4b6 305$(OUTPUTDIR)\object.obj: $(COMMDIR)\object.cpp
a0499e2f
VZ
306 *$(CXX) $(CXXFLAGS) $<
307
40bed4b6 308$(OUTPUTDIR)\process.obj: $(COMMDIR)\process.cpp
a0499e2f
VZ
309 *$(CXX) $(CXXFLAGS) $<
310
40bed4b6 311$(OUTPUTDIR)\protocol.obj: $(COMMDIR)\protocol.cpp
a0499e2f
VZ
312 *$(CXX) $(CXXFLAGS) $<
313
40bed4b6 314$(OUTPUTDIR)\regex.obj: $(COMMDIR)\regex.cpp
a0499e2f
VZ
315 *$(CXX) $(CXXFLAGS) $<
316
40bed4b6 317$(OUTPUTDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.cpp
a0499e2f
VZ
318 *$(CXX) $(CXXFLAGS) $<
319
40bed4b6 320$(OUTPUTDIR)\sckfile.obj: $(COMMDIR)\sckfile.cpp
a0499e2f
VZ
321 *$(CXX) $(CXXFLAGS) $<
322
40bed4b6 323$(OUTPUTDIR)\sckipc.obj: $(COMMDIR)\sckipc.cpp
a0499e2f
VZ
324 *$(CXX) $(CXXFLAGS) $<
325
40bed4b6 326$(OUTPUTDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.cpp
a0499e2f
VZ
327 *$(CXX) $(CXXFLAGS) $<
328
40bed4b6 329$(OUTPUTDIR)\socket.obj: $(COMMDIR)\socket.cpp
a0499e2f
VZ
330 *$(CXX) $(CXXFLAGS) $<
331
40bed4b6 332$(OUTPUTDIR)\strconv.obj: $(COMMDIR)\strconv.cpp
a0499e2f
VZ
333 *$(CXX) $(CXXFLAGS) $<
334
40bed4b6 335$(OUTPUTDIR)\stream.obj: $(COMMDIR)\stream.cpp
a0499e2f
VZ
336 *$(CXX) $(CXXFLAGS) $<
337
40bed4b6 338$(OUTPUTDIR)\string.obj: $(COMMDIR)\string.cpp
a0499e2f
VZ
339 *$(CXX) $(CXXFLAGS) $<
340
40bed4b6 341$(OUTPUTDIR)\sysopt.obj: $(COMMDIR)\sysopt.cpp
a0499e2f
VZ
342 *$(CXX) $(CXXFLAGS) $<
343
40bed4b6 344$(OUTPUTDIR)\textbuf.obj: $(COMMDIR)\textbuf.cpp
a0499e2f
VZ
345 *$(CXX) $(CXXFLAGS) $<
346
40bed4b6 347$(OUTPUTDIR)\textfile.obj: $(COMMDIR)\textfile.cpp
a0499e2f
VZ
348 *$(CXX) $(CXXFLAGS) $<
349
40bed4b6 350$(OUTPUTDIR)\timercmn.obj: $(COMMDIR)\timercmn.cpp
a0499e2f
VZ
351 *$(CXX) $(CXXFLAGS) $<
352
40bed4b6 353$(OUTPUTDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.cpp
a0499e2f
VZ
354 *$(CXX) $(CXXFLAGS) $<
355
40bed4b6 356$(OUTPUTDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.cpp
a0499e2f
VZ
357 *$(CXX) $(CXXFLAGS) $<
358
40bed4b6 359$(OUTPUTDIR)\unzip.obj: $(COMMDIR)\unzip.c
a0499e2f
VZ
360 *$(CC) $(CFLAGS) $<
361
40bed4b6 362$(OUTPUTDIR)\url.obj: $(COMMDIR)\url.cpp
a0499e2f
VZ
363 *$(CXX) $(CXXFLAGS) $<
364
40bed4b6 365$(OUTPUTDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.cpp
a0499e2f
VZ
366 *$(CXX) $(CXXFLAGS) $<
367
40bed4b6 368$(OUTPUTDIR)\variant.obj: $(COMMDIR)\variant.cpp
a0499e2f
VZ
369 *$(CXX) $(CXXFLAGS) $<
370
40bed4b6 371$(OUTPUTDIR)\wfstream.obj: $(COMMDIR)\wfstream.cpp
a0499e2f
VZ
372 *$(CXX) $(CXXFLAGS) $<
373
40bed4b6 374$(OUTPUTDIR)\wxchar.obj: $(COMMDIR)\wxchar.cpp
a0499e2f
VZ
375 *$(CXX) $(CXXFLAGS) $<
376
40bed4b6 377$(OUTPUTDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.cpp
a0499e2f
VZ
378 *$(CXX) $(CXXFLAGS) $<
379
40bed4b6 380$(OUTPUTDIR)\zstream.obj: $(COMMDIR)\zstream.cpp
a0499e2f
VZ
381 *$(CXX) $(CXXFLAGS) $<
382
40bed4b6 383$(OUTPUTDIR)\init.obj: $(COMMDIR)\init.cpp
a0499e2f
VZ
384 *$(CXX) $(CXXFLAGS) $<
385
386
387
388zlib: .SYMBOLIC
389 cd $(WXDIR)\src\zlib
390 wmake -f makefile.wat all
391 cd $(WXDIR)\src\msw
392
393clean_zlib: .SYMBOLIC
394 cd $(WXDIR)\src\zlib
395 wmake -f makefile.wat clean
396 cd $(WXDIR)\src\msw
397
398regex: .SYMBOLIC
399 cd $(WXDIR)\src\regex
400 wmake -f makefile.wat all
401 cd $(WXDIR)\src\msw
402
403clean_regex: .SYMBOLIC
404 cd $(WXDIR)\src\regex
405 wmake -f makefile.wat clean
406 cd $(WXDIR)\src\msw
407
408MFTYPE=watbase
409self : .SYMBOLIC $(WXDIR)\distrib\msw\tmake\filelist.txt $(WXDIR)\distrib\msw\tmake\$(MFTYPE).t
410 cd $(WXDIR)\distrib\msw\tmake
40bed4b6 411 perl -S tmake -t $(MFTYPE) wxwin.pro -o makebase.wat
a0499e2f 412 copy makebase.wat $(WXDIR)\src\msw