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