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