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