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