]>
Commit | Line | Data |
---|---|---|
1 | #!/binb/wmake.exe | |
2 | # | |
3 | # File: makefile.wat | |
4 | # Author: Julian Smart | |
5 | # Created: 1998 | |
6 | # | |
7 | # Makefile : Builds wxWindows library for Watcom C++, WIN32 | |
8 | ||
9 | WXDIR = ..\.. | |
10 | ||
11 | !include $(WXDIR)\src\makewat.env | |
12 | ||
13 | WXLIB = $(WXDIR)\lib | |
14 | ||
15 | LIBTARGET = $(WXLIB)\wx.lib | |
16 | DUMMY=dummydll | |
17 | # ODBCLIB = ..\..\contrib\odbc\odbc32.lib | |
18 | ||
19 | EXTRATARGETS = xpm png zlib | |
20 | EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib | |
21 | GENDIR=$(WXDIR)\src\generic | |
22 | COMMDIR=$(WXDIR)\src\common | |
23 | XPMDIR=$(WXDIR)\src\xpm | |
24 | OLEDIR=ole | |
25 | MSWDIR=$(WXDIR)\src\msw | |
26 | ||
27 | DOCDIR = $(WXDIR)\docs | |
28 | ||
29 | GENERICOBJS= choicdgg.obj & | |
30 | gridg.obj & | |
31 | laywin.obj & | |
32 | panelg.obj & | |
33 | progdlgg.obj & | |
34 | prop.obj & | |
35 | propform.obj & | |
36 | proplist.obj & | |
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. | |
46 | NONESSENTIALOBJS= printps.obj & | |
47 | prntdlgg.obj & | |
48 | msgdlgg.obj & | |
49 | helpxlp.obj & | |
50 | colrdlgg.obj & | |
51 | fontdlgg.obj | |
52 | ||
53 | COMMONOBJS = cmndata.obj & | |
54 | config.obj & | |
55 | dcbase.obj & | |
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 & | |
67 | imagbmp.obj & | |
68 | imagpng.obj & | |
69 | intl.obj & | |
70 | ipcbase.obj & | |
71 | helpbase.obj & | |
72 | layout.obj & | |
73 | log.obj & | |
74 | memory.obj & | |
75 | mimetype.obj & | |
76 | module.obj & | |
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 & | |
86 | valgen.obj & | |
87 | valtext.obj & | |
88 | date.obj & | |
89 | hash.obj & | |
90 | list.obj & | |
91 | paper.obj & | |
92 | string.obj & | |
93 | socket.obj & | |
94 | sckaddr.obj & | |
95 | sckfile.obj & | |
96 | sckipc.obj & | |
97 | sckstrm.obj & | |
98 | sckint.obj & | |
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 & | |
115 | wincmn.obj & | |
116 | wxchar.obj | |
117 | ||
118 | # Can't compile these yet under Watcom C++ | |
119 | # imagjpeg.obj & | |
120 | # odbc.obj & | |
121 | # db.obj & | |
122 | # dbtable.obj & | |
123 | ||
124 | MSWOBJS = & | |
125 | accel.obj & | |
126 | app.obj & | |
127 | bitmap.obj & | |
128 | bmpbuttn.obj & | |
129 | brush.obj & | |
130 | button.obj & | |
131 | checkbox.obj & | |
132 | checklst.obj & | |
133 | caret.obj & | |
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 & | |
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 & | |
203 | tooltip.obj & | |
204 | treectrl.obj & | |
205 | utils.obj & | |
206 | utilsexc.obj & | |
207 | wave.obj & | |
208 | window.obj & | |
209 | xpmhand.obj | |
210 | ||
211 | # pnghand.obj & | |
212 | ||
213 | OLEOBJS = & | |
214 | droptgt.obj & | |
215 | dropsrc.obj & | |
216 | dataobj.obj & | |
217 | oleutils.obj & | |
218 | uuid.obj & | |
219 | automtn.obj | |
220 | ||
221 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
222 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS) | |
223 | ||
224 | all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) | |
225 | ||
226 | $(LIBTARGET) : $(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 | ||
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 | ||
236 | ||
237 | clean: .SYMBOLIC $(EXTRATARGETSCLEAN) | |
238 | -erase *.obj | |
239 | -erase $(LIBTARGET) | |
240 | -erase *.pch | |
241 | -erase *.err | |
242 | -erase *.lbc | |
243 | ||
244 | cleanall: clean | |
245 | ||
246 | accel.obj: $(MSWDIR)\accel.cpp | |
247 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
248 | ||
249 | app.obj: $(MSWDIR)\app.cpp | |
250 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
251 | ||
252 | bitmap.obj: $(MSWDIR)\bitmap.cpp | |
253 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
254 | ||
255 | bmpbuttn.obj: $(MSWDIR)\bmpbuttn.cpp | |
256 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
257 | ||
258 | brush.obj: $(MSWDIR)\brush.cpp | |
259 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
260 | ||
261 | button.obj: $(MSWDIR)\button.cpp | |
262 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
263 | ||
264 | caret.obj: $(MSWDIR)\caret.cpp | |
265 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
266 | ||
267 | choice.obj: $(MSWDIR)\choice.cpp | |
268 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
269 | ||
270 | checkbox.obj: $(MSWDIR)\checkbox.cpp | |
271 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
272 | ||
273 | checklst.obj: $(MSWDIR)\checklst.cpp | |
274 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
275 | ||
276 | clipbrd.obj: $(MSWDIR)\clipbrd.cpp | |
277 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
278 | ||
279 | colordlg.obj: $(MSWDIR)\colordlg.cpp | |
280 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
281 | ||
282 | colour.obj: $(MSWDIR)\colour.cpp | |
283 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
284 | ||
285 | combobox.obj: $(MSWDIR)\combobox.cpp | |
286 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
287 | ||
288 | control.obj: $(MSWDIR)\control.cpp | |
289 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
290 | ||
291 | curico.obj: $(MSWDIR)\curico.cpp | |
292 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
293 | ||
294 | cursor.obj: $(MSWDIR)\cursor.cpp | |
295 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
296 | ||
297 | data.obj: $(MSWDIR)\data.cpp | |
298 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
299 | ||
300 | dde.obj: $(MSWDIR)\dde.cpp | |
301 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
302 | ||
303 | dc.obj: $(MSWDIR)\dc.cpp | |
304 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
305 | ||
306 | dcmemory.obj: $(MSWDIR)\dcmemory.cpp | |
307 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
308 | ||
309 | dcclient.obj: $(MSWDIR)\dcclient.cpp | |
310 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
311 | ||
312 | dcprint.obj: $(MSWDIR)\dcprint.cpp | |
313 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
314 | ||
315 | dcscreen.obj: $(MSWDIR)\dcscreen.cpp | |
316 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
317 | ||
318 | dialog.obj: $(MSWDIR)\dialog.cpp | |
319 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
320 | ||
321 | dib.obj: $(MSWDIR)\dib.cpp | |
322 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
323 | ||
324 | dibutils.obj: $(MSWDIR)\dibutils.cpp | |
325 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
326 | ||
327 | dirdlg.obj: $(MSWDIR)\dirdlg.cpp | |
328 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
329 | ||
330 | filedlg.obj: $(MSWDIR)\filedlg.cpp | |
331 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
332 | ||
333 | font.obj: $(MSWDIR)\font.cpp | |
334 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
335 | ||
336 | fontdlg.obj: $(MSWDIR)\fontdlg.cpp | |
337 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
338 | ||
339 | frame.obj: $(MSWDIR)\frame.cpp | |
340 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
341 | ||
342 | gauge95.obj: $(MSWDIR)\gauge95.cpp | |
343 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
344 | ||
345 | gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp | |
346 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
347 | ||
348 | gdiobj.obj: $(MSWDIR)\gdiobj.cpp | |
349 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
350 | ||
351 | helpwin.obj: $(MSWDIR)\helpwin.cpp | |
352 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
353 | ||
354 | icon.obj: $(MSWDIR)\icon.cpp | |
355 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
356 | ||
357 | imaglist.obj: $(MSWDIR)\imaglist.cpp | |
358 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
359 | ||
360 | iniconf.obj: $(MSWDIR)\iniconf.cpp | |
361 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
362 | ||
363 | joystick.obj: $(MSWDIR)\joystick.cpp | |
364 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
365 | ||
366 | listbox.obj: $(MSWDIR)\listbox.cpp | |
367 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
368 | ||
369 | listctrl.obj: $(MSWDIR)\listctrl.cpp | |
370 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
371 | ||
372 | main.obj: $(MSWDIR)\main.cpp | |
373 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
374 | ||
375 | mdi.obj: $(MSWDIR)\mdi.cpp | |
376 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
377 | ||
378 | menu.obj: $(MSWDIR)\menu.cpp | |
379 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
380 | ||
381 | menuitem.obj: $(MSWDIR)\menuitem.cpp | |
382 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
383 | ||
384 | metafile.obj: $(MSWDIR)\metafile.cpp | |
385 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
386 | ||
387 | minifram.obj: $(MSWDIR)\minifram.cpp | |
388 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
389 | ||
390 | msgdlg.obj: $(MSWDIR)\msgdlg.cpp | |
391 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
392 | ||
393 | nativdlg.obj: $(MSWDIR)\nativdlg.cpp | |
394 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
395 | ||
396 | notebook.obj: $(MSWDIR)\notebook.cpp | |
397 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
398 | ||
399 | ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp | |
400 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
401 | ||
402 | palette.obj: $(MSWDIR)\palette.cpp | |
403 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
404 | ||
405 | pen.obj: $(MSWDIR)\pen.cpp | |
406 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
407 | ||
408 | penwin.obj: $(MSWDIR)\penwin.cpp | |
409 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
410 | ||
411 | pnghand.obj: $(MSWDIR)\pnghand.cpp | |
412 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
413 | ||
414 | printdlg.obj: $(MSWDIR)\printdlg.cpp | |
415 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
416 | ||
417 | printwin.obj: $(MSWDIR)\printwin.cpp | |
418 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
419 | ||
420 | radiobox.obj: $(MSWDIR)\radiobox.cpp | |
421 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
422 | ||
423 | radiobut.obj: $(MSWDIR)\radiobut.cpp | |
424 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
425 | ||
426 | region.obj: $(MSWDIR)\region.cpp | |
427 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
428 | ||
429 | registry.obj: $(MSWDIR)\registry.cpp | |
430 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
431 | ||
432 | regconf.obj: $(MSWDIR)\regconf.cpp | |
433 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
434 | ||
435 | scrolbar.obj: $(MSWDIR)\scrolbar.cpp | |
436 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
437 | ||
438 | settings.obj: $(MSWDIR)\settings.cpp | |
439 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
440 | ||
441 | slidrmsw.obj: $(MSWDIR)\slidrmsw.cpp | |
442 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
443 | ||
444 | slider95.obj: $(MSWDIR)\slider95.cpp | |
445 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
446 | ||
447 | spinbutt.obj: $(MSWDIR)\spinbutt.cpp | |
448 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
449 | ||
450 | statbmp.obj: $(MSWDIR)\statbmp.cpp | |
451 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
452 | ||
453 | statbox.obj: $(MSWDIR)\statbox.cpp | |
454 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
455 | ||
456 | statbr95.obj: $(MSWDIR)\statbr95.cpp | |
457 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
458 | ||
459 | stattext.obj: $(MSWDIR)\stattext.cpp | |
460 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
461 | ||
462 | tabctrl.obj: $(MSWDIR)\tabctrl.cpp | |
463 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
464 | ||
465 | taskbar.obj: $(MSWDIR)\taskbar.cpp | |
466 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
467 | ||
468 | tbar95.obj: $(MSWDIR)\tbar95.cpp | |
469 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
470 | ||
471 | tbarmsw.obj: $(MSWDIR)\tbarmsw.cpp | |
472 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
473 | ||
474 | textctrl.obj: $(MSWDIR)\textctrl.cpp | |
475 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
476 | ||
477 | thread.obj: $(MSWDIR)\thread.cpp | |
478 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
479 | ||
480 | timer.obj: $(MSWDIR)\timer.cpp | |
481 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
482 | ||
483 | tooltip.obj: $(MSWDIR)\tooltip.cpp | |
484 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
485 | ||
486 | treectrl.obj: $(MSWDIR)\treectrl.cpp | |
487 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
488 | ||
489 | utils.obj: $(MSWDIR)\utils.cpp | |
490 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
491 | ||
492 | utilsexc.obj: $(MSWDIR)\utilsexc.cpp | |
493 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
494 | ||
495 | wave.obj: $(MSWDIR)\wave.cpp | |
496 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
497 | ||
498 | window.obj: $(MSWDIR)\window.cpp | |
499 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
500 | ||
501 | xpmhand.obj: $(MSWDIR)\xpmhand.cpp | |
502 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
503 | ||
504 | droptgt.obj: $(OLEDIR)\droptgt.cpp | |
505 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
506 | ||
507 | dropsrc.obj: $(OLEDIR)\dropsrc.cpp | |
508 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
509 | ||
510 | dataobj.obj: $(OLEDIR)\dataobj.cpp | |
511 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
512 | ||
513 | oleutils.obj: $(OLEDIR)\oleutils.cpp | |
514 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
515 | ||
516 | uuid.obj: $(OLEDIR)\uuid.cpp | |
517 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
518 | ||
519 | automtn.obj: $(OLEDIR)\automtn.cpp | |
520 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
521 | ||
522 | ######################################################## | |
523 | # Common objects (always compiled) | |
524 | ||
525 | cmndata.obj: $(COMMDIR)\cmndata.cpp | |
526 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
527 | ||
528 | config.obj: $(COMMDIR)\config.cpp | |
529 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
530 | ||
531 | dcbase.obj: $(COMMDIR)\dcbase.cpp | |
532 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
533 | ||
534 | db.obj: $(COMMDIR)\db.cpp | |
535 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
536 | ||
537 | dbtable.obj: $(COMMDIR)\dbtable.cpp | |
538 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
539 | ||
540 | docview.obj: $(COMMDIR)\docview.cpp | |
541 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
542 | ||
543 | docmdi.obj: $(COMMDIR)\docmdi.cpp | |
544 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
545 | ||
546 | dynarray.obj: $(COMMDIR)\dynarray.cpp | |
547 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
548 | ||
549 | dynlib.obj: $(COMMDIR)\dynlib.cpp | |
550 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
551 | ||
552 | event.obj: $(COMMDIR)\event.cpp | |
553 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
554 | ||
555 | file.obj: $(COMMDIR)\file.cpp | |
556 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
557 | ||
558 | fileconf.obj: $(COMMDIR)\fileconf.cpp | |
559 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
560 | ||
561 | filefn.obj: $(COMMDIR)\filefn.cpp | |
562 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
563 | ||
564 | framecmn.obj: $(COMMDIR)\framecmn.cpp | |
565 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
566 | ||
567 | gdicmn.obj: $(COMMDIR)\gdicmn.cpp | |
568 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
569 | ||
570 | image.obj: $(COMMDIR)\image.cpp | |
571 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
572 | ||
573 | imagbmp.obj: $(COMMDIR)\imagbmp.cpp | |
574 | *$(CCC) $(CPPFLAGS) -i=..\png -i=..\zlib $(IFLAGS) $< | |
575 | ||
576 | imagpng.obj: $(COMMDIR)\imagpng.cpp | |
577 | *$(CCC) $(CPPFLAGS) -i=..\png -i=..\zlib $(IFLAGS) $< | |
578 | ||
579 | imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp | |
580 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
581 | ||
582 | intl.obj: $(COMMDIR)\intl.cpp | |
583 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
584 | ||
585 | ipcbase.obj: $(COMMDIR)\ipcbase.cpp | |
586 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
587 | ||
588 | helpbase.obj: $(COMMDIR)\helpbase.cpp | |
589 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
590 | ||
591 | layout.obj: $(COMMDIR)\layout.cpp | |
592 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
593 | ||
594 | log.obj: $(COMMDIR)\log.cpp | |
595 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
596 | ||
597 | memory.obj: $(COMMDIR)\memory.cpp | |
598 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
599 | ||
600 | mimetype.obj: $(COMMDIR)\mimetype.cpp | |
601 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
602 | ||
603 | module.obj: $(COMMDIR)\module.cpp | |
604 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
605 | ||
606 | object.obj: $(COMMDIR)\object.cpp | |
607 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
608 | ||
609 | odbc.obj: $(COMMDIR)\odbc.cpp | |
610 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
611 | ||
612 | prntbase.obj: $(COMMDIR)\prntbase.cpp | |
613 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
614 | ||
615 | resource.obj: $(COMMDIR)\resource.cpp | |
616 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
617 | ||
618 | tbarbase.obj: $(COMMDIR)\tbarbase.cpp | |
619 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
620 | ||
621 | tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp | |
622 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
623 | ||
624 | textfile.obj: $(COMMDIR)\textfile.cpp | |
625 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
626 | ||
627 | timercmn.obj: $(COMMDIR)\timercmn.cpp | |
628 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
629 | ||
630 | utilscmn.obj: $(COMMDIR)\utilscmn.cpp | |
631 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
632 | ||
633 | validate.obj: $(COMMDIR)\validate.cpp | |
634 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
635 | ||
636 | valgen.obj: $(COMMDIR)\valgen.cpp | |
637 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
638 | ||
639 | valtext.obj: $(COMMDIR)\valtext.cpp | |
640 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
641 | ||
642 | date.obj: $(COMMDIR)\date.cpp | |
643 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
644 | ||
645 | wxexpr.obj: $(COMMDIR)\wxexpr.cpp | |
646 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
647 | ||
648 | hash.obj: $(COMMDIR)\hash.cpp | |
649 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
650 | ||
651 | list.obj: $(COMMDIR)\list.cpp | |
652 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
653 | ||
654 | paper.obj: $(COMMDIR)\paper.cpp | |
655 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
656 | ||
657 | string.obj: $(COMMDIR)\string.cpp | |
658 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
659 | ||
660 | socket.obj: $(COMMDIR)\socket.cpp | |
661 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
662 | ||
663 | sckint.obj: $(COMMDIR)\sckint.cpp | |
664 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
665 | ||
666 | sckaddr.obj: $(COMMDIR)\sckaddr.cpp | |
667 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
668 | ||
669 | sckfile.obj: $(COMMDIR)\sckfile.cpp | |
670 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
671 | ||
672 | sckipc.obj: $(COMMDIR)\sckipc.cpp | |
673 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
674 | ||
675 | sckstrm.obj: $(COMMDIR)\sckstrm.cpp | |
676 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
677 | ||
678 | url.obj: $(COMMDIR)\url.cpp | |
679 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
680 | ||
681 | http.obj: $(COMMDIR)\http.cpp | |
682 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
683 | ||
684 | protocol.obj: $(COMMDIR)\protocol.cpp | |
685 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
686 | ||
687 | tokenzr.obj: $(COMMDIR)\tokenzr.cpp | |
688 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
689 | ||
690 | matrix.obj: $(COMMDIR)\matrix.cpp | |
691 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
692 | ||
693 | time.obj: $(COMMDIR)\time.cpp | |
694 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
695 | ||
696 | stream.obj: $(COMMDIR)\stream.cpp | |
697 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
698 | ||
699 | wfstream.obj: $(COMMDIR)\wfstream.cpp | |
700 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
701 | ||
702 | mstream.obj: $(COMMDIR)\mstream.cpp | |
703 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
704 | ||
705 | zstream.obj: $(COMMDIR)\zstream.cpp | |
706 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
707 | ||
708 | datstrm.obj: $(COMMDIR)\datstrm.cpp | |
709 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
710 | ||
711 | objstrm.obj: $(COMMDIR)\objstrm.cpp | |
712 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
713 | ||
714 | extended.obj: $(COMMDIR)\extended.c | |
715 | *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c | |
716 | ||
717 | process.obj: $(COMMDIR)\process.cpp | |
718 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
719 | ||
720 | variant.obj: $(COMMDIR)\variant.cpp | |
721 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
722 | ||
723 | wincmn.obj: $(COMMDIR)\wincmn.cpp | |
724 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
725 | ||
726 | wxchar.obj: $(COMMDIR)\wxchar.cpp | |
727 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
728 | ||
729 | y_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 | ||
744 | choicdgg.obj: $(GENDIR)\choicdgg.cpp | |
745 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
746 | ||
747 | colrdlgg.obj: $(GENDIR)\colrdgg.cpp | |
748 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
749 | ||
750 | fontdlgg.obj: $(GENDIR)\fontdlgg.cpp | |
751 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
752 | ||
753 | gridg.obj: $(GENDIR)\gridg.cpp | |
754 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
755 | ||
756 | helpxlp.obj: $(GENDIR)\helpxlp.cpp | |
757 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
758 | ||
759 | laywin.obj: $(GENDIR)\laywin.cpp | |
760 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
761 | ||
762 | msgdlgg.obj: $(GENDIR)\msgdlgg.cpp | |
763 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
764 | ||
765 | panelg.obj: $(GENDIR)\panelg.cpp | |
766 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
767 | ||
768 | printps.obj: $(GENDIR)\printps.cpp | |
769 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
770 | ||
771 | progdlgg.obj: $(GENDIR)\progdlgg.cpp | |
772 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
773 | ||
774 | prop.obj: $(GENDIR)\prop.cpp | |
775 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
776 | ||
777 | propform.obj: $(GENDIR)\propform.cpp | |
778 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
779 | ||
780 | proplist.obj: $(GENDIR)\proplist.cpp | |
781 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
782 | ||
783 | prntdlgg.obj: $(GENDIR)\prntdlgg.cpp | |
784 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
785 | ||
786 | sashwin.obj: $(GENDIR)\sashwin.cpp | |
787 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
788 | ||
789 | scrolwin.obj: $(GENDIR)\scrolwin.cpp | |
790 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
791 | ||
792 | splitter.obj: $(GENDIR)\splitter.cpp | |
793 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
794 | ||
795 | statusbr.obj: $(GENDIR)\statusbr.cpp | |
796 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
797 | ||
798 | tabg.obj: $(GENDIR)\tabg.cpp | |
799 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
800 | ||
801 | textdlgg.obj: $(GENDIR)\textdlgg.cpp | |
802 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
803 | ||
804 | crbuffri.obj: $(XPMDIR)\crbuffri.c | |
805 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
806 | ||
807 | crbuffrp.obj: $(XPMDIR)\crbuffrp.c | |
808 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
809 | ||
810 | crdatfri.obj: $(XPMDIR)\crdatfri.c | |
811 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
812 | ||
813 | crdatfrp.obj: $(XPMDIR)\crdatfrp.c | |
814 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
815 | ||
816 | create.obj: $(XPMDIR)\create.c | |
817 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
818 | ||
819 | crifrbuf.obj: $(XPMDIR)\crifrbuf.c | |
820 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
821 | ||
822 | crifrdat.obj: $(XPMDIR)\crifrdat.c | |
823 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
824 | ||
825 | crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c | |
826 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
827 | ||
828 | crpfrdat.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 | ||
835 | hashtab.obj: $(XPMDIR)\hashtab.c | |
836 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
837 | ||
838 | misc.obj: $(XPMDIR)\misc.c | |
839 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
840 | ||
841 | parse.obj: $(XPMDIR)\parse.c | |
842 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
843 | ||
844 | rdftodat.obj: $(XPMDIR)\rdftodat.c | |
845 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
846 | ||
847 | rdftoi.obj: $(XPMDIR)\rdftoi.c | |
848 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
849 | ||
850 | rdftop.obj: $(XPMDIR)\rdftop.c | |
851 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
852 | ||
853 | rgb.obj: $(XPMDIR)\rgb.c | |
854 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
855 | ||
856 | scan.obj: $(XPMDIR)\scan.c | |
857 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
858 | ||
859 | simx.obj: $(XPMDIR)\simx.c | |
860 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
861 | ||
862 | wrffrdat.obj: $(XPMDIR)\wrffrdat.c | |
863 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
864 | ||
865 | wrffri.obj: $(XPMDIR)\wrffri.c | |
866 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
867 | ||
868 | wrffrp.obj: $(XPMDIR)\wrffrp.c | |
869 | *$(CC) $(CPPFLAGS) $(IFLAGS) $< | |
870 | ||
871 | OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \ | |
872 | trees$(O) | |
873 | OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \ | |
874 | infutil$(O) inffast$(O) | |
875 | ||
876 | adler32.obj: adler32.c zutil.h zlib.h zconf.h | |
877 | $(CC) -c $(CFLAGS) $*.c | |
878 | ||
879 | compress.obj: compress.c zlib.h zconf.h | |
880 | $(CC) -c $(CFLAGS) $*.c | |
881 | ||
882 | crc32.obj: crc32.c zutil.h zlib.h zconf.h | |
883 | $(CC) -c $(CFLAGS) $*.c | |
884 | ||
885 | deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h | |
886 | $(CC) -c $(CFLAGS) $*.c | |
887 | ||
888 | gzio.obj: gzio.c zutil.h zlib.h zconf.h | |
889 | $(CC) -c $(CFLAGS) $*.c | |
890 | ||
891 | infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\ | |
892 | infcodes.h infutil.h | |
893 | $(CC) -c $(CFLAGS) $*.c | |
894 | ||
895 | infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\ | |
896 | infcodes.h inffast.h | |
897 | $(CC) -c $(CFLAGS) $*.c | |
898 | ||
899 | inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h | |
900 | $(CC) -c $(CFLAGS) $*.c | |
901 | ||
902 | inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h | |
903 | $(CC) -c $(CFLAGS) $*.c | |
904 | ||
905 | infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h | |
906 | $(CC) -c $(CFLAGS) $*.c | |
907 | ||
908 | inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h | |
909 | $(CC) -c $(CFLAGS) $*.c | |
910 | ||
911 | trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h | |
912 | $(CC) -c $(CFLAGS) $*.c | |
913 | ||
914 | uncompr.obj: uncompr.c zlib.h zconf.h | |
915 | $(CC) -c $(CFLAGS) $*.c | |
916 | ||
917 | zutil.obj: zutil.c zutil.h zlib.h zconf.h | |
918 | $(CC) -c $(CFLAGS) $*.c | |
919 | ||
920 | xpm: .SYMBOLIC | |
921 | cd $(WXDIR)\src\xpm | |
922 | wmake -f makefile.wat all | |
923 | cd $(WXDIR)\src\msw | |
924 | ||
925 | clean_xpm: .SYMBOLIC | |
926 | cd $(WXDIR)\src\xpm | |
927 | wmake -f makefile.wat clean | |
928 | cd $(WXDIR)\src\msw | |
929 | ||
930 | png: .SYMBOLIC | |
931 | cd $(WXDIR)\src\png | |
932 | wmake -f makefile.wat all | |
933 | cd $(WXDIR)\src\msw | |
934 | ||
935 | clean_png: .SYMBOLIC | |
936 | cd $(WXDIR)\src\png | |
937 | wmake -f makefile.wat clean | |
938 | cd $(WXDIR)\src\msw | |
939 | ||
940 | zlib: .SYMBOLIC | |
941 | cd $(WXDIR)\src\zlib | |
942 | wmake -f makefile.wat all | |
943 | cd $(WXDIR)\src\msw | |
944 | ||
945 | clean_zlib: .SYMBOLIC | |
946 | cd $(WXDIR)\src\zlib | |
947 | wmake -f makefile.wat clean | |
948 | cd $(WXDIR)\src\msw | |
949 |