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