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