]>
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 & | |
82 | valtext.obj & | |
83 | date.obj & | |
84 | hash.obj & | |
85 | list.obj & | |
86 | string.obj & | |
87 | socket.obj & | |
88 | sckaddr.obj & | |
89 | sckfile.obj & | |
90 | sckipc.obj & | |
91 | sckstrm.obj & | |
92 | url.obj & | |
93 | http.obj & | |
94 | protocol.obj & | |
95 | time.obj & | |
96 | tokenzr.obj & | |
97 | wxexpr.obj & | |
98 | y_tab.obj & | |
99 | extended.obj & | |
100 | process.obj & | |
101 | wfstream.obj & | |
102 | mstream.obj & | |
103 | zstream.obj & | |
104 | stream.obj & | |
105 | datstrm.obj & | |
106 | objstrm.obj & | |
107 | variant.obj & | |
108 | wincmn.obj | |
109 | ||
62448488 JS |
110 | # Can't compile these yet under Watcom C++ |
111 | # odbc.obj & | |
7be1f0d9 JS |
112 | # db.obj & |
113 | # dbtable.obj & | |
114 | ||
8a2c6ef8 | 115 | MSWOBJS = & |
7be1f0d9 JS |
116 | accel.obj & |
117 | app.obj & | |
118 | bitmap.obj & | |
119 | bmpbuttn.obj & | |
120 | brush.obj & | |
121 | button.obj & | |
122 | checkbox.obj & | |
123 | checklst.obj & | |
124 | choice.obj & | |
125 | clipbrd.obj & | |
126 | colordlg.obj & | |
127 | colour.obj & | |
128 | combobox.obj & | |
129 | control.obj & | |
130 | curico.obj & | |
131 | cursor.obj & | |
132 | data.obj & | |
133 | dc.obj & | |
134 | dcmemory.obj & | |
135 | dcclient.obj & | |
136 | dcprint.obj & | |
137 | dcscreen.obj & | |
138 | dde.obj & | |
139 | dialog.obj & | |
140 | dib.obj & | |
141 | dibutils.obj & | |
142 | dirdlg.obj & | |
143 | filedlg.obj & | |
144 | font.obj & | |
145 | fontdlg.obj & | |
146 | frame.obj & | |
147 | gauge95.obj & | |
148 | gaugemsw.obj & | |
149 | gdiobj.obj & | |
150 | helpwin.obj & | |
151 | icon.obj & | |
152 | imaglist.obj & | |
153 | iniconf.obj & | |
154 | joystick.obj & | |
155 | listbox.obj & | |
156 | listctrl.obj & | |
157 | main.obj & | |
158 | mdi.obj & | |
159 | menu.obj & | |
160 | menuitem.obj & | |
161 | metafile.obj & | |
162 | minifram.obj & | |
163 | msgdlg.obj & | |
164 | nativdlg.obj & | |
165 | notebook.obj & | |
166 | ownerdrw.obj & | |
167 | palette.obj & | |
168 | pen.obj & | |
169 | penwin.obj & | |
7be1f0d9 JS |
170 | printdlg.obj & |
171 | printwin.obj & | |
172 | radiobox.obj & | |
173 | radiobut.obj & | |
174 | region.obj & | |
175 | registry.obj & | |
176 | regconf.obj & | |
177 | scrolbar.obj & | |
178 | settings.obj & | |
179 | slidrmsw.obj & | |
180 | slider95.obj & | |
181 | spinbutt.obj & | |
182 | statbmp.obj & | |
183 | statbox.obj & | |
184 | statbr95.obj & | |
185 | stattext.obj & | |
186 | tabctrl.obj & | |
187 | taskbar.obj & | |
188 | tbar95.obj & | |
189 | tbarmsw.obj & | |
190 | textctrl.obj & | |
191 | thread.obj & | |
192 | timer.obj & | |
1f112209 | 193 | tooltip.obj & |
7be1f0d9 JS |
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 | |
0a240683 | 227 | clean: .SYMBOLIC $(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 | ||
1f112209 JS |
471 | tooltip.obj: $(MSWDIR)\tooltip.cpp |
472 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
473 | ||
7be1f0d9 JS |
474 | treectrl.obj: $(MSWDIR)\treectrl.cpp |
475 | cl @<< | |
476 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
477 | ||
478 | utils.obj: $(MSWDIR)\utils.cpp | |
479 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
480 | ||
481 | utilsexc.obj: $(MSWDIR)\utilsexc.cpp | |
482 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
483 | ||
484 | wave.obj: $(MSWDIR)\wave.cpp | |
485 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
486 | ||
487 | window.obj: $(MSWDIR)\window.cpp | |
488 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
489 | ||
2fd284a4 JS |
490 | xpmhand.obj: $(MSWDIR)\xpmhand.cpp |
491 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
492 | ||
7be1f0d9 JS |
493 | droptgt.obj: $(OLEDIR)\droptgt.cpp |
494 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
495 | ||
496 | dropsrc.obj: $(OLEDIR)\dropsrc.cpp | |
497 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
498 | ||
499 | dataobj.obj: $(OLEDIR)\dataobj.cpp | |
500 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
501 | ||
502 | oleutils.obj: $(OLEDIR)\oleutils.cpp | |
503 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
504 | ||
505 | uuid.obj: $(OLEDIR)\uuid.cpp | |
506 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
507 | ||
508 | automtn.obj: $(OLEDIR)\automtn.cpp | |
509 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
510 | ||
511 | ######################################################## | |
512 | # Common objects (always compiled) | |
513 | ||
514 | cmndata.obj: $(COMMDIR)\cmndata.cpp | |
515 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
516 | ||
517 | config.obj: $(COMMDIR)\config.cpp | |
518 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
519 | ||
520 | db.obj: $(COMMDIR)\db.cpp | |
521 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
522 | ||
523 | dbtable.obj: $(COMMDIR)\dbtable.cpp | |
524 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
525 | ||
526 | docview.obj: $(COMMDIR)\docview.cpp | |
527 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
528 | ||
529 | docmdi.obj: $(COMMDIR)\docmdi.cpp | |
530 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
531 | ||
532 | dynarray.obj: $(COMMDIR)\dynarray.cpp | |
533 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
534 | ||
535 | dynlib.obj: $(COMMDIR)\dynlib.cpp | |
536 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
537 | ||
538 | event.obj: $(COMMDIR)\event.cpp | |
539 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
540 | ||
541 | file.obj: $(COMMDIR)\file.cpp | |
542 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
543 | ||
544 | fileconf.obj: $(COMMDIR)\fileconf.cpp | |
545 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
546 | ||
547 | filefn.obj: $(COMMDIR)\filefn.cpp | |
548 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
549 | ||
550 | framecmn.obj: $(COMMDIR)\framecmn.cpp | |
551 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
552 | ||
553 | gdicmn.obj: $(COMMDIR)\gdicmn.cpp | |
554 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
555 | ||
556 | image.obj: $(COMMDIR)\image.cpp | |
557 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
558 | ||
559 | intl.obj: $(COMMDIR)\intl.cpp | |
560 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
561 | ||
562 | ipcbase.obj: $(COMMDIR)\ipcbase.cpp | |
563 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
564 | ||
565 | helpbase.obj: $(COMMDIR)\helpbase.cpp | |
566 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
567 | ||
568 | layout.obj: $(COMMDIR)\layout.cpp | |
569 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
570 | ||
571 | log.obj: $(COMMDIR)\log.cpp | |
572 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
573 | ||
574 | memory.obj: $(COMMDIR)\memory.cpp | |
575 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
576 | ||
2432b92d JS |
577 | mimetype.obj: $(COMMDIR)\mimetype.cpp |
578 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
579 | ||
7be1f0d9 JS |
580 | module.obj: $(COMMDIR)\module.cpp |
581 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
582 | ||
583 | object.obj: $(COMMDIR)\object.cpp | |
584 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
585 | ||
586 | odbc.obj: $(COMMDIR)\odbc.cpp | |
587 | *$(CCC) $(CPPFLAGS) $(IFLAGS) $< | |
588 | ||
7be1f0d9 JS |
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 |