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