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