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