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