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