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