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