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