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