]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.wat
IMHO these are the correct flags for borland
[wxWidgets.git] / src / msw / makefile.wat
CommitLineData
2bda0e17
KB
1#!/binb/wmake.exe
2#
3# File: makefile.wat
7be1f0d9
JS
4# Author: Julian Smart
5# Created: 1998
2bda0e17 6#
7be1f0d9 7# Makefile : Builds wxWindows library for Watcom C++, WIN32
2bda0e17
KB
8
9WXDIR = ..\..
10
11!include $(WXDIR)\src\makewat.env
12
13WXLIB = $(WXDIR)\lib
14
7be1f0d9 15LIBTARGET = $(WXLIB)\wx.lib
2bda0e17 16DUMMY=dummydll
62448488 17# ODBCLIB = ..\..\contrib\odbc\odbc32.lib
7be1f0d9 18
8a2c6ef8
JS
19EXTRATARGETS = xpm png zlib
20EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib
7be1f0d9
JS
21GENDIR=$(WXDIR)\src\generic
22COMMDIR=$(WXDIR)\src\common
23XPMDIR=$(WXDIR)\src\xpm
24OLEDIR=ole
25MSWDIR=$(WXDIR)\src\msw
26
27DOCDIR = $(WXDIR)\docs
28
29GENERICOBJS= choicdgg.obj &
30 gridg.obj &
31 laywin.obj &
32 panelg.obj &
e3a43801
JS
33 prop.obj &
34 propform.obj &
35 proplist.obj &
7be1f0d9
JS
36 sashwin.obj &
37 scrolwin.obj &
38 splitter.obj &
39 statusbr.obj &
40 tabg.obj &
41 textdlgg.obj
42
43# These are generic things that don't need to be compiled on MSW,
44# but sometimes it's useful to do so for testing purposes.
45NONESSENTIALOBJS= printps.obj &
46 prntdlgg.obj &
47 msgdlgg.obj &
48 helpxlp.obj &
49 colrdlgg.obj &
d134d2d4 50 fontdlgg.obj
7be1f0d9
JS
51
52COMMONOBJS = cmndata.obj &
53 config.obj &
eebc8b5e 54 dcbase.obj &
7be1f0d9
JS
55 docview.obj &
56 docmdi.obj &
57 dynarray.obj &
58 dynlib.obj &
59 event.obj &
60 file.obj &
61 filefn.obj &
62 fileconf.obj &
63 framecmn.obj &
64 gdicmn.obj &
65 image.obj &
e9c4b1a2
JS
66 imagpng.obj &
67 imagjpeg.obj &
7be1f0d9
JS
68 intl.obj &
69 ipcbase.obj &
70 helpbase.obj &
71 layout.obj &
72 log.obj &
73 memory.obj &
2432b92d 74 mimetype.obj &
7be1f0d9 75 module.obj &
7be1f0d9
JS
76 object.obj &
77 prntbase.obj &
78 resource.obj &
79 tbarbase.obj &
80 tbarsmpl.obj &
81 textfile.obj &
82 timercmn.obj &
83 utilscmn.obj &
84 validate.obj &
89c684ef 85 valgen.obj &
7be1f0d9
JS
86 valtext.obj &
87 date.obj &
88 hash.obj &
89 list.obj &
7bcb11d3 90 paper.obj &
7be1f0d9
JS
91 string.obj &
92 socket.obj &
93 sckaddr.obj &
94 sckfile.obj &
95 sckipc.obj &
96 sckstrm.obj &
97 url.obj &
98 http.obj &
99 protocol.obj &
100 time.obj &
101 tokenzr.obj &
102 wxexpr.obj &
103 y_tab.obj &
104 extended.obj &
105 process.obj &
106 wfstream.obj &
107 mstream.obj &
108 zstream.obj &
109 stream.obj &
110 datstrm.obj &
111 objstrm.obj &
112 variant.obj &
f3dbd876
OK
113 wincmn.obj &
114 wxchar.obj
7be1f0d9 115
62448488
JS
116# Can't compile these yet under Watcom C++
117# odbc.obj &
7be1f0d9
JS
118# db.obj &
119# dbtable.obj &
120
8a2c6ef8 121MSWOBJS = &
7be1f0d9
JS
122 accel.obj &
123 app.obj &
124 bitmap.obj &
125 bmpbuttn.obj &
126 brush.obj &
127 button.obj &
128 checkbox.obj &
129 checklst.obj &
789295bf 130 caret.obj &
7be1f0d9
JS
131 choice.obj &
132 clipbrd.obj &
133 colordlg.obj &
134 colour.obj &
135 combobox.obj &
136 control.obj &
137 curico.obj &
138 cursor.obj &
139 data.obj &
140 dc.obj &
141 dcmemory.obj &
142 dcclient.obj &
143 dcprint.obj &
144 dcscreen.obj &
145 dde.obj &
146 dialog.obj &
147 dib.obj &
148 dibutils.obj &
149 dirdlg.obj &
150 filedlg.obj &
151 font.obj &
152 fontdlg.obj &
153 frame.obj &
154 gauge95.obj &
155 gaugemsw.obj &
156 gdiobj.obj &
157 helpwin.obj &
158 icon.obj &
159 imaglist.obj &
160 iniconf.obj &
161 joystick.obj &
162 listbox.obj &
163 listctrl.obj &
164 main.obj &
165 mdi.obj &
166 menu.obj &
167 menuitem.obj &
168 metafile.obj &
169 minifram.obj &
170 msgdlg.obj &
171 nativdlg.obj &
172 notebook.obj &
173 ownerdrw.obj &
174 palette.obj &
175 pen.obj &
176 penwin.obj &
7be1f0d9
JS
177 printdlg.obj &
178 printwin.obj &
179 radiobox.obj &
180 radiobut.obj &
181 region.obj &
182 registry.obj &
183 regconf.obj &
184 scrolbar.obj &
185 settings.obj &
186 slidrmsw.obj &
187 slider95.obj &
188 spinbutt.obj &
189 statbmp.obj &
190 statbox.obj &
191 statbr95.obj &
192 stattext.obj &
193 tabctrl.obj &
194 taskbar.obj &
195 tbar95.obj &
196 tbarmsw.obj &
197 textctrl.obj &
198 thread.obj &
199 timer.obj &
1f112209 200 tooltip.obj &
7be1f0d9
JS
201 treectrl.obj &
202 utils.obj &
203 utilsexc.obj &
204 wave.obj &
205 window.obj &
2fd284a4 206 xpmhand.obj
7be1f0d9 207
8a2c6ef8
JS
208# pnghand.obj &
209
7be1f0d9
JS
210OLEOBJS = &
211 droptgt.obj &
212 dropsrc.obj &
213 dataobj.obj &
214 oleutils.obj &
215 uuid.obj &
216 automtn.obj
217
7be1f0d9 218# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
8a2c6ef8 219OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS)
7be1f0d9 220
8a2c6ef8 221all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
7be1f0d9
JS
222
223$(LIBTARGET) : $(OBJECTS)
2bda0e17
KB
224 %create tmp.lbc
225 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
2bda0e17 226 wlib /b /c /n /p=512 $^@ @tmp.lbc
8a2c6ef8
JS
227
228#test : $(OBJECTS)
229# %create tmp.lbc
230# @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
231# wlib /b /c /n /p=512 $^@ @tmp.lbc
232
2bda0e17 233
0a240683 234clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
7be1f0d9 235 -erase *.obj
62448488 236 -erase $(LIBTARGET)
7be1f0d9 237 -erase *.pch
62448488 238 -erase *.err
8a2c6ef8 239 -erase *.lbc
7be1f0d9
JS
240
241cleanall: clean
242
243accel.obj: $(MSWDIR)\accel.cpp
244 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
245
246app.obj: $(MSWDIR)\app.cpp
247 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
248
249bitmap.obj: $(MSWDIR)\bitmap.cpp
250 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
251
252bmpbuttn.obj: $(MSWDIR)\bmpbuttn.cpp
253 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
254
255brush.obj: $(MSWDIR)\brush.cpp
256 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
257
258button.obj: $(MSWDIR)\button.cpp
259 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
260
789295bf
VZ
261caret.obj: $(MSWDIR)\caret.cpp
262 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
263
7be1f0d9
JS
264choice.obj: $(MSWDIR)\choice.cpp
265 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
266
267checkbox.obj: $(MSWDIR)\checkbox.cpp
268 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
269
270checklst.obj: $(MSWDIR)\checklst.cpp
271 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
272
273clipbrd.obj: $(MSWDIR)\clipbrd.cpp
274 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
275
276colordlg.obj: $(MSWDIR)\colordlg.cpp
277 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
278
279colour.obj: $(MSWDIR)\colour.cpp
280 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
281
282combobox.obj: $(MSWDIR)\combobox.cpp
283 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
284
285control.obj: $(MSWDIR)\control.cpp
286 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
287
288curico.obj: $(MSWDIR)\curico.cpp
289 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
290
291cursor.obj: $(MSWDIR)\cursor.cpp
292 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
293
294data.obj: $(MSWDIR)\data.cpp
295 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
296
297dde.obj: $(MSWDIR)\dde.cpp
298 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
299
300dc.obj: $(MSWDIR)\dc.cpp
301 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
302
303dcmemory.obj: $(MSWDIR)\dcmemory.cpp
304 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
305
306dcclient.obj: $(MSWDIR)\dcclient.cpp
307 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
308
309dcprint.obj: $(MSWDIR)\dcprint.cpp
310 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
311
312dcscreen.obj: $(MSWDIR)\dcscreen.cpp
313 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
314
315dialog.obj: $(MSWDIR)\dialog.cpp
316 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
317
318dib.obj: $(MSWDIR)\dib.cpp
319 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
320
321dibutils.obj: $(MSWDIR)\dibutils.cpp
322 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
323
324dirdlg.obj: $(MSWDIR)\dirdlg.cpp
325 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
326
327filedlg.obj: $(MSWDIR)\filedlg.cpp
328 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
329
330font.obj: $(MSWDIR)\font.cpp
331 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
332
333fontdlg.obj: $(MSWDIR)\fontdlg.cpp
334 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
335
336frame.obj: $(MSWDIR)\frame.cpp
337 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
338
339gauge95.obj: $(MSWDIR)\gauge95.cpp
340 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
341
342gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp
343 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
344
345gdiobj.obj: $(MSWDIR)\gdiobj.cpp
346 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
347
ce3ed50d
JS
348helpwin.obj: $(MSWDIR)\helpwin.cpp
349 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
350
7be1f0d9
JS
351icon.obj: $(MSWDIR)\icon.cpp
352 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
353
354imaglist.obj: $(MSWDIR)\imaglist.cpp
355 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
356
ce3ed50d
JS
357iniconf.obj: $(MSWDIR)\iniconf.cpp
358 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
359
7be1f0d9
JS
360joystick.obj: $(MSWDIR)\joystick.cpp
361 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
362
363listbox.obj: $(MSWDIR)\listbox.cpp
364 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
365
366listctrl.obj: $(MSWDIR)\listctrl.cpp
367 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
368
369main.obj: $(MSWDIR)\main.cpp
370 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
371
372mdi.obj: $(MSWDIR)\mdi.cpp
373 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
374
375menu.obj: $(MSWDIR)\menu.cpp
376 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
377
378menuitem.obj: $(MSWDIR)\menuitem.cpp
379 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
380
381metafile.obj: $(MSWDIR)\metafile.cpp
382 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
383
384minifram.obj: $(MSWDIR)\minifram.cpp
385 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
386
387msgdlg.obj: $(MSWDIR)\msgdlg.cpp
388 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
389
390nativdlg.obj: $(MSWDIR)\nativdlg.cpp
391 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
392
393notebook.obj: $(MSWDIR)\notebook.cpp
394 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
395
396ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
397 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
398
399palette.obj: $(MSWDIR)\palette.cpp
400 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
401
402pen.obj: $(MSWDIR)\pen.cpp
403 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
404
405penwin.obj: $(MSWDIR)\penwin.cpp
406 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
407
408pnghand.obj: $(MSWDIR)\pnghand.cpp
409 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
410
411printdlg.obj: $(MSWDIR)\printdlg.cpp
412 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
413
414printwin.obj: $(MSWDIR)\printwin.cpp
415 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
416
417radiobox.obj: $(MSWDIR)\radiobox.cpp
418 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
419
420radiobut.obj: $(MSWDIR)\radiobut.cpp
421 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
422
423region.obj: $(MSWDIR)\region.cpp
424 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
425
426registry.obj: $(MSWDIR)\registry.cpp
427 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
428
429regconf.obj: $(MSWDIR)\regconf.cpp
430 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
431
432scrolbar.obj: $(MSWDIR)\scrolbar.cpp
433 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
434
435settings.obj: $(MSWDIR)\settings.cpp
436 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
437
438slidrmsw.obj: $(MSWDIR)\slidrmsw.cpp
439 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
440
441slider95.obj: $(MSWDIR)\slider95.cpp
442 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
443
444spinbutt.obj: $(MSWDIR)\spinbutt.cpp
445 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
446
447statbmp.obj: $(MSWDIR)\statbmp.cpp
448 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
449
450statbox.obj: $(MSWDIR)\statbox.cpp
451 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
452
453statbr95.obj: $(MSWDIR)\statbr95.cpp
454 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
455
456stattext.obj: $(MSWDIR)\stattext.cpp
457 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
458
459tabctrl.obj: $(MSWDIR)\tabctrl.cpp
460 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
461
462taskbar.obj: $(MSWDIR)\taskbar.cpp
7be1f0d9
JS
463 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
464
465tbar95.obj: $(MSWDIR)\tbar95.cpp
466 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
467
468tbarmsw.obj: $(MSWDIR)\tbarmsw.cpp
469 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
470
471textctrl.obj: $(MSWDIR)\textctrl.cpp
472 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
473
474thread.obj: $(MSWDIR)\thread.cpp
475 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
476
477timer.obj: $(MSWDIR)\timer.cpp
478 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
479
1f112209
JS
480tooltip.obj: $(MSWDIR)\tooltip.cpp
481 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
482
7be1f0d9 483treectrl.obj: $(MSWDIR)\treectrl.cpp
7be1f0d9
JS
484 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
485
486utils.obj: $(MSWDIR)\utils.cpp
487 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
488
489utilsexc.obj: $(MSWDIR)\utilsexc.cpp
490 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
491
492wave.obj: $(MSWDIR)\wave.cpp
493 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
494
495window.obj: $(MSWDIR)\window.cpp
496 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
497
2fd284a4
JS
498xpmhand.obj: $(MSWDIR)\xpmhand.cpp
499 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
500
7be1f0d9
JS
501droptgt.obj: $(OLEDIR)\droptgt.cpp
502 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
503
504dropsrc.obj: $(OLEDIR)\dropsrc.cpp
505 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
506
507dataobj.obj: $(OLEDIR)\dataobj.cpp
508 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
509
510oleutils.obj: $(OLEDIR)\oleutils.cpp
511 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
512
513uuid.obj: $(OLEDIR)\uuid.cpp
514 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
515
516automtn.obj: $(OLEDIR)\automtn.cpp
517 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
518
519########################################################
520# Common objects (always compiled)
521
522cmndata.obj: $(COMMDIR)\cmndata.cpp
523 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
524
525config.obj: $(COMMDIR)\config.cpp
526 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
527
eebc8b5e
JS
528dcbase.obj: $(COMMDIR)\dcbase.cpp
529 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
530
7be1f0d9
JS
531db.obj: $(COMMDIR)\db.cpp
532 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
533
534dbtable.obj: $(COMMDIR)\dbtable.cpp
535 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
536
537docview.obj: $(COMMDIR)\docview.cpp
538 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
539
540docmdi.obj: $(COMMDIR)\docmdi.cpp
541 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
542
543dynarray.obj: $(COMMDIR)\dynarray.cpp
544 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
545
546dynlib.obj: $(COMMDIR)\dynlib.cpp
547 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
548
549event.obj: $(COMMDIR)\event.cpp
550 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
551
552file.obj: $(COMMDIR)\file.cpp
553 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
554
555fileconf.obj: $(COMMDIR)\fileconf.cpp
556 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
557
558filefn.obj: $(COMMDIR)\filefn.cpp
559 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
560
561framecmn.obj: $(COMMDIR)\framecmn.cpp
562 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
563
564gdicmn.obj: $(COMMDIR)\gdicmn.cpp
565 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
566
567image.obj: $(COMMDIR)\image.cpp
568 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
569
e9c4b1a2
JS
570imagpng.obj: $(COMMDIR)\imagpng.cpp
571 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
572
573imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp
574 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
575
7be1f0d9
JS
576intl.obj: $(COMMDIR)\intl.cpp
577 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
578
579ipcbase.obj: $(COMMDIR)\ipcbase.cpp
580 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
581
582helpbase.obj: $(COMMDIR)\helpbase.cpp
583 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
584
585layout.obj: $(COMMDIR)\layout.cpp
586 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
587
588log.obj: $(COMMDIR)\log.cpp
589 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
590
591memory.obj: $(COMMDIR)\memory.cpp
592 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
593
2432b92d
JS
594mimetype.obj: $(COMMDIR)\mimetype.cpp
595 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
596
7be1f0d9
JS
597module.obj: $(COMMDIR)\module.cpp
598 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
599
600object.obj: $(COMMDIR)\object.cpp
601 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
602
603odbc.obj: $(COMMDIR)\odbc.cpp
604 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
605
7be1f0d9
JS
606prntbase.obj: $(COMMDIR)\prntbase.cpp
607 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
608
609resource.obj: $(COMMDIR)\resource.cpp
610 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
611
612tbarbase.obj: $(COMMDIR)\tbarbase.cpp
613 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
614
615tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp
616 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
617
618textfile.obj: $(COMMDIR)\textfile.cpp
619 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
620
621timercmn.obj: $(COMMDIR)\timercmn.cpp
622 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
623
624utilscmn.obj: $(COMMDIR)\utilscmn.cpp
625 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
626
627validate.obj: $(COMMDIR)\validate.cpp
628 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
629
89c684ef
JS
630valgen.obj: $(COMMDIR)\valgen.cpp
631 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
632
7be1f0d9
JS
633valtext.obj: $(COMMDIR)\valtext.cpp
634 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
635
636date.obj: $(COMMDIR)\date.cpp
637 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
638
639wxexpr.obj: $(COMMDIR)\wxexpr.cpp
640 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
641
642hash.obj: $(COMMDIR)\hash.cpp
643 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
644
645list.obj: $(COMMDIR)\list.cpp
646 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
647
7bcb11d3
JS
648paper.obj: $(COMMDIR)\paper.cpp
649 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
650
7be1f0d9
JS
651string.obj: $(COMMDIR)\string.cpp
652 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
653
654socket.obj: $(COMMDIR)\socket.cpp
655 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
656
657sckaddr.obj: $(COMMDIR)\sckaddr.cpp
658 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
659
660sckfile.obj: $(COMMDIR)\sckfile.cpp
661 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
662
663sckipc.obj: $(COMMDIR)\sckipc.cpp
664 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
665
666sckstrm.obj: $(COMMDIR)\sckstrm.cpp
667 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
668
669url.obj: $(COMMDIR)\url.cpp
670 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
671
672http.obj: $(COMMDIR)\http.cpp
673 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
674
675protocol.obj: $(COMMDIR)\protocol.cpp
676 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
677
678tokenzr.obj: $(COMMDIR)\tokenzr.cpp
679 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
680
681matrix.obj: $(COMMDIR)\matrix.cpp
682 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
683
684time.obj: $(COMMDIR)\time.cpp
685 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
686
687stream.obj: $(COMMDIR)\stream.cpp
688 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
689
690wfstream.obj: $(COMMDIR)\wfstream.cpp
691 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
692
693mstream.obj: $(COMMDIR)\mstream.cpp
694 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
695
696zstream.obj: $(COMMDIR)\zstream.cpp
697 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
698
699datstrm.obj: $(COMMDIR)\datstrm.cpp
700 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
701
702objstrm.obj: $(COMMDIR)\objstrm.cpp
703 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
704
705extended.obj: $(COMMDIR)\extended.c
706 *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c
707
708process.obj: $(COMMDIR)\process.cpp
709 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
710
711variant.obj: $(COMMDIR)\variant.cpp
712 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
713
714wincmn.obj: $(COMMDIR)\wincmn.cpp
715 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
716
f3dbd876
OK
717wxchar.obj: $(COMMDIR)\wxchar.cpp
718 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
719
7be1f0d9
JS
720y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
721 *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
722
723# *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS $(COMMDIR)\y_tab.c
724
725$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
726 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
727
728$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
729 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
730
731########################################################
732# Generic objects (not always compiled, depending on
733# whether platforms have native implementations)
734
735choicdgg.obj: $(GENDIR)\choicdgg.cpp
736 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
737
738colrdlgg.obj: $(GENDIR)\colrdgg.cpp
739 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
740
741fontdlgg.obj: $(GENDIR)\fontdlgg.cpp
742 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
743
744gridg.obj: $(GENDIR)\gridg.cpp
745 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
746
747helpxlp.obj: $(GENDIR)\helpxlp.cpp
748 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
749
750laywin.obj: $(GENDIR)\laywin.cpp
751 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
752
753msgdlgg.obj: $(GENDIR)\msgdlgg.cpp
754 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
755
756panelg.obj: $(GENDIR)\panelg.cpp
757 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
758
759printps.obj: $(GENDIR)\printps.cpp
760 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
761
e3a43801
JS
762prop.obj: $(GENDIR)\prop.cpp
763 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
764
765propform.obj: $(GENDIR)\propform.cpp
766 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
767
768proplist.obj: $(GENDIR)\proplist.cpp
769 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
770
7be1f0d9
JS
771prntdlgg.obj: $(GENDIR)\prntdlgg.cpp
772 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
773
774sashwin.obj: $(GENDIR)\sashwin.cpp
775 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
776
777scrolwin.obj: $(GENDIR)\scrolwin.cpp
778 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
779
780splitter.obj: $(GENDIR)\splitter.cpp
781 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
782
783statusbr.obj: $(GENDIR)\statusbr.cpp
784 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
785
786tabg.obj: $(GENDIR)\tabg.cpp
787 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
788
789textdlgg.obj: $(GENDIR)\textdlgg.cpp
790 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
791
792crbuffri.obj: $(XPMDIR)\crbuffri.c
793 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
794
795crbuffrp.obj: $(XPMDIR)\crbuffrp.c
796 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
797
798crdatfri.obj: $(XPMDIR)\crdatfri.c
799 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
800
801crdatfrp.obj: $(XPMDIR)\crdatfrp.c
802 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
803
804create.obj: $(XPMDIR)\create.c
805 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
806
807crifrbuf.obj: $(XPMDIR)\crifrbuf.c
808 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
809
810crifrdat.obj: $(XPMDIR)\crifrdat.c
811 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
812
813crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c
814 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
815
816crpfrdat.obj: $(XPMDIR)\crpfrdat.c
817 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
818
819# TODO: what to do about this clash of filename????
820#data.obj: $(XPMDIR)\data.c
821# *$(CC) $(CPPFLAGS) $(IFLAGS) $<
822
823hashtab.obj: $(XPMDIR)\hashtab.c
824 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
825
826misc.obj: $(XPMDIR)\misc.c
827 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
828
829parse.obj: $(XPMDIR)\parse.c
830 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
831
832rdftodat.obj: $(XPMDIR)\rdftodat.c
833 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
834
835rdftoi.obj: $(XPMDIR)\rdftoi.c
836 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
837
838rdftop.obj: $(XPMDIR)\rdftop.c
839 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
840
841rgb.obj: $(XPMDIR)\rgb.c
842 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
843
844scan.obj: $(XPMDIR)\scan.c
845 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
846
847simx.obj: $(XPMDIR)\simx.c
848 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
849
850wrffrdat.obj: $(XPMDIR)\wrffrdat.c
851 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
852
853wrffri.obj: $(XPMDIR)\wrffri.c
854 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
855
856wrffrp.obj: $(XPMDIR)\wrffrp.c
857 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
858
8a2c6ef8
JS
859OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
860 trees$(O)
861OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
862 infutil$(O) inffast$(O)
863
8a2c6ef8
JS
864adler32.obj: adler32.c zutil.h zlib.h zconf.h
865 $(CC) -c $(CFLAGS) $*.c
866
867compress.obj: compress.c zlib.h zconf.h
868 $(CC) -c $(CFLAGS) $*.c
869
870crc32.obj: crc32.c zutil.h zlib.h zconf.h
871 $(CC) -c $(CFLAGS) $*.c
872
873deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
874 $(CC) -c $(CFLAGS) $*.c
875
876gzio.obj: gzio.c zutil.h zlib.h zconf.h
877 $(CC) -c $(CFLAGS) $*.c
878
879infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
880 infcodes.h infutil.h
881 $(CC) -c $(CFLAGS) $*.c
882
883infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
884 infcodes.h inffast.h
885 $(CC) -c $(CFLAGS) $*.c
886
887inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
888 $(CC) -c $(CFLAGS) $*.c
889
890inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
891 $(CC) -c $(CFLAGS) $*.c
892
893infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
894 $(CC) -c $(CFLAGS) $*.c
895
896inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
897 $(CC) -c $(CFLAGS) $*.c
898
899trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
900 $(CC) -c $(CFLAGS) $*.c
901
902uncompr.obj: uncompr.c zlib.h zconf.h
903 $(CC) -c $(CFLAGS) $*.c
904
905zutil.obj: zutil.c zutil.h zlib.h zconf.h
906 $(CC) -c $(CFLAGS) $*.c
907
908xpm: .SYMBOLIC
909 cd $(WXDIR)\src\xpm
910 wmake -f makefile.wat all
911 cd $(WXDIR)\src\msw
912
913clean_xpm: .SYMBOLIC
914 cd $(WXDIR)\src\xpm
915 wmake -f makefile.wat clean
916 cd $(WXDIR)\src\msw
917
918png: .SYMBOLIC
919 cd $(WXDIR)\src\png
920 wmake -f makefile.wat all
921 cd $(WXDIR)\src\msw
922
923clean_png: .SYMBOLIC
924 cd $(WXDIR)\src\png
925 wmake -f makefile.wat clean
926 cd $(WXDIR)\src\msw
7be1f0d9 927
8a2c6ef8
JS
928zlib: .SYMBOLIC
929 cd $(WXDIR)\src\zlib
930 wmake -f makefile.wat all
931 cd $(WXDIR)\src\msw
7be1f0d9 932
8a2c6ef8
JS
933clean_zlib: .SYMBOLIC
934 cd $(WXDIR)\src\zlib
935 wmake -f makefile.wat clean
936 cd $(WXDIR)\src\msw
7be1f0d9 937