]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.va | |
3 | # Author: Dave Webster | |
4 | # Created: 1999 | |
5 | # Updated: | |
6 | # Copyright: (c) 1999, Dave Webster | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VisualAge C++ | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # dll builds a library (wxdll.lib) suitable for creating DLLs | |
15 | # | |
16 | !include <..\makeva.env> | |
17 | ||
18 | THISDIR=$(WXWIN)\src\os2 | |
19 | ||
20 | !if "$(WXMAKINGDLL)" == "1" | |
21 | LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll | |
22 | DUMMYOBJ=$D\dummydll.obj | |
23 | !else | |
24 | LIBTARGET=$(WXLIB) | |
25 | COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib | |
26 | COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib | |
27 | COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib | |
28 | GENTEMPTGT=$(WXDIR)\lib\wxgen.lib | |
29 | NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib | |
30 | OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib | |
31 | OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib | |
32 | HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib | |
33 | DUMMYOBJ=$D\dummy.obj | |
34 | !endif | |
35 | ||
36 | # Please set these according to the settings in setup.h, so we can include | |
37 | # the appropriate libraries in wx.lib | |
38 | ||
39 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
40 | MINIMAL_WXWINDOWS_SETUP=0 | |
41 | ||
42 | PERIPH_LIBS= | |
43 | PERIPH_TARGET= | |
44 | PERIPH_CLEAN_TARGET= | |
45 | ||
46 | # These are absolute paths, so that the compiler | |
47 | # generates correct __FILE__ symbols for debugging. | |
48 | # Otherwise you don't be able to double-click on a memory | |
49 | # error to load that file. | |
50 | GENDIR=$(WXDIR)\src\generic | |
51 | COMMDIR=$(WXDIR)\src\common | |
52 | OS2DIR=$(WXDIR)\src\os2 | |
53 | HTMLDIR = $(WXDIR)\src\html | |
54 | ||
55 | !if [md $(COMMDIR)\$D] | |
56 | !endif | |
57 | ||
58 | !if [md $(OS2DIR)\$D] | |
59 | !endif | |
60 | ||
61 | !if [md $(GENDIR)\$D] | |
62 | !endif | |
63 | ||
64 | !if [md $(HTMLDIR)\$D] | |
65 | !endif | |
66 | ||
67 | {..\generic}.cpp{..\generic\$D}.obj: | |
68 | @echo $< | |
69 | icc @<< | |
70 | $(CPPFLAGS) /Fo$@ /Tp $< | |
71 | << | |
72 | ||
73 | {..\common}.cpp{..\common\$D}.obj: | |
74 | @echo $< | |
75 | icc @<< | |
76 | $(CPPFLAGS) /Fo$@ /Tp $< | |
77 | << | |
78 | ||
79 | {..\os2}.cpp{..\os2\$D}.obj: | |
80 | @echo $< | |
81 | icc @<< | |
82 | $(CPPFLAGS) /Fo$@ /Tp $< | |
83 | << | |
84 | ||
85 | {..\os2}.c{..\os2\$D}.obj: | |
86 | @echo $< | |
87 | icc @<< | |
88 | $(CPPFLAGS) /Fo$@ /Tp $< | |
89 | << | |
90 | ||
91 | {..\html}.cpp{..\html\$D}.obj: | |
92 | @echo $< | |
93 | icc @<< | |
94 | $(CPPFLAGS) /Fo$@ /Tp $< | |
95 | << | |
96 | ||
97 | GENERICOBJS= \ | |
98 | ..\generic\$D\busyinfo.obj \ | |
99 | ..\generic\$D\calctrl.obj \ | |
100 | ..\generic\$D\caret.obj \ | |
101 | ..\generic\$D\choicdgg.obj \ | |
102 | ..\generic\$D\colrdlgg.obj \ | |
103 | ..\generic\$D\dcpsg.obj \ | |
104 | ..\generic\$D\dirctrlg.obj \ | |
105 | ..\generic\$D\dragimgg.obj \ | |
106 | ..\generic\$D\fontdlgg.obj \ | |
107 | ..\generic\$D\fdrepdlg.obj \ | |
108 | ..\generic\$D\grid.obj \ | |
109 | ..\generic\$D\gridctrl.obj \ | |
110 | ..\generic\$D\gridsel.obj \ | |
111 | ..\generic\$D\helpext.obj \ | |
112 | ..\generic\$D\helphtml.obj \ | |
113 | ..\generic\$D\helpwxht.obj \ | |
114 | ..\generic\$D\helpxlp.obj \ | |
115 | ..\generic\$D\imaglist.obj \ | |
116 | ..\generic\$D\laywin.obj \ | |
117 | ..\generic\$D\listctrl.obj \ | |
118 | ..\generic\$D\logg.obj \ | |
119 | ..\generic\$D\numdlgg.obj \ | |
120 | ..\generic\$D\panelg.obj \ | |
121 | ..\generic\$D\printps.obj \ | |
122 | ..\generic\$D\prntdlgg.obj \ | |
123 | ..\generic\$D\progdlgg.obj \ | |
124 | ..\generic\$D\prop.obj \ | |
125 | ..\generic\$D\propform.obj \ | |
126 | ..\generic\$D\proplist.obj \ | |
127 | ..\generic\$D\sashwin.obj \ | |
128 | ..\generic\$D\scrlwing.obj \ | |
129 | ..\generic\$D\spinctlg.obj \ | |
130 | ..\generic\$D\splitter.obj \ | |
131 | ..\generic\$D\statusbr.obj \ | |
132 | ..\generic\$D\tabg.obj \ | |
133 | ..\generic\$D\tbarsmpl.obj \ | |
134 | ..\generic\$D\textdlgg.obj \ | |
135 | ..\generic\$D\tipdlg.obj \ | |
136 | ..\generic\$D\tipwin.obj \ | |
137 | ..\generic\$D\treectlg.obj \ | |
138 | ..\generic\$D\treelay.obj \ | |
139 | ..\generic\$D\wizard.obj | |
140 | ||
141 | # ..\generic\$D\gridg.obj \ | |
142 | # ..\generic\$D\notebook.obj \ | |
143 | ||
144 | GENLIBOBJS= \ | |
145 | busyinfo.obj \ | |
146 | calctrl.obj \ | |
147 | caret.obj \ | |
148 | choicdgg.obj \ | |
149 | colrdlgg.obj \ | |
150 | dcpsg.obj \ | |
151 | dirctrlg.obj \ | |
152 | dragimgg.obj \ | |
153 | fontdlgg.obj \ | |
154 | fdrepdlg.obj \ | |
155 | grid.obj \ | |
156 | gridctrl.obj \ | |
157 | gridsel.obj \ | |
158 | helpext.obj \ | |
159 | helphtml.obj \ | |
160 | helpwxht.obj \ | |
161 | helpxlp.obj \ | |
162 | imaglist.obj \ | |
163 | laywin.obj \ | |
164 | listctrl.obj \ | |
165 | logg.obj \ | |
166 | numdlgg.obj \ | |
167 | panelg.obj \ | |
168 | printps.obj \ | |
169 | prntdlgg.obj \ | |
170 | progdlgg.obj \ | |
171 | prop.obj \ | |
172 | propform.obj \ | |
173 | proplist.obj \ | |
174 | sashwin.obj \ | |
175 | scrlwing.obj \ | |
176 | spinctlg.obj \ | |
177 | splitter.obj \ | |
178 | statusbr.obj \ | |
179 | tabg.obj \ | |
180 | tbarsmpl.obj \ | |
181 | textdlgg.obj \ | |
182 | tipdlg.obj \ | |
183 | tipwin.obj \ | |
184 | treectlg.obj \ | |
185 | treelay.obj \ | |
186 | wizard.obj | |
187 | ||
188 | # These are generic things that don't need to be compiled on PM, | |
189 | # but sometimes it's useful to do so for testing purposes. | |
190 | NONESSENTIALOBJS= \ | |
191 | ..\generic\$D\msgdlgg.obj | |
192 | ||
193 | COMMONOBJS = \ | |
194 | ..\common\$D\appcmn.obj \ | |
195 | ..\common\$D\bmpbase.obj \ | |
196 | ..\common\$D\choiccmn.obj \ | |
197 | ..\common\$D\clipcmn.obj \ | |
198 | ..\common\$D\cmdline.obj \ | |
199 | ..\common\$D\cmndata.obj \ | |
200 | ..\common\$D\cmdproc.obj \ | |
201 | ..\common\$D\config.obj \ | |
202 | ..\common\$D\containr.obj \ | |
203 | ..\common\$D\cshelp.obj \ | |
204 | ..\common\$D\ctrlcmn.obj \ | |
205 | ..\common\$D\ctrlsub.obj \ | |
206 | ..\common\$D\datetime.obj \ | |
207 | ..\common\$D\datstrm.obj \ | |
208 | !if "$(WXMAKINGDLL)" != "1" | |
209 | # don't have an ODBC database | |
210 | ..\common\$D\db.obj \ | |
211 | ..\common\$D\dbgrid.obj \ | |
212 | ..\common\$D\dbtable.obj \ | |
213 | !endif | |
214 | ..\common\$D\dcbase.obj \ | |
215 | ..\common\$D\dircmn.obj \ | |
216 | ..\common\$D\dlgcmn.obj \ | |
217 | ..\common\$D\dndcmn.obj \ | |
218 | ..\common\$D\dobjcmn.obj \ | |
219 | ..\common\$D\docmdi.obj \ | |
220 | ..\common\$D\docview.obj \ | |
221 | ..\common\$D\dynarray.obj \ | |
222 | ..\common\$D\dynlib.obj \ | |
223 | ..\common\$D\effects.obj \ | |
224 | ..\common\$D\encconv.obj \ | |
225 | ..\common\$D\event.obj \ | |
226 | ..\common\$D\extended.obj \ | |
227 | ..\common\$D\fddlgcmn.obj \ | |
228 | ..\common\$D\ffile.obj \ | |
229 | ..\common\$D\file.obj \ | |
230 | ..\common\$D\fileconf.obj \ | |
231 | ..\common\$D\filefn.obj \ | |
232 | ..\common\$D\filename.obj \ | |
233 | ..\common\$D\filesys.obj \ | |
234 | ..\common\$D\fontcmn.obj \ | |
235 | ..\common\$D\fontmap.obj \ | |
236 | ..\common\$D\framecmn.obj \ | |
237 | ..\common\$D\fs_inet.obj \ | |
238 | ..\common\$D\fs_mem.obj \ | |
239 | ..\common\$D\fs_zip.obj \ | |
240 | ..\common\$D\ftp.obj \ | |
241 | ..\common\$D\gaugecmn.obj \ | |
242 | ..\common\$D\gdicmn.obj \ | |
243 | ..\common\$D\geometry.obj \ | |
244 | ..\common\$D\gifdecod.obj \ | |
245 | ..\common\$D\hash.obj \ | |
246 | ..\common\$D\helpbase.obj \ | |
247 | ..\common\$D\http.obj \ | |
248 | ..\common\$D\imagall.obj \ | |
249 | ..\common\$D\imagbmp.obj \ | |
250 | ..\common\$D\image.obj \ | |
251 | ..\common\$D\imaggif.obj \ | |
252 | ..\common\$D\imagjpeg.obj \ | |
253 | ..\common\$D\imagpcx.obj \ | |
254 | ..\common\$D\imagpng.obj \ | |
255 | ..\common\$D\imagpnm.obj \ | |
256 | ..\common\$D\imagtiff.obj \ | |
257 | ..\common\$D\imagxpm.obj \ | |
258 | ..\common\$D\intl.obj \ | |
259 | ..\common\$D\ipcbase.obj \ | |
260 | ..\common\$D\layout.obj \ | |
261 | ..\common\$D\lboxcmn.obj \ | |
262 | ..\common\$D\list.obj \ | |
263 | ..\common\$D\log.obj \ | |
264 | ..\common\$D\longlong.obj \ | |
265 | ..\common\$D\matrix.obj \ | |
266 | ..\common\$D\memory.obj \ | |
267 | ..\common\$D\menucmn.obj \ | |
268 | ..\common\$D\mimecmn.obj \ | |
269 | ..\common\$D\module.obj \ | |
270 | ..\common\$D\mstream.obj \ | |
271 | ..\common\$D\nbkbase.obj \ | |
272 | ..\common\$D\object.obj \ | |
273 | ..\common\$D\objstrm.obj \ | |
274 | !if "$(WXMAKINGDLL)" != "1" | |
275 | # don't have an ODBC database | |
276 | ..\common\$D\odbc.obj \ | |
277 | !endif | |
278 | ..\common\$D\paper.obj \ | |
279 | ..\common\$D\popupcmn.obj \ | |
280 | ..\common\$D\prntbase.obj \ | |
281 | ..\common\$D\process.obj \ | |
282 | ..\common\$D\protocol.obj \ | |
283 | ..\common\$D\quantize.obj \ | |
284 | ..\common\$D\radiocmn.obj \ | |
285 | ..\common\$D\regex.obj \ | |
286 | ..\common\$D\resource.obj \ | |
287 | ..\common\$D\sckaddr.obj \ | |
288 | ..\common\$D\sckfile.obj \ | |
289 | ..\common\$D\sckipc.obj \ | |
290 | ..\common\$D\sckstrm.obj \ | |
291 | ..\common\$D\serbase.obj \ | |
292 | ..\common\$D\sizer.obj \ | |
293 | ..\common\$D\socket.obj \ | |
294 | ..\common\$D\strconv.obj \ | |
295 | ..\common\$D\stream.obj \ | |
296 | ..\common\$D\string.obj \ | |
297 | ..\common\$D\sysopt.obj \ | |
298 | ..\common\$D\tbarbase.obj \ | |
299 | ..\common\$D\textcmn.obj \ | |
300 | ..\common\$D\textfile.obj \ | |
301 | ..\common\$D\timercmn.obj \ | |
302 | ..\common\$D\tokenzr.obj \ | |
303 | ..\common\$D\toplvcmn.obj \ | |
304 | ..\common\$D\treebase.obj \ | |
305 | ..\common\$D\txtstrm.obj \ | |
306 | ..\common\$D\unzip.obj \ | |
307 | ..\common\$D\url.obj \ | |
308 | ..\common\$D\utilscmn.obj \ | |
309 | ..\common\$D\valgen.obj \ | |
310 | ..\common\$D\validate.obj \ | |
311 | ..\common\$D\valtext.obj \ | |
312 | ..\common\$D\variant.obj \ | |
313 | ..\common\$D\wfstream.obj \ | |
314 | ..\common\$D\wincmn.obj \ | |
315 | ..\common\$D\wxchar.obj \ | |
316 | ..\common\$D\wxexpr.obj \ | |
317 | ..\common\$D\xpmdecod.obj \ | |
318 | ..\common\$D\y_tab.obj \ | |
319 | ..\common\$D\zipstrm.obj \ | |
320 | ..\common\$D\zstream.obj | |
321 | ||
322 | COMLIBOBJS1 = \ | |
323 | appcmn.obj \ | |
324 | bmpbase.obj \ | |
325 | choiccmn.obj \ | |
326 | clipcmn.obj \ | |
327 | cmdline.obj \ | |
328 | cmndata.obj \ | |
329 | cmdproc.obj \ | |
330 | config.obj \ | |
331 | containr.obj \ | |
332 | cshelp.obj \ | |
333 | ctrlcmn.obj \ | |
334 | ctrlsub.obj \ | |
335 | datetime.obj \ | |
336 | datstrm.obj \ | |
337 | db.obj \ | |
338 | dbgrid.obj \ | |
339 | dbtable.obj \ | |
340 | dcbase.obj \ | |
341 | dircmn.obj \ | |
342 | dndcmn.obj \ | |
343 | dlgcmn.obj \ | |
344 | dobjcmn.obj \ | |
345 | docmdi.obj \ | |
346 | docview.obj \ | |
347 | dynarray.obj \ | |
348 | dynlib.obj \ | |
349 | effects.obj \ | |
350 | encconv.obj \ | |
351 | event.obj \ | |
352 | extended.obj \ | |
353 | fddlgcmn.obj \ | |
354 | ffile.obj \ | |
355 | file.obj \ | |
356 | fileconf.obj \ | |
357 | filefn.obj \ | |
358 | filename.obj \ | |
359 | filesys.obj \ | |
360 | fontcmn.obj \ | |
361 | fontmap.obj \ | |
362 | framecmn.obj \ | |
363 | fs_inet.obj \ | |
364 | fs_mem.obj \ | |
365 | fs_zip.obj \ | |
366 | ftp.obj | |
367 | ||
368 | COMLIBOBJS2 = \ | |
369 | gaugecmn.obj \ | |
370 | gdicmn.obj \ | |
371 | geometry.obj \ | |
372 | gifdecod.obj \ | |
373 | hash.obj \ | |
374 | helpbase.obj \ | |
375 | http.obj \ | |
376 | imagall.obj \ | |
377 | imagbmp.obj \ | |
378 | image.obj \ | |
379 | imaggif.obj \ | |
380 | imagjpeg.obj \ | |
381 | imagpcx.obj \ | |
382 | imagpng.obj \ | |
383 | imagpnm.obj \ | |
384 | imagtiff.obj \ | |
385 | imagxpm.obj \ | |
386 | intl.obj \ | |
387 | ipcbase.obj \ | |
388 | layout.obj \ | |
389 | lboxcmn.obj \ | |
390 | list.obj \ | |
391 | log.obj \ | |
392 | longlong.obj \ | |
393 | matrix.obj \ | |
394 | memory.obj \ | |
395 | menucmn.obj \ | |
396 | mimecmn.obj \ | |
397 | module.obj \ | |
398 | mstream.obj \ | |
399 | nbkbase.obj \ | |
400 | object.obj \ | |
401 | objstrm.obj \ | |
402 | odbc.obj \ | |
403 | paper.obj \ | |
404 | popupcmn.obj \ | |
405 | prntbase.obj \ | |
406 | process.obj \ | |
407 | protocol.obj \ | |
408 | quantize.obj \ | |
409 | radiocmn.obj \ | |
410 | regex.obj | |
411 | ||
412 | COMLIBOBJS3 = \ | |
413 | resource.obj \ | |
414 | sckaddr.obj \ | |
415 | sckfile.obj \ | |
416 | sckipc.obj \ | |
417 | sckstrm.obj \ | |
418 | serbase.obj \ | |
419 | sizer.obj \ | |
420 | socket.obj \ | |
421 | strconv.obj \ | |
422 | stream.obj \ | |
423 | string.obj \ | |
424 | sysopt.obj \ | |
425 | tbarbase.obj \ | |
426 | textcmn.obj \ | |
427 | textfile.obj \ | |
428 | timercmn.obj \ | |
429 | tokenzr.obj \ | |
430 | toplvcmn.obj \ | |
431 | treebase.obj \ | |
432 | txtstrm.obj \ | |
433 | unzip.obj \ | |
434 | url.obj \ | |
435 | utilscmn.obj \ | |
436 | valgen.obj \ | |
437 | validate.obj \ | |
438 | valtext.obj \ | |
439 | variant.obj \ | |
440 | wfstream.obj \ | |
441 | wincmn.obj \ | |
442 | wxchar.obj \ | |
443 | wxexpr.obj \ | |
444 | xpmdecod.obj \ | |
445 | y_tab.obj \ | |
446 | zipstrm.obj \ | |
447 | zstream.obj | |
448 | ||
449 | OS2OBJS = \ | |
450 | ..\os2\$D\accel.obj \ | |
451 | ..\os2\$D\app.obj \ | |
452 | ..\os2\$D\bitmap.obj \ | |
453 | ..\os2\$D\bmpbuttn.obj \ | |
454 | ..\os2\$D\brush.obj \ | |
455 | ..\os2\$D\button.obj \ | |
456 | ..\os2\$D\checkbox.obj \ | |
457 | ..\os2\$D\checklst.obj \ | |
458 | ..\os2\$D\choice.obj \ | |
459 | ..\os2\$D\clipbrd.obj \ | |
460 | ..\os2\$D\colour.obj \ | |
461 | ..\os2\$D\combobox.obj \ | |
462 | ..\os2\$D\control.obj \ | |
463 | ..\os2\$D\cursor.obj \ | |
464 | ..\os2\$D\data.obj \ | |
465 | ..\os2\$D\dataobj.obj \ | |
466 | ..\os2\$D\dc.obj \ | |
467 | ..\os2\$D\dcclient.obj \ | |
468 | ..\os2\$D\dcmemory.obj \ | |
469 | ..\os2\$D\dcprint.obj \ | |
470 | ..\os2\$D\dcscreen.obj \ | |
471 | ..\os2\$D\dialog.obj \ | |
472 | ..\os2\$D\dir.obj \ | |
473 | ..\os2\$D\dirdlg.obj \ | |
474 | ..\os2\$D\dnd.obj \ | |
475 | ..\os2\$D\filedlg.obj \ | |
476 | ..\os2\$D\font.obj \ | |
477 | ..\os2\$D\fontdlg.obj \ | |
478 | ..\os2\$D\fontenum.obj \ | |
479 | ..\os2\$D\fontutil.obj \ | |
480 | ..\os2\$D\frame.obj \ | |
481 | ..\os2\$D\gauge.obj \ | |
482 | ..\os2\$D\gdiimage.obj \ | |
483 | ..\os2\$D\gdiobj.obj \ | |
484 | ..\os2\$D\gsocket.obj \ | |
485 | ..\os2\$D\gsockpm.obj \ | |
486 | ..\os2\$D\helpwin.obj \ | |
487 | ..\os2\$D\icon.obj \ | |
488 | ..\os2\$D\iniconf.obj \ | |
489 | ..\os2\$D\joystick.obj \ | |
490 | ..\os2\$D\listbox.obj \ | |
491 | ..\os2\$D\main.obj \ | |
492 | ..\os2\$D\mdi.obj \ | |
493 | ..\os2\$D\menu.obj \ | |
494 | ..\os2\$D\menuitem.obj \ | |
495 | ..\os2\$D\metafile.obj \ | |
496 | ..\os2\$D\mimetype.obj \ | |
497 | ..\os2\$D\minifram.obj \ | |
498 | ..\os2\$D\msgdlg.obj \ | |
499 | ..\os2\$D\nativdlg.obj \ | |
500 | ..\os2\$D\notebook.obj \ | |
501 | ..\os2\$D\ownerdrw.obj \ | |
502 | ..\os2\$D\palette.obj \ | |
503 | ..\os2\$D\pen.obj \ | |
504 | ..\os2\$D\pnghand.obj \ | |
505 | ..\os2\$D\print.obj \ | |
506 | ..\os2\$D\radiobox.obj \ | |
507 | ..\os2\$D\radiobut.obj \ | |
508 | ..\os2\$D\region.obj \ | |
509 | ..\os2\$D\scrolbar.obj \ | |
510 | ..\os2\$D\settings.obj \ | |
511 | ..\os2\$D\slider.obj \ | |
512 | ..\os2\$D\spinbutt.obj \ | |
513 | ..\os2\$D\spinctrl.obj \ | |
514 | ..\os2\$D\statbmp.obj \ | |
515 | ..\os2\$D\statbox.obj \ | |
516 | ..\os2\$D\statline.obj \ | |
517 | ..\os2\$D\stattext.obj \ | |
518 | ..\os2\$D\tabctrl.obj \ | |
519 | ..\os2\$D\taskbar.obj \ | |
520 | ..\os2\$D\textctrl.obj \ | |
521 | ..\os2\$D\thread.obj \ | |
522 | ..\os2\$D\timer.obj \ | |
523 | ..\os2\$D\toolbar.obj \ | |
524 | ..\os2\$D\tooltip.obj \ | |
525 | ..\os2\$D\utils.obj \ | |
526 | ..\os2\$D\utilsexc.obj \ | |
527 | ..\os2\$D\wave.obj \ | |
528 | ..\os2\$D\window.obj \ | |
529 | ..\os2\$D\xpmhand.obj | |
530 | ||
531 | OS2LIBOBJS1 = \ | |
532 | accel.obj \ | |
533 | app.obj \ | |
534 | bitmap.obj \ | |
535 | bmpbuttn.obj \ | |
536 | brush.obj \ | |
537 | button.obj \ | |
538 | checkbox.obj \ | |
539 | checklst.obj \ | |
540 | choice.obj \ | |
541 | clipbrd.obj \ | |
542 | colour.obj \ | |
543 | combobox.obj \ | |
544 | control.obj \ | |
545 | cursor.obj \ | |
546 | data.obj \ | |
547 | dataobj.obj \ | |
548 | dc.obj \ | |
549 | dcclient.obj \ | |
550 | dcmemory.obj \ | |
551 | dcprint.obj \ | |
552 | dcscreen.obj \ | |
553 | dialog.obj \ | |
554 | dir.obj \ | |
555 | dirdlg.obj \ | |
556 | dnd.obj \ | |
557 | filedlg.obj \ | |
558 | font.obj \ | |
559 | fontdlg.obj \ | |
560 | fontenum.obj \ | |
561 | fontutil.obj \ | |
562 | frame.obj \ | |
563 | gauge.obj \ | |
564 | gdiimage.obj \ | |
565 | gdiobj.obj \ | |
566 | gsocket.obj \ | |
567 | gsockpm.obj \ | |
568 | helpwin.obj \ | |
569 | icon.obj \ | |
570 | iniconf.obj \ | |
571 | joystick.obj \ | |
572 | listbox.obj \ | |
573 | main.obj \ | |
574 | mdi.obj \ | |
575 | menu.obj \ | |
576 | menuitem.obj | |
577 | ||
578 | OS2LIBOBJS2 = \ | |
579 | metafile.obj \ | |
580 | mimetype.obj \ | |
581 | minifram.obj \ | |
582 | msgdlg.obj \ | |
583 | nativdlg.obj \ | |
584 | notebook.obj \ | |
585 | ownerdrw.obj \ | |
586 | palette.obj \ | |
587 | pen.obj \ | |
588 | pnghand.obj \ | |
589 | print.obj \ | |
590 | radiobox.obj \ | |
591 | radiobut.obj \ | |
592 | region.obj \ | |
593 | scrolbar.obj \ | |
594 | settings.obj \ | |
595 | slider.obj \ | |
596 | spinbutt.obj \ | |
597 | spinctrl.obj \ | |
598 | statbmp.obj \ | |
599 | statbox.obj \ | |
600 | stattext.obj \ | |
601 | statline.obj \ | |
602 | tabctrl.obj \ | |
603 | taskbar.obj \ | |
604 | textctrl.obj \ | |
605 | thread.obj \ | |
606 | timer.obj \ | |
607 | toolbar.obj \ | |
608 | tooltip.obj \ | |
609 | utils.obj \ | |
610 | utilsexc.obj \ | |
611 | wave.obj \ | |
612 | window.obj \ | |
613 | xpmhand.obj | |
614 | ||
615 | HTMLOBJS = \ | |
616 | ..\html\$D\helpctrl.obj \ | |
617 | ..\html\$D\helpdata.obj \ | |
618 | ..\html\$D\helpfrm.obj \ | |
619 | ..\html\$D\htmlcell.obj \ | |
620 | ..\html\$D\htmlfilt.obj \ | |
621 | ..\html\$D\htmlpars.obj \ | |
622 | ..\html\$D\htmltag.obj \ | |
623 | ..\html\$D\htmlwin.obj \ | |
624 | ..\html\$D\htmprint.obj \ | |
625 | ..\html\$D\m_dflist.obj \ | |
626 | ..\html\$D\m_fonts.obj \ | |
627 | ..\html\$D\m_hline.obj \ | |
628 | ..\html\$D\m_image.obj \ | |
629 | ..\html\$D\m_layout.obj \ | |
630 | ..\html\$D\m_links.obj \ | |
631 | ..\html\$D\m_list.obj \ | |
632 | ..\html\$D\m_meta.obj \ | |
633 | ..\html\$D\m_pre.obj \ | |
634 | ..\html\$D\m_tables.obj \ | |
635 | ..\html\$D\winpars.obj | |
636 | ||
637 | HTMLLIBOBJS = \ | |
638 | helpctrl.obj \ | |
639 | helpdata.obj \ | |
640 | helpfrm.obj \ | |
641 | htmlcell.obj \ | |
642 | htmlfilt.obj \ | |
643 | htmlpars.obj \ | |
644 | htmltag.obj \ | |
645 | htmlwin.obj \ | |
646 | htmprint.obj \ | |
647 | m_dflist.obj \ | |
648 | m_fonts.obj \ | |
649 | m_hline.obj \ | |
650 | m_image.obj \ | |
651 | m_layout.obj \ | |
652 | m_links.obj \ | |
653 | m_list.obj \ | |
654 | m_meta.obj \ | |
655 | m_pre.obj \ | |
656 | m_tables.obj \ | |
657 | winpars.obj | |
658 | ||
659 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
660 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS) | |
661 | ||
662 | # Normal, static library | |
663 | all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET) | |
664 | ||
665 | dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D | |
666 | ||
667 | ||
668 | test: $(OS2DIR)\$D\wave.obj | |
669 | test2: ..\common\Debug\config.obj | |
670 | ||
671 | $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h | |
672 | icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp | |
673 | ||
674 | $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h | |
675 | icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp | |
676 | ||
677 | $(COMLIBOBJS1): | |
678 | copy ..\common\$D\appcmn.obj | |
679 | copy ..\common\$D\bmpbase.obj | |
680 | copy ..\common\$D\choiccmn.obj | |
681 | copy ..\common\$D\clipcmn.obj | |
682 | copy ..\common\$D\cmdline.obj | |
683 | copy ..\common\$D\cmndata.obj | |
684 | copy ..\common\$D\cmdproc.obj | |
685 | copy ..\common\$D\config.obj | |
686 | copy ..\common\$D\containr.obj | |
687 | copy ..\common\$D\cshelp.obj | |
688 | copy ..\common\$D\ctrlcmn.obj | |
689 | copy ..\common\$D\ctrlsub.obj | |
690 | copy ..\common\$D\datetime.obj | |
691 | copy ..\common\$D\datstrm.obj | |
692 | copy ..\common\$D\db.obj | |
693 | copy ..\common\$D\dbgrid.obj | |
694 | copy ..\common\$D\dbtable.obj | |
695 | copy ..\common\$D\dcbase.obj | |
696 | copy ..\common\$D\dlgcmn.obj | |
697 | copy ..\common\$D\dircmn.obj | |
698 | copy ..\common\$D\dndcmn.obj | |
699 | copy ..\common\$D\dobjcmn.obj | |
700 | copy ..\common\$D\docmdi.obj | |
701 | copy ..\common\$D\docview.obj | |
702 | copy ..\common\$D\dynarray.obj | |
703 | copy ..\common\$D\dynlib.obj | |
704 | copy ..\common\$D\effects.obj | |
705 | copy ..\common\$D\encconv.obj | |
706 | copy ..\common\$D\event.obj | |
707 | copy ..\common\$D\extended.obj | |
708 | copy ..\common\$D\fddlgcmn.obj | |
709 | copy ..\common\$D\ffile.obj | |
710 | copy ..\common\$D\file.obj | |
711 | copy ..\common\$D\fileconf.obj | |
712 | copy ..\common\$D\filefn.obj | |
713 | copy ..\common\$D\filename.obj | |
714 | copy ..\common\$D\filesys.obj | |
715 | copy ..\common\$D\fontcmn.obj | |
716 | copy ..\common\$D\fontmap.obj | |
717 | copy ..\common\$D\framecmn.obj | |
718 | copy ..\common\$D\fs_inet.obj | |
719 | copy ..\common\$D\fs_mem.obj | |
720 | copy ..\common\$D\fs_zip.obj | |
721 | copy ..\common\$D\ftp.obj | |
722 | ||
723 | $(COMLIBOBJS2): | |
724 | copy ..\common\$D\gaugecmn.obj | |
725 | copy ..\common\$D\gdicmn.obj | |
726 | copy ..\common\$D\geometry.obj | |
727 | copy ..\common\$D\gifdecod.obj | |
728 | copy ..\common\$D\hash.obj | |
729 | copy ..\common\$D\helpbase.obj | |
730 | copy ..\common\$D\http.obj | |
731 | copy ..\common\$D\imagall.obj | |
732 | copy ..\common\$D\imagbmp.obj | |
733 | copy ..\common\$D\image.obj | |
734 | copy ..\common\$D\imaggif.obj | |
735 | copy ..\common\$D\imagjpeg.obj | |
736 | copy ..\common\$D\imagpcx.obj | |
737 | copy ..\common\$D\imagpng.obj | |
738 | copy ..\common\$D\imagpnm.obj | |
739 | copy ..\common\$D\imagtiff.obj | |
740 | copy ..\common\$D\imagxpm.obj | |
741 | copy ..\common\$D\intl.obj | |
742 | copy ..\common\$D\ipcbase.obj | |
743 | copy ..\common\$D\layout.obj | |
744 | copy ..\common\$D\lboxcmn.obj | |
745 | copy ..\common\$D\list.obj | |
746 | copy ..\common\$D\log.obj | |
747 | copy ..\common\$D\longlong.obj | |
748 | copy ..\common\$D\matrix.obj | |
749 | copy ..\common\$D\memory.obj | |
750 | copy ..\common\$D\menucmn.obj | |
751 | copy ..\common\$D\mimecmn.obj | |
752 | copy ..\common\$D\module.obj | |
753 | copy ..\common\$D\mstream.obj | |
754 | copy ..\common\$D\nbkbase.obj | |
755 | copy ..\common\$D\object.obj | |
756 | copy ..\common\$D\objstrm.obj | |
757 | copy ..\common\$D\odbc.obj | |
758 | copy ..\common\$D\paper.obj | |
759 | copy ..\common\$D\popupcmn.obj | |
760 | copy ..\common\$D\prntbase.obj | |
761 | copy ..\common\$D\process.obj | |
762 | copy ..\common\$D\protocol.obj | |
763 | copy ..\common\$D\quantize.obj | |
764 | copy ..\common\$D\radiocmn.obj | |
765 | copy ..\common\$D\regex.obj | |
766 | ||
767 | $(COMLIBOBJS3): | |
768 | copy ..\common\$D\resource.obj | |
769 | copy ..\common\$D\sckaddr.obj | |
770 | copy ..\common\$D\sckfile.obj | |
771 | copy ..\common\$D\sckipc.obj | |
772 | copy ..\common\$D\sckstrm.obj | |
773 | copy ..\common\$D\serbase.obj | |
774 | copy ..\common\$D\sizer.obj | |
775 | copy ..\common\$D\socket.obj | |
776 | copy ..\common\$D\strconv.obj | |
777 | copy ..\common\$D\stream.obj | |
778 | copy ..\common\$D\string.obj | |
779 | copy ..\common\$D\sysopt.obj | |
780 | copy ..\common\$D\tbarbase.obj | |
781 | copy ..\common\$D\textcmn.obj | |
782 | copy ..\common\$D\textfile.obj | |
783 | copy ..\common\$D\timercmn.obj | |
784 | copy ..\common\$D\tokenzr.obj | |
785 | copy ..\common\$D\toplvcmn.obj | |
786 | copy ..\common\$D\treebase.obj | |
787 | copy ..\common\$D\txtstrm.obj | |
788 | copy ..\common\$D\unzip.obj | |
789 | copy ..\common\$D\url.obj | |
790 | copy ..\common\$D\utilscmn.obj | |
791 | copy ..\common\$D\valgen.obj | |
792 | copy ..\common\$D\validate.obj | |
793 | copy ..\common\$D\valtext.obj | |
794 | copy ..\common\$D\variant.obj | |
795 | copy ..\common\$D\wfstream.obj | |
796 | copy ..\common\$D\wincmn.obj | |
797 | copy ..\common\$D\wxchar.obj | |
798 | copy ..\common\$D\wxexpr.obj | |
799 | copy ..\common\$D\xpmdecod.obj | |
800 | copy ..\common\$D\y_tab.obj | |
801 | copy ..\common\$D\zipstrm.obj | |
802 | copy ..\common\$D\zstream.obj | |
803 | ||
804 | $(GENLIBOBJS): | |
805 | copy ..\generic\$D\busyinfo.obj | |
806 | copy ..\generic\$D\calctrl.obj | |
807 | copy ..\generic\$D\caret.obj | |
808 | copy ..\generic\$D\choicdgg.obj | |
809 | copy ..\generic\$D\colrdlgg.obj | |
810 | copy ..\generic\$D\dragimgg.obj | |
811 | copy ..\generic\$D\dcpsg.obj | |
812 | copy ..\generic\$D\dirctrlg.obj | |
813 | copy ..\generic\$D\fontdlgg.obj | |
814 | copy ..\generic\$D\fdrepdlg.obj | |
815 | copy ..\generic\$D\grid.obj | |
816 | copy ..\generic\$D\gridctrl.obj | |
817 | copy ..\generic\$D\gridsel.obj | |
818 | copy ..\generic\$D\helpext.obj | |
819 | copy ..\generic\$D\helphtml.obj | |
820 | copy ..\generic\$D\helpwxht.obj | |
821 | copy ..\generic\$D\helpxlp.obj | |
822 | copy ..\generic\$D\imaglist.obj | |
823 | copy ..\generic\$D\laywin.obj | |
824 | copy ..\generic\$D\listctrl.obj | |
825 | copy ..\generic\$D\logg.obj | |
826 | copy ..\generic\$D\numdlgg.obj | |
827 | copy ..\generic\$D\panelg.obj | |
828 | copy ..\generic\$D\printps.obj | |
829 | copy ..\generic\$D\prntdlgg.obj | |
830 | copy ..\generic\$D\progdlgg.obj | |
831 | copy ..\generic\$D\prop.obj | |
832 | copy ..\generic\$D\propform.obj | |
833 | copy ..\generic\$D\proplist.obj | |
834 | copy ..\generic\$D\sashwin.obj | |
835 | copy ..\generic\$D\scrlwing.obj | |
836 | copy ..\generic\$D\spinctlg.obj | |
837 | copy ..\generic\$D\splitter.obj | |
838 | copy ..\generic\$D\statusbr.obj | |
839 | copy ..\generic\$D\tabg.obj | |
840 | copy ..\generic\$D\tbarsmpl.obj | |
841 | copy ..\generic\$D\textdlgg.obj | |
842 | copy ..\generic\$D\tipdlg.obj | |
843 | copy ..\generic\$D\tipwin.obj | |
844 | copy ..\generic\$D\treectlg.obj | |
845 | copy ..\generic\$D\treelay.obj | |
846 | copy ..\generic\$D\wizard.obj | |
847 | ||
848 | $(HTMLLIBOBJS): | |
849 | copy ..\html\$D\helpctrl.obj | |
850 | copy ..\html\$D\helpdata.obj | |
851 | copy ..\html\$D\helpfrm.obj | |
852 | copy ..\html\$D\htmlcell.obj | |
853 | copy ..\html\$D\htmlfilt.obj | |
854 | copy ..\html\$D\htmlpars.obj | |
855 | copy ..\html\$D\htmltag.obj | |
856 | copy ..\html\$D\htmlwin.obj | |
857 | copy ..\html\$D\htmprint.obj | |
858 | copy ..\html\$D\m_dflist.obj | |
859 | copy ..\html\$D\m_fonts.obj | |
860 | copy ..\html\$D\m_hline.obj | |
861 | copy ..\html\$D\m_image.obj | |
862 | copy ..\html\$D\m_layout.obj | |
863 | copy ..\html\$D\m_links.obj | |
864 | copy ..\html\$D\m_list.obj | |
865 | copy ..\html\$D\m_meta.obj | |
866 | copy ..\html\$D\m_pre.obj | |
867 | copy ..\html\$D\m_tables.obj | |
868 | copy ..\html\$D\winpars.obj | |
869 | ||
870 | $(OS2LIBOBJS1): | |
871 | copy ..\os2\$D\accel.obj | |
872 | copy ..\os2\$D\app.obj | |
873 | copy ..\os2\$D\bitmap.obj | |
874 | copy ..\os2\$D\bmpbuttn.obj | |
875 | copy ..\os2\$D\brush.obj | |
876 | copy ..\os2\$D\button.obj | |
877 | copy ..\os2\$D\checkbox.obj | |
878 | copy ..\os2\$D\checklst.obj | |
879 | copy ..\os2\$D\choice.obj | |
880 | copy ..\os2\$D\clipbrd.obj | |
881 | copy ..\os2\$D\colour.obj | |
882 | copy ..\os2\$D\combobox.obj | |
883 | copy ..\os2\$D\control.obj | |
884 | copy ..\os2\$D\cursor.obj | |
885 | copy ..\os2\$D\data.obj | |
886 | copy ..\os2\$D\dataobj.obj | |
887 | copy ..\os2\$D\dc.obj | |
888 | copy ..\os2\$D\dcclient.obj | |
889 | copy ..\os2\$D\dcmemory.obj | |
890 | copy ..\os2\$D\dcprint.obj | |
891 | copy ..\os2\$D\dcscreen.obj | |
892 | copy ..\os2\$D\dialog.obj | |
893 | copy ..\os2\$D\dir.obj | |
894 | copy ..\os2\$D\dirdlg.obj | |
895 | copy ..\os2\$D\dnd.obj | |
896 | copy ..\os2\$D\filedlg.obj | |
897 | copy ..\os2\$D\font.obj | |
898 | copy ..\os2\$D\fontdlg.obj | |
899 | copy ..\os2\$D\fontenum.obj | |
900 | copy ..\os2\$D\fontutil.obj | |
901 | copy ..\os2\$D\frame.obj | |
902 | copy ..\os2\$D\gauge.obj | |
903 | copy ..\os2\$D\gdiimage.obj | |
904 | copy ..\os2\$D\gdiobj.obj | |
905 | copy ..\os2\$D\gsocket.obj | |
906 | copy ..\os2\$D\gsockpm.obj | |
907 | copy ..\os2\$D\helpwin.obj | |
908 | copy ..\os2\$D\icon.obj | |
909 | copy ..\os2\$D\iniconf.obj | |
910 | copy ..\os2\$D\joystick.obj | |
911 | copy ..\os2\$D\listbox.obj | |
912 | copy ..\os2\$D\main.obj | |
913 | copy ..\os2\$D\mdi.obj | |
914 | copy ..\os2\$D\menu.obj | |
915 | copy ..\os2\$D\menuitem.obj | |
916 | ||
917 | $(OS2LIBOBJS2): | |
918 | copy ..\os2\$D\metafile.obj | |
919 | copy ..\os2\$D\mimetype.obj | |
920 | copy ..\os2\$D\minifram.obj | |
921 | copy ..\os2\$D\msgdlg.obj | |
922 | copy ..\os2\$D\nativdlg.obj | |
923 | copy ..\os2\$D\notebook.obj | |
924 | copy ..\os2\$D\ownerdrw.obj | |
925 | copy ..\os2\$D\palette.obj | |
926 | copy ..\os2\$D\pen.obj | |
927 | copy ..\os2\$D\pnghand.obj | |
928 | copy ..\os2\$D\print.obj | |
929 | copy ..\os2\$D\radiobox.obj | |
930 | copy ..\os2\$D\radiobut.obj | |
931 | copy ..\os2\$D\region.obj | |
932 | copy ..\os2\$D\scrolbar.obj | |
933 | copy ..\os2\$D\settings.obj | |
934 | copy ..\os2\$D\slider.obj | |
935 | copy ..\os2\$D\spinbutt.obj | |
936 | copy ..\os2\$D\spinctrl.obj | |
937 | copy ..\os2\$D\statbmp.obj | |
938 | copy ..\os2\$D\statbox.obj | |
939 | copy ..\os2\$D\statline.obj | |
940 | copy ..\os2\$D\stattext.obj | |
941 | copy ..\os2\$D\tabctrl.obj | |
942 | copy ..\os2\$D\taskbar.obj | |
943 | copy ..\os2\$D\textctrl.obj | |
944 | copy ..\os2\$D\thread.obj | |
945 | copy ..\os2\$D\timer.obj | |
946 | copy ..\os2\$D\toolbar.obj | |
947 | copy ..\os2\$D\tooltip.obj | |
948 | copy ..\os2\$D\utils.obj | |
949 | copy ..\os2\$D\utilsexc.obj | |
950 | copy ..\os2\$D\wave.obj | |
951 | copy ..\os2\$D\window.obj | |
952 | copy ..\os2\$D\xpmhand.obj | |
953 | ||
954 | # wxWindows library as DLL | |
955 | dll: | |
956 | nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
957 | ||
958 | cleandll: | |
959 | nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
960 | ||
961 | # wxWindows + app as DLL. Only affects main.cpp. | |
962 | dllapp: | |
963 | nmake -f makefile.va all FINAL=$(FINAL) DLL=1 | |
964 | ||
965 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
966 | dllnp: | |
967 | nmake -f makefile.va all FINAL=$(FINAL) DLL=1 | |
968 | ||
969 | # Use this to make dummy.obj and generate a PCH. | |
970 | # You might use the dll target, then the pch target, in order to | |
971 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
972 | # | |
973 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
974 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
975 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
976 | # In fact headers are compiled differently depending on whether a DLL is being made | |
977 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
978 | # in each case) so you couldn't use the same PCH. | |
979 | pch: | |
980 | nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
981 | ||
982 | pch1: dirs $(DUMMYOBJ) | |
983 | echo $(DUMMYOBJ) | |
984 | ||
985 | !if "$(WXMAKINGDLL)" != "1" | |
986 | ||
987 | ### Static library | |
988 | ||
989 | $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1) | |
990 | -touch $(WXDIR)\lib\wxcom1.lib | |
991 | -del $(WXDIR)\lib\wxcom1.lib | |
992 | ilib $(LIBFLAGS) $@ @<< | |
993 | $**; | |
994 | << | |
995 | ||
996 | $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2) | |
997 | -touch $(WXDIR)\lib\wxcom2.lib | |
998 | -del $(WXDIR)\lib\wxcom2.lib | |
999 | ilib $(LIBFLAGS) $@ @<< | |
1000 | $**; | |
1001 | << | |
1002 | ||
1003 | $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3) | |
1004 | -touch $(WXDIR)\lib\wxcom3.lib | |
1005 | -del $(WXDIR)\lib\wxcom3.lib | |
1006 | ilib $(LIBFLAGS) $@ @<< | |
1007 | $**; | |
1008 | << | |
1009 | ||
1010 | $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS) | |
1011 | -touch $(WXDIR)\lib\wxgen.lib | |
1012 | -del $(WXDIR)\lib\wxgen.lib | |
1013 | ilib $(LIBFLAGS) $@ @<< | |
1014 | $**; | |
1015 | << | |
1016 | ||
1017 | $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS) | |
1018 | -touch $(WXDIR)\lib\wxhtml.lib | |
1019 | -del $(WXDIR)\lib\wxhtml.lib | |
1020 | ilib $(LIBFLAGS) $@ @<< | |
1021 | $**; | |
1022 | << | |
1023 | ||
1024 | $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS) | |
1025 | -touch $(WXDIR)\lib\wxnones.lib | |
1026 | -del $(WXDIR)\lib\wxnones.lib | |
1027 | ilib $(LIBFLAGS) $@ @<< | |
1028 | $**; | |
1029 | << | |
1030 | ||
1031 | $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1) | |
1032 | -touch $(WXDIR)\lib\wxos21.lib | |
1033 | -del $(WXDIR)\lib\wxos21.lib | |
1034 | ilib $(LIBFLAGS) $@ @<< | |
1035 | $**; | |
1036 | << | |
1037 | ||
1038 | $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2) | |
1039 | -touch $(WXDIR)\lib\wxos22.lib | |
1040 | -del $(WXDIR)\lib\wxos22.lib | |
1041 | ilib $(LIBFLAGS) $@ @<< | |
1042 | $**; | |
1043 | << | |
1044 | del *.obj | |
1045 | ||
1046 | $(WXDIR)\lib\wx.lib: \ | |
1047 | $D\dummy.obj \ | |
1048 | $(COMTEMPTGT1) \ | |
1049 | $(COMTEMPTGT2) \ | |
1050 | $(COMTEMPTGT3) \ | |
1051 | $(GENTEMPTGT) \ | |
1052 | $(HTMLTEMPTGT) \ | |
1053 | $(NONESTEMPTGT) \ | |
1054 | $(OS2TEMPTGT1) \ | |
1055 | $(OS2TEMPTGT2) \ | |
1056 | $(PERIPH_LIBS) | |
1057 | -touch $(LIBTARGET) | |
1058 | -del $(LIBTARGET) | |
1059 | ilib $(LIBFLAGS) $@ @<< | |
1060 | $**; | |
1061 | << | |
1062 | del $(COMTEMPTGT1) | |
1063 | del $(COMTEMPTGT2) | |
1064 | del $(COMTEMPTGT3) | |
1065 | del $(GENTEMPTGT) | |
1066 | del $(HTMLTEMPTGT) | |
1067 | del $(NONESTEMPTGT) | |
1068 | del $(OS2TEMPTGT1) | |
1069 | del $(OS2TEMPTGT2) | |
1070 | ||
1071 | !else | |
1072 | ||
1073 | # Update the dynamic link library | |
1074 | $(WXDIR)\lib\wx23.dll: $(OBJECTS) | |
1075 | icc @<< | |
1076 | /B" $(LINKFLAGS)" /Fe$@ | |
1077 | $(LIBS) | |
1078 | $(DUMMYOBJ) | |
1079 | $(OBJECTS) | |
1080 | $(WXDIR)\src\os2\wx23.def | |
1081 | << | |
1082 | implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def | |
1083 | ||
1084 | !endif | |
1085 | ||
1086 | # If taking wxWindows from CVS, setup.h doesn't exist yet. | |
1087 | $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h | |
1088 | copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak | |
1089 | copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h | |
1090 | ||
1091 | ..\common\$D\extended.obj: ..\common\extended.c | |
1092 | icc @<< | |
1093 | $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c | |
1094 | << | |
1095 | ||
1096 | ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c | |
1097 | icc @<< | |
1098 | $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c | |
1099 | << | |
1100 | ||
1101 | ..\common\y_tab.c: ..\common\dosyacc.c | |
1102 | copy "..\common"\dosyacc.c "..\common"\y_tab.c | |
1103 | ||
1104 | ..\common\lex_yy.c: ..\common\doslex.c | |
1105 | copy "..\common"\doslex.c "..\common"\lex_yy.c | |
1106 | ||
1107 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
1108 | ||
1109 | ..\common\$D\unzip.obj: ..\common\unzip.c | |
1110 | icc @<< | |
1111 | $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c | |
1112 | << | |
1113 | ||
1114 | png: | |
1115 | cd $(WXDIR)\src\png | |
1116 | nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
1117 | cd $(WXDIR)\src\os2 | |
1118 | ||
1119 | clean_png: | |
1120 | cd $(WXDIR)\src\png | |
1121 | nmake -f makefile.va clean | |
1122 | cd $(WXDIR)\src\os2 | |
1123 | ||
1124 | zlib: | |
1125 | cd $(WXDIR)\src\zlib | |
1126 | nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
1127 | cd $(WXDIR)\src\os2 | |
1128 | ||
1129 | clean_zlib: | |
1130 | cd $(WXDIR)\src\zlib | |
1131 | nmake -f makefile.va clean | |
1132 | cd $(WXDIR)\src\os2 | |
1133 | ||
1134 | jpeg: | |
1135 | cd $(WXDIR)\src\jpeg | |
1136 | nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
1137 | cd $(WXDIR)\src\os2 | |
1138 | ||
1139 | clean_jpeg: | |
1140 | cd $(WXDIR)\src\jpeg | |
1141 | nmake -f makefile.va clean | |
1142 | cd $(WXDIR)\src\os2 | |
1143 | ||
1144 | xpm: | |
1145 | cd $(WXDIR)\src\xpm | |
1146 | nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
1147 | cd $(WXDIR)\src\os2 | |
1148 | ||
1149 | clean_xpm: | |
1150 | cd $(WXDIR)\src\xpm | |
1151 | nmake -f makefile.va clean | |
1152 | cd $(WXDIR)\src\os2 | |
1153 | ||
1154 | tiff: | |
1155 | cd $(WXDIR)\src\tiff | |
1156 | nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
1157 | cd $(WXDIR)\src\os2 | |
1158 | ||
1159 | clean_tiff: | |
1160 | cd $(WXDIR)\src\tiff | |
1161 | nmake -f makefile.va clean | |
1162 | cd $(WXDIR)\src\os2 | |
1163 | ||
1164 | clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff | |
1165 | erase /N $(GENDIR)\$D\*.obj | |
1166 | erase /N $(COMMDIR)\$D\*.obj | |
1167 | erase /N $(HTMLDIR)\$D\*.obj | |
1168 | erase /N $(OS2DIR)\$D\*.obj | |
1169 | rd $(D) | |
1170 | rd ..\generic\$D | |
1171 | rd ..\common\$D | |
1172 | rd ..\html\$D | |
1173 | rd ..\os2\$D | |
1174 | del $(LIBTARGET) | |
1175 | !if "$(WXMAKINGDLL)" == "1" | |
1176 | erase /N ..\..\lib\wx23.lib | |
1177 | !endif | |
1178 | erase /N $(COMMDIR)\y_tab.c | |
1179 | erase /N $(COMMDIR)\lex_yy.c | |
1180 | ||
1181 | cleanall: clean | |
1182 |