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