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