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