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