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