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