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