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