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