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