6 # Copyright: (c) 1999, Dave Webster
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
16 !include <..\makeva.env>
18 THISDIR=$(WXWIN)\src\os2
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
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
36 # Please set these according to the settings in setup.h, so we can include
37 # the appropriate libraries in wx.lib
39 # This one overrides the others, to be consistent with the settings in wx_setup.h
40 MINIMAL_WXWINDOWS_SETUP=0
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
55 !if [md $(COMMDIR)\$D]
64 !if [md $(HTMLDIR)\$D]
67 {..\generic}.cpp{..\generic\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /Tp $<
73 {..\common}.cpp{..\common\$D}.obj:
76 $(CPPFLAGS) /Fo$@ /Tp $<
79 {..\os2}.cpp{..\os2\$D}.obj:
82 $(CPPFLAGS) /Fo$@ /Tp $<
85 {..\os2}.c{..\os2\$D}.obj:
88 $(CPPFLAGS) /Fo$@ /Tp $<
91 {..\html}.cpp{..\html\$D}.obj:
94 $(CPPFLAGS) /Fo$@ /Tp $<
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
141 # ..\generic\$D\gridg.obj \
142 # ..\generic\$D\notebook.obj \
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.
191 ..\generic\$D\msgdlgg.obj
194 ..\common\$D\appcmn.obj \
195 ..\common\$D\bmpbase.obj \
196 ..\common\$D\choiccmn.obj \
197 ..\common\$D\clipcmn.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 \
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 \
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\strconv.obj \
295 ..\common\$D\stream.obj \
296 ..\common\$D\string.obj \
297 ..\common\$D\sysopt.obj \
298 ..\common\$D\tbarbase.obj \
299 ..\common\$D\textcmn.obj \
300 ..\common\$D\textfile.obj \
301 ..\common\$D\timercmn.obj \
302 ..\common\$D\tokenzr.obj \
303 ..\common\$D\treebase.obj \
304 ..\common\$D\txtstrm.obj \
305 ..\common\$D\unzip.obj \
306 ..\common\$D\url.obj \
307 ..\common\$D\utilscmn.obj \
308 ..\common\$D\valgen.obj \
309 ..\common\$D\validate.obj \
310 ..\common\$D\valtext.obj \
311 ..\common\$D\variant.obj \
312 ..\common\$D\wfstream.obj \
313 ..\common\$D\wincmn.obj \
314 ..\common\$D\wxchar.obj \
315 ..\common\$D\wxexpr.obj \
316 ..\common\$D\xpmdecod.obj \
317 ..\common\$D\y_tab.obj \
318 ..\common\$D\zipstrm.obj \
319 ..\common\$D\zstream.obj
448 ..\os2\$D\accel.obj \
450 ..\os2\$D\bitmap.obj \
451 ..\os2\$D\bmpbuttn.obj \
452 ..\os2\$D\brush.obj \
453 ..\os2\$D\button.obj \
454 ..\os2\$D\checkbox.obj \
455 ..\os2\$D\checklst.obj \
456 ..\os2\$D\choice.obj \
457 ..\os2\$D\clipbrd.obj \
458 ..\os2\$D\colour.obj \
459 ..\os2\$D\combobox.obj \
460 ..\os2\$D\control.obj \
461 ..\os2\$D\cursor.obj \
463 ..\os2\$D\dataobj.obj \
465 ..\os2\$D\dcclient.obj \
466 ..\os2\$D\dcmemory.obj \
467 ..\os2\$D\dcprint.obj \
468 ..\os2\$D\dcscreen.obj \
469 ..\os2\$D\dialog.obj \
471 ..\os2\$D\dirdlg.obj \
473 ..\os2\$D\filedlg.obj \
475 ..\os2\$D\fontdlg.obj \
476 ..\os2\$D\fontenum.obj \
477 ..\os2\$D\fontutil.obj \
478 ..\os2\$D\frame.obj \
479 ..\os2\$D\gauge.obj \
480 ..\os2\$D\gdiimage.obj \
481 ..\os2\$D\gdiobj.obj \
482 ..\os2\$D\gsocket.obj \
483 ..\os2\$D\gsockpm.obj \
484 ..\os2\$D\helpwin.obj \
486 ..\os2\$D\iniconf.obj \
487 ..\os2\$D\joystick.obj \
488 ..\os2\$D\listbox.obj \
492 ..\os2\$D\menuitem.obj \
493 ..\os2\$D\metafile.obj \
494 ..\os2\$D\mimetype.obj \
495 ..\os2\$D\minifram.obj \
496 ..\os2\$D\msgdlg.obj \
497 ..\os2\$D\nativdlg.obj \
498 ..\os2\$D\notebook.obj \
499 ..\os2\$D\ownerdrw.obj \
500 ..\os2\$D\palette.obj \
502 ..\os2\$D\pnghand.obj \
503 ..\os2\$D\print.obj \
504 ..\os2\$D\radiobox.obj \
505 ..\os2\$D\radiobut.obj \
506 ..\os2\$D\region.obj \
507 ..\os2\$D\scrolbar.obj \
508 ..\os2\$D\settings.obj \
509 ..\os2\$D\slider.obj \
510 ..\os2\$D\spinbutt.obj \
511 ..\os2\$D\spinctrl.obj \
512 ..\os2\$D\statbmp.obj \
513 ..\os2\$D\statbox.obj \
514 ..\os2\$D\statline.obj \
515 ..\os2\$D\stattext.obj \
516 ..\os2\$D\tabctrl.obj \
517 ..\os2\$D\taskbar.obj \
518 ..\os2\$D\textctrl.obj \
519 ..\os2\$D\thread.obj \
520 ..\os2\$D\timer.obj \
521 ..\os2\$D\toolbar.obj \
522 ..\os2\$D\tooltip.obj \
523 ..\os2\$D\utils.obj \
524 ..\os2\$D\utilsexc.obj \
526 ..\os2\$D\window.obj \
527 ..\os2\$D\xpmhand.obj
614 ..\html\$D\helpctrl.obj \
615 ..\html\$D\helpdata.obj \
616 ..\html\$D\helpfrm.obj \
617 ..\html\$D\htmlcell.obj \
618 ..\html\$D\htmlfilt.obj \
619 ..\html\$D\htmlpars.obj \
620 ..\html\$D\htmltag.obj \
621 ..\html\$D\htmlwin.obj \
622 ..\html\$D\htmprint.obj \
623 ..\html\$D\m_dflist.obj \
624 ..\html\$D\m_fonts.obj \
625 ..\html\$D\m_hline.obj \
626 ..\html\$D\m_image.obj \
627 ..\html\$D\m_layout.obj \
628 ..\html\$D\m_links.obj \
629 ..\html\$D\m_list.obj \
630 ..\html\$D\m_meta.obj \
631 ..\html\$D\m_pre.obj \
632 ..\html\$D\m_tables.obj \
633 ..\html\$D\winpars.obj
657 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
658 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
660 # Normal, static library
661 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
663 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
666 test: $(OS2DIR)\$D\wave.obj
667 test2: ..\common\Debug\config.obj
669 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
670 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
672 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
673 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
676 copy ..\common\$D\appcmn.obj
677 copy ..\common\$D\bmpbase.obj
678 copy ..\common\$D\choiccmn.obj
679 copy ..\common\$D\clipcmn.obj
680 copy ..\common\$D\cmdline.obj
681 copy ..\common\$D\cmndata.obj
682 copy ..\common\$D\cmdproc.obj
683 copy ..\common\$D\config.obj
684 copy ..\common\$D\containr.obj
685 copy ..\common\$D\cshelp.obj
686 copy ..\common\$D\ctrlcmn.obj
687 copy ..\common\$D\ctrlsub.obj
688 copy ..\common\$D\datetime.obj
689 copy ..\common\$D\datstrm.obj
690 copy ..\common\$D\db.obj
691 copy ..\common\$D\dbgrid.obj
692 copy ..\common\$D\dbtable.obj
693 copy ..\common\$D\dcbase.obj
694 copy ..\common\$D\dlgcmn.obj
695 copy ..\common\$D\dircmn.obj
696 copy ..\common\$D\dndcmn.obj
697 copy ..\common\$D\dobjcmn.obj
698 copy ..\common\$D\docmdi.obj
699 copy ..\common\$D\docview.obj
700 copy ..\common\$D\dynarray.obj
701 copy ..\common\$D\dynlib.obj
702 copy ..\common\$D\effects.obj
703 copy ..\common\$D\encconv.obj
704 copy ..\common\$D\event.obj
705 copy ..\common\$D\extended.obj
706 copy ..\common\$D\fddlgcmn.obj
707 copy ..\common\$D\ffile.obj
708 copy ..\common\$D\file.obj
709 copy ..\common\$D\fileconf.obj
710 copy ..\common\$D\filefn.obj
711 copy ..\common\$D\filename.obj
712 copy ..\common\$D\filesys.obj
713 copy ..\common\$D\fontcmn.obj
714 copy ..\common\$D\fontmap.obj
715 copy ..\common\$D\framecmn.obj
716 copy ..\common\$D\fs_inet.obj
717 copy ..\common\$D\fs_mem.obj
718 copy ..\common\$D\fs_zip.obj
719 copy ..\common\$D\ftp.obj
722 copy ..\common\$D\gaugecmn.obj
723 copy ..\common\$D\gdicmn.obj
724 copy ..\common\$D\geometry.obj
725 copy ..\common\$D\gifdecod.obj
726 copy ..\common\$D\hash.obj
727 copy ..\common\$D\helpbase.obj
728 copy ..\common\$D\http.obj
729 copy ..\common\$D\imagall.obj
730 copy ..\common\$D\imagbmp.obj
731 copy ..\common\$D\image.obj
732 copy ..\common\$D\imaggif.obj
733 copy ..\common\$D\imagjpeg.obj
734 copy ..\common\$D\imagpcx.obj
735 copy ..\common\$D\imagpng.obj
736 copy ..\common\$D\imagpnm.obj
737 copy ..\common\$D\imagtiff.obj
738 copy ..\common\$D\imagxpm.obj
739 copy ..\common\$D\intl.obj
740 copy ..\common\$D\ipcbase.obj
741 copy ..\common\$D\layout.obj
742 copy ..\common\$D\lboxcmn.obj
743 copy ..\common\$D\list.obj
744 copy ..\common\$D\log.obj
745 copy ..\common\$D\longlong.obj
746 copy ..\common\$D\matrix.obj
747 copy ..\common\$D\memory.obj
748 copy ..\common\$D\menucmn.obj
749 copy ..\common\$D\mimecmn.obj
750 copy ..\common\$D\module.obj
751 copy ..\common\$D\mstream.obj
752 copy ..\common\$D\nbkbase.obj
753 copy ..\common\$D\object.obj
754 copy ..\common\$D\objstrm.obj
755 copy ..\common\$D\odbc.obj
756 copy ..\common\$D\paper.obj
757 copy ..\common\$D\popupcmn.obj
758 copy ..\common\$D\prntbase.obj
759 copy ..\common\$D\process.obj
760 copy ..\common\$D\protocol.obj
761 copy ..\common\$D\quantize.obj
762 copy ..\common\$D\radiocmn.obj
763 copy ..\common\$D\regex.obj
766 copy ..\common\$D\resource.obj
767 copy ..\common\$D\sckaddr.obj
768 copy ..\common\$D\sckfile.obj
769 copy ..\common\$D\sckipc.obj
770 copy ..\common\$D\sckstrm.obj
771 copy ..\common\$D\serbase.obj
772 copy ..\common\$D\sizer.obj
773 copy ..\common\$D\socket.obj
774 copy ..\common\$D\strconv.obj
775 copy ..\common\$D\stream.obj
776 copy ..\common\$D\string.obj
777 copy ..\common\$D\sysopt.obj
778 copy ..\common\$D\tbarbase.obj
779 copy ..\common\$D\textcmn.obj
780 copy ..\common\$D\textfile.obj
781 copy ..\common\$D\timercmn.obj
782 copy ..\common\$D\tokenzr.obj
783 copy ..\common\$D\treebase.obj
784 copy ..\common\$D\txtstrm.obj
785 copy ..\common\$D\unzip.obj
786 copy ..\common\$D\url.obj
787 copy ..\common\$D\utilscmn.obj
788 copy ..\common\$D\valgen.obj
789 copy ..\common\$D\validate.obj
790 copy ..\common\$D\valtext.obj
791 copy ..\common\$D\variant.obj
792 copy ..\common\$D\wfstream.obj
793 copy ..\common\$D\wincmn.obj
794 copy ..\common\$D\wxchar.obj
795 copy ..\common\$D\wxexpr.obj
796 copy ..\common\$D\xpmdecod.obj
797 copy ..\common\$D\y_tab.obj
798 copy ..\common\$D\zipstrm.obj
799 copy ..\common\$D\zstream.obj
802 copy ..\generic\$D\busyinfo.obj
803 copy ..\generic\$D\calctrl.obj
804 copy ..\generic\$D\caret.obj
805 copy ..\generic\$D\choicdgg.obj
806 copy ..\generic\$D\colrdlgg.obj
807 copy ..\generic\$D\dragimgg.obj
808 copy ..\generic\$D\dcpsg.obj
809 copy ..\generic\$D\dirctrlg.obj
810 copy ..\generic\$D\fontdlgg.obj
811 copy ..\generic\$D\fdrepdlg.obj
812 copy ..\generic\$D\grid.obj
813 copy ..\generic\$D\gridctrl.obj
814 copy ..\generic\$D\gridsel.obj
815 copy ..\generic\$D\helpext.obj
816 copy ..\generic\$D\helphtml.obj
817 copy ..\generic\$D\helpwxht.obj
818 copy ..\generic\$D\helpxlp.obj
819 copy ..\generic\$D\imaglist.obj
820 copy ..\generic\$D\laywin.obj
821 copy ..\generic\$D\listctrl.obj
822 copy ..\generic\$D\logg.obj
823 copy ..\generic\$D\numdlgg.obj
824 copy ..\generic\$D\panelg.obj
825 copy ..\generic\$D\printps.obj
826 copy ..\generic\$D\prntdlgg.obj
827 copy ..\generic\$D\progdlgg.obj
828 copy ..\generic\$D\prop.obj
829 copy ..\generic\$D\propform.obj
830 copy ..\generic\$D\proplist.obj
831 copy ..\generic\$D\sashwin.obj
832 copy ..\generic\$D\scrlwing.obj
833 copy ..\generic\$D\spinctlg.obj
834 copy ..\generic\$D\splitter.obj
835 copy ..\generic\$D\statusbr.obj
836 copy ..\generic\$D\tabg.obj
837 copy ..\generic\$D\tbarsmpl.obj
838 copy ..\generic\$D\textdlgg.obj
839 copy ..\generic\$D\tipdlg.obj
840 copy ..\generic\$D\tipwin.obj
841 copy ..\generic\$D\treectlg.obj
842 copy ..\generic\$D\treelay.obj
843 copy ..\generic\$D\wizard.obj
846 copy ..\html\$D\helpctrl.obj
847 copy ..\html\$D\helpdata.obj
848 copy ..\html\$D\helpfrm.obj
849 copy ..\html\$D\htmlcell.obj
850 copy ..\html\$D\htmlfilt.obj
851 copy ..\html\$D\htmlpars.obj
852 copy ..\html\$D\htmltag.obj
853 copy ..\html\$D\htmlwin.obj
854 copy ..\html\$D\htmprint.obj
855 copy ..\html\$D\m_dflist.obj
856 copy ..\html\$D\m_fonts.obj
857 copy ..\html\$D\m_hline.obj
858 copy ..\html\$D\m_image.obj
859 copy ..\html\$D\m_layout.obj
860 copy ..\html\$D\m_links.obj
861 copy ..\html\$D\m_list.obj
862 copy ..\html\$D\m_meta.obj
863 copy ..\html\$D\m_pre.obj
864 copy ..\html\$D\m_tables.obj
865 copy ..\html\$D\winpars.obj
868 copy ..\os2\$D\accel.obj
869 copy ..\os2\$D\app.obj
870 copy ..\os2\$D\bitmap.obj
871 copy ..\os2\$D\bmpbuttn.obj
872 copy ..\os2\$D\brush.obj
873 copy ..\os2\$D\button.obj
874 copy ..\os2\$D\checkbox.obj
875 copy ..\os2\$D\checklst.obj
876 copy ..\os2\$D\choice.obj
877 copy ..\os2\$D\clipbrd.obj
878 copy ..\os2\$D\colour.obj
879 copy ..\os2\$D\combobox.obj
880 copy ..\os2\$D\control.obj
881 copy ..\os2\$D\cursor.obj
882 copy ..\os2\$D\data.obj
883 copy ..\os2\$D\dataobj.obj
884 copy ..\os2\$D\dc.obj
885 copy ..\os2\$D\dcclient.obj
886 copy ..\os2\$D\dcmemory.obj
887 copy ..\os2\$D\dcprint.obj
888 copy ..\os2\$D\dcscreen.obj
889 copy ..\os2\$D\dialog.obj
890 copy ..\os2\$D\dir.obj
891 copy ..\os2\$D\dirdlg.obj
892 copy ..\os2\$D\dnd.obj
893 copy ..\os2\$D\filedlg.obj
894 copy ..\os2\$D\font.obj
895 copy ..\os2\$D\fontdlg.obj
896 copy ..\os2\$D\fontenum.obj
897 copy ..\os2\$D\fontutil.obj
898 copy ..\os2\$D\frame.obj
899 copy ..\os2\$D\gauge.obj
900 copy ..\os2\$D\gdiimage.obj
901 copy ..\os2\$D\gdiobj.obj
902 copy ..\os2\$D\gsocket.obj
903 copy ..\os2\$D\gsockpm.obj
904 copy ..\os2\$D\helpwin.obj
905 copy ..\os2\$D\icon.obj
906 copy ..\os2\$D\iniconf.obj
907 copy ..\os2\$D\joystick.obj
908 copy ..\os2\$D\listbox.obj
909 copy ..\os2\$D\main.obj
910 copy ..\os2\$D\mdi.obj
911 copy ..\os2\$D\menu.obj
912 copy ..\os2\$D\menuitem.obj
915 copy ..\os2\$D\metafile.obj
916 copy ..\os2\$D\mimetype.obj
917 copy ..\os2\$D\minifram.obj
918 copy ..\os2\$D\msgdlg.obj
919 copy ..\os2\$D\nativdlg.obj
920 copy ..\os2\$D\notebook.obj
921 copy ..\os2\$D\ownerdrw.obj
922 copy ..\os2\$D\palette.obj
923 copy ..\os2\$D\pen.obj
924 copy ..\os2\$D\pnghand.obj
925 copy ..\os2\$D\print.obj
926 copy ..\os2\$D\radiobox.obj
927 copy ..\os2\$D\radiobut.obj
928 copy ..\os2\$D\region.obj
929 copy ..\os2\$D\scrolbar.obj
930 copy ..\os2\$D\settings.obj
931 copy ..\os2\$D\slider.obj
932 copy ..\os2\$D\spinbutt.obj
933 copy ..\os2\$D\spinctrl.obj
934 copy ..\os2\$D\statbmp.obj
935 copy ..\os2\$D\statbox.obj
936 copy ..\os2\$D\statline.obj
937 copy ..\os2\$D\stattext.obj
938 copy ..\os2\$D\tabctrl.obj
939 copy ..\os2\$D\taskbar.obj
940 copy ..\os2\$D\textctrl.obj
941 copy ..\os2\$D\thread.obj
942 copy ..\os2\$D\timer.obj
943 copy ..\os2\$D\toolbar.obj
944 copy ..\os2\$D\tooltip.obj
945 copy ..\os2\$D\utils.obj
946 copy ..\os2\$D\utilsexc.obj
947 copy ..\os2\$D\wave.obj
948 copy ..\os2\$D\window.obj
949 copy ..\os2\$D\xpmhand.obj
951 # wxWindows library as DLL
953 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
956 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
958 # wxWindows + app as DLL. Only affects main.cpp.
960 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
962 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
964 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
966 # Use this to make dummy.obj and generate a PCH.
967 # You might use the dll target, then the pch target, in order to
968 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
970 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
971 # are associated with wx.lib. When using a DLL version of wxWindows, however,
972 # the DLL is compiled without a PCH, so you only need it for compiling the app.
973 # In fact headers are compiled differently depending on whether a DLL is being made
974 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
975 # in each case) so you couldn't use the same PCH.
977 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
979 pch1: dirs $(DUMMYOBJ)
982 !if "$(WXMAKINGDLL)" != "1"
986 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
987 -touch $(WXDIR)\lib\wxcom1.lib
988 -del $(WXDIR)\lib\wxcom1.lib
989 ilib $(LIBFLAGS) $@ @<<
993 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
994 -touch $(WXDIR)\lib\wxcom2.lib
995 -del $(WXDIR)\lib\wxcom2.lib
996 ilib $(LIBFLAGS) $@ @<<
1000 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
1001 -touch $(WXDIR)\lib\wxcom3.lib
1002 -del $(WXDIR)\lib\wxcom3.lib
1003 ilib $(LIBFLAGS) $@ @<<
1007 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1008 -touch $(WXDIR)\lib\wxgen.lib
1009 -del $(WXDIR)\lib\wxgen.lib
1010 ilib $(LIBFLAGS) $@ @<<
1014 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1015 -touch $(WXDIR)\lib\wxhtml.lib
1016 -del $(WXDIR)\lib\wxhtml.lib
1017 ilib $(LIBFLAGS) $@ @<<
1021 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1022 -touch $(WXDIR)\lib\wxnones.lib
1023 -del $(WXDIR)\lib\wxnones.lib
1024 ilib $(LIBFLAGS) $@ @<<
1028 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1029 -touch $(WXDIR)\lib\wxos21.lib
1030 -del $(WXDIR)\lib\wxos21.lib
1031 ilib $(LIBFLAGS) $@ @<<
1035 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1036 -touch $(WXDIR)\lib\wxos22.lib
1037 -del $(WXDIR)\lib\wxos22.lib
1038 ilib $(LIBFLAGS) $@ @<<
1043 $(WXDIR)\lib\wx.lib: \
1056 ilib $(LIBFLAGS) $@ @<<
1070 # Update the dynamic link library
1071 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1073 /B" $(LINKFLAGS)" /Fe$@
1077 $(WXDIR)\src\os2\wx23.def
1079 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1083 # If taking wxWindows from CVS, setup.h doesn't exist yet.
1084 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1085 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1086 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1088 ..\common\$D\extended.obj: ..\common\extended.c
1090 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1093 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1095 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1098 ..\common\y_tab.c: ..\common\dosyacc.c
1099 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1101 ..\common\lex_yy.c: ..\common\doslex.c
1102 copy "..\common"\doslex.c "..\common"\lex_yy.c
1104 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1106 ..\common\$D\unzip.obj: ..\common\unzip.c
1108 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1113 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1118 nmake -f makefile.va clean
1122 cd $(WXDIR)\src\zlib
1123 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1127 cd $(WXDIR)\src\zlib
1128 nmake -f makefile.va clean
1132 cd $(WXDIR)\src\jpeg
1133 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1137 cd $(WXDIR)\src\jpeg
1138 nmake -f makefile.va clean
1143 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1148 nmake -f makefile.va clean
1152 cd $(WXDIR)\src\tiff
1153 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1157 cd $(WXDIR)\src\tiff
1158 nmake -f makefile.va clean
1161 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
1162 erase /N $(GENDIR)\$D\*.obj
1163 erase /N $(COMMDIR)\$D\*.obj
1164 erase /N $(HTMLDIR)\$D\*.obj
1165 erase /N $(OS2DIR)\$D\*.obj
1172 !if "$(WXMAKINGDLL)" == "1"
1173 erase /N ..\..\lib\wx23.lib
1175 erase /N $(COMMDIR)\y_tab.c
1176 erase /N $(COMMDIR)\lex_yy.c