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