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