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 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
37 # Please set these according to the settings in setup.h, so we can include
38 # the appropriate libraries in wx.lib
40 # This one overrides the others, to be consistent with the settings in wx_setup.h
41 MINIMAL_WXWINDOWS_SETUP=0
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
56 !if [md $(COMMDIR)\$D]
65 !if [md $(HTMLDIR)\$D]
68 {..\generic}.cpp{..\generic\$D}.obj:
71 $(CPPFLAGS) /Fo$@ /Tp $<
74 {..\common}.cpp{..\common\$D}.obj:
77 $(CPPFLAGS) /Fo$@ /Tp $<
80 {..\os2}.cpp{..\os2\$D}.obj:
83 $(CPPFLAGS) /Fo$@ /Tp $<
86 {..\os2}.c{..\os2\$D}.obj:
89 $(CPPFLAGS) /Fo$@ /Tp $<
92 {..\html}.cpp{..\html\$D}.obj:
95 $(CPPFLAGS) /Fo$@ /Tp $<
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\logg.obj \
118 ..\generic\$D\mdig.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\wizard.obj
139 # ..\generic\$D\gridg.obj \
140 # ..\generic\$D\notebook.obj \
183 # These are generic things that don't need to be compiled on PM,
184 # but sometimes it's useful to do so for testing purposes.
186 ..\generic\$D\msgdlgg.obj
189 ..\common\$D\accesscmn.obj \
190 ..\common\$D\artprov.obj \
191 ..\common\$D\artstd.obj \
192 ..\common\$D\appcmn.obj \
193 ..\common\$D\choiccmn.obj \
194 ..\common\$D\clipcmn.obj \
195 ..\common\$D\clntdata.obj \
196 ..\common\$D\cmdline.obj \
197 ..\common\$D\cmndata.obj \
198 ..\common\$D\cmdproc.obj \
199 ..\common\$D\config.obj \
200 ..\common\$D\containr.obj \
201 ..\common\$D\cshelp.obj \
202 ..\common\$D\ctrlcmn.obj \
203 ..\common\$D\ctrlsub.obj \
204 ..\common\$D\datacmn.obj \
205 ..\common\$D\datetime.obj \
206 ..\common\$D\datstrm.obj \
207 ..\common\$D\dcbase.obj \
208 ..\common\$D\dircmn.obj \
209 ..\common\$D\dlgcmn.obj \
210 ..\common\$D\dndcmn.obj \
211 ..\common\$D\dobjcmn.obj \
212 ..\common\$D\docmdi.obj \
213 ..\common\$D\docview.obj \
214 ..\common\$D\dpycmn.obj \
215 ..\common\$D\dseldlg.obj \
216 ..\common\$D\dynarray.obj \
217 ..\common\$D\dynlib.obj \
218 ..\common\$D\dynload.obj \
219 ..\common\$D\effects.obj \
220 ..\common\$D\encconv.obj \
221 ..\common\$D\event.obj \
222 ..\common\$D\extended.obj \
223 ..\common\$D\fddlgcmn.obj \
224 ..\common\$D\ffile.obj \
225 ..\common\$D\file.obj \
226 ..\common\$D\fileconf.obj \
227 ..\common\$D\filefn.obj \
228 ..\common\$D\filename.obj \
229 ..\common\$D\filesys.obj \
230 ..\common\$D\fontcmn.obj \
231 ..\common\$D\fontmap.obj \
232 ..\common\$D\framecmn.obj \
233 ..\common\$D\fs_inet.obj \
234 ..\common\$D\fs_mem.obj \
235 ..\common\$D\fs_zip.obj \
236 ..\common\$D\ftp.obj \
237 ..\common\$D\gaugecmn.obj \
238 ..\common\$D\gdicmn.obj \
239 ..\common\$D\geometry.obj \
240 ..\common\$D\gifdecod.obj \
241 ..\common\$D\hash.obj \
242 ..\common\$D\hashmap.obj \
243 ..\common\$D\helpbase.obj \
244 ..\common\$D\http.obj \
245 ..\common\$D\iconbndl.obj \
246 ..\common\$D\imagall.obj \
247 ..\common\$D\imagbmp.obj \
248 ..\common\$D\image.obj \
249 ..\common\$D\imagfill.obj \
250 ..\common\$D\imaggif.obj \
251 ..\common\$D\imagiff.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\msgout.obj \
271 ..\common\$D\mstream.obj \
272 ..\common\$D\nbkbase.obj \
273 ..\common\$D\object.obj \
274 ..\common\$D\paper.obj \
275 ..\common\$D\popupcmn.obj \
276 ..\common\$D\prntbase.obj \
277 ..\common\$D\process.obj \
278 ..\common\$D\protocol.obj \
279 ..\common\$D\quantize.obj \
280 ..\common\$D\radiocmn.obj \
281 ..\common\$D\regex.obj \
282 ..\common\$D\rgncmn.obj \
283 ..\common\$D\sckaddr.obj \
284 ..\common\$D\sckfile.obj \
285 ..\common\$D\sckipc.obj \
286 ..\common\$D\sckstrm.obj \
287 ..\common\$D\settcmn.obj \
288 ..\common\$D\sizer.obj \
289 ..\common\$D\socket.obj \
290 ..\common\$D\statbar.obj \
291 ..\common\$D\strconv.obj \
292 ..\common\$D\stream.obj \
293 ..\common\$D\string.obj \
294 ..\common\$D\sysopt.obj \
295 ..\common\$D\tbarbase.obj \
296 ..\common\$D\textbuf.obj \
297 ..\common\$D\textcmn.obj \
298 ..\common\$D\textfile.obj \
299 ..\common\$D\timercmn.obj \
300 ..\common\$D\tokenzr.obj \
301 ..\common\$D\toplvcmn.obj \
302 ..\common\$D\treebase.obj \
303 ..\common\$D\txtstrm.obj \
304 ..\common\$D\unzip.obj \
305 ..\common\$D\url.obj \
306 ..\common\$D\utilscmn.obj \
307 ..\common\$D\valgen.obj \
308 ..\common\$D\validate.obj \
309 ..\common\$D\valtext.obj \
310 ..\common\$D\wfstream.obj \
311 ..\common\$D\wincmn.obj \
312 ..\common\$D\wxchar.obj \
313 ..\common\$D\xpmdecod.obj \
314 ..\common\$D\zipstrm.obj \
315 ..\common\$D\zstream.obj
453 ..\os2\$D\accel.obj \
455 ..\os2\$D\bitmap.obj \
456 ..\os2\$D\bmpbuttn.obj \
457 ..\os2\$D\brush.obj \
458 ..\os2\$D\button.obj \
459 ..\os2\$D\checkbox.obj \
460 ..\os2\$D\checklst.obj \
461 ..\os2\$D\choice.obj \
462 ..\os2\$D\clipbrd.obj \
463 ..\os2\$D\colour.obj \
464 ..\os2\$D\combobox.obj \
465 ..\os2\$D\control.obj \
466 ..\os2\$D\cursor.obj \
468 ..\os2\$D\dataobj.obj \
470 ..\os2\$D\dcclient.obj \
471 ..\os2\$D\dcmemory.obj \
472 ..\os2\$D\dcprint.obj \
473 ..\os2\$D\dcscreen.obj \
474 ..\os2\$D\dialog.obj \
477 ..\os2\$D\filedlg.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 \
490 ..\os2\$D\iniconf.obj \
491 ..\os2\$D\joystick.obj \
492 ..\os2\$D\listbox.obj \
493 ..\os2\$D\listctrl.obj \
496 ..\os2\$D\menuitem.obj \
497 ..\os2\$D\metafile.obj \
498 ..\os2\$D\mimetype.obj \
499 ..\os2\$D\msgdlg.obj \
500 ..\os2\$D\nativdlg.obj \
501 ..\os2\$D\notebook.obj \
502 ..\os2\$D\ownerdrw.obj \
503 ..\os2\$D\palette.obj \
505 ..\os2\$D\popupwin.obj \
506 ..\os2\$D\print.obj \
507 ..\os2\$D\radiobox.obj \
508 ..\os2\$D\radiobut.obj \
509 ..\os2\$D\region.obj \
510 ..\os2\$D\scrolbar.obj \
511 ..\os2\$D\settings.obj \
512 ..\os2\$D\slider.obj \
513 ..\os2\$D\spinbutt.obj \
514 ..\os2\$D\spinctrl.obj \
515 ..\os2\$D\statbmp.obj \
516 ..\os2\$D\statbox.obj \
517 ..\os2\$D\statline.obj \
518 ..\os2\$D\stattext.obj \
519 ..\os2\$D\tabctrl.obj \
520 ..\os2\$D\textctrl.obj \
521 ..\os2\$D\thread.obj \
522 ..\os2\$D\timer.obj \
523 ..\os2\$D\toolbar.obj \
524 ..\os2\$D\tooltip.obj \
525 ..\os2\$D\toplevel.obj \
526 ..\os2\$D\treectrl.obj \
527 ..\os2\$D\utils.obj \
528 ..\os2\$D\utilsexc.obj \
615 ..\html\$D\helpctrl.obj \
616 ..\html\$D\helpdata.obj \
617 ..\html\$D\helpfrm.obj \
618 ..\html\$D\htmlcell.obj \
619 ..\html\$D\htmlfilt.obj \
620 ..\html\$D\htmlpars.obj \
621 ..\html\$D\htmltag.obj \
622 ..\html\$D\htmlwin.obj \
623 ..\html\$D\htmprint.obj \
624 ..\html\$D\m_dflist.obj \
625 ..\html\$D\m_fonts.obj \
626 ..\html\$D\m_hline.obj \
627 ..\html\$D\m_image.obj \
628 ..\html\$D\m_layout.obj \
629 ..\html\$D\m_links.obj \
630 ..\html\$D\m_list.obj \
631 ..\html\$D\m_pre.obj \
632 ..\html\$D\m_style.obj \
633 ..\html\$D\m_tables.obj \
634 ..\html\$D\winpars.obj
658 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
659 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
661 # Normal, static library
662 all: $(WXDIR)\include\wx\setup.h $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg tiff $(LIBTARGET)
664 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
667 test: $(OS2DIR)\$D\wave.obj
668 test2: ..\common\Debug\config.obj
670 # If taking wxWindows from CVS, setup.h doesn't exist yet.
671 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
672 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
674 $(WXDIR)\include\wx\setup.h: $(WXDIR)\include\wx\os2\setup.h
675 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\setup.h
677 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
678 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
680 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
681 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
684 copy ..\common\$D\accesscmn.obj
685 copy ..\common\$D\artprov.obj
686 copy ..\common\$D\artstd.obj
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\datacmn.obj
700 copy ..\common\$D\datetime.obj
701 copy ..\common\$D\datstrm.obj
702 copy ..\common\$D\dcbase.obj
703 copy ..\common\$D\dlgcmn.obj
704 copy ..\common\$D\dircmn.obj
705 copy ..\common\$D\dndcmn.obj
706 copy ..\common\$D\dobjcmn.obj
707 copy ..\common\$D\docmdi.obj
708 copy ..\common\$D\docview.obj
709 copy ..\common\$D\dpycmn.obj
710 copy ..\common\$D\dseldlg.obj
711 copy ..\common\$D\dynarray.obj
712 copy ..\common\$D\dynlib.obj
713 copy ..\common\$D\dynload.obj
714 copy ..\common\$D\effects.obj
715 copy ..\common\$D\encconv.obj
716 copy ..\common\$D\event.obj
717 copy ..\common\$D\extended.obj
718 copy ..\common\$D\fddlgcmn.obj
719 copy ..\common\$D\ffile.obj
720 copy ..\common\$D\file.obj
721 copy ..\common\$D\fileconf.obj
722 copy ..\common\$D\filefn.obj
723 copy ..\common\$D\filename.obj
724 copy ..\common\$D\filesys.obj
725 copy ..\common\$D\fontcmn.obj
726 copy ..\common\$D\fontmap.obj
729 copy ..\common\$D\framecmn.obj
730 copy ..\common\$D\fs_inet.obj
731 copy ..\common\$D\fs_mem.obj
732 copy ..\common\$D\fs_zip.obj
733 copy ..\common\$D\ftp.obj
734 copy ..\common\$D\gaugecmn.obj
735 copy ..\common\$D\gdicmn.obj
736 copy ..\common\$D\geometry.obj
737 copy ..\common\$D\gifdecod.obj
738 copy ..\common\$D\hash.obj
739 copy ..\common\$D\hashmap.obj
740 copy ..\common\$D\helpbase.obj
741 copy ..\common\$D\http.obj
742 copy ..\common\$D\iconbndl.obj
743 copy ..\common\$D\imagall.obj
744 copy ..\common\$D\imagbmp.obj
745 copy ..\common\$D\image.obj
746 copy ..\common\$D\imagfill.obj
747 copy ..\common\$D\imaggif.obj
748 copy ..\common\$D\imagiff.obj
749 copy ..\common\$D\imagjpeg.obj
750 copy ..\common\$D\imagpcx.obj
751 copy ..\common\$D\imagpng.obj
752 copy ..\common\$D\imagpnm.obj
753 copy ..\common\$D\imagtiff.obj
754 copy ..\common\$D\imagxpm.obj
755 copy ..\common\$D\intl.obj
756 copy ..\common\$D\ipcbase.obj
757 copy ..\common\$D\layout.obj
758 copy ..\common\$D\lboxcmn.obj
759 copy ..\common\$D\list.obj
760 copy ..\common\$D\log.obj
761 copy ..\common\$D\longlong.obj
762 copy ..\common\$D\matrix.obj
763 copy ..\common\$D\memory.obj
764 copy ..\common\$D\menucmn.obj
765 copy ..\common\$D\mimecmn.obj
766 copy ..\common\$D\module.obj
767 copy ..\common\$D\msgout.obj
768 copy ..\common\$D\mstream.obj
769 copy ..\common\$D\nbkbase.obj
770 copy ..\common\$D\object.obj
773 copy ..\common\$D\paper.obj
774 copy ..\common\$D\popupcmn.obj
775 copy ..\common\$D\prntbase.obj
776 copy ..\common\$D\process.obj
777 copy ..\common\$D\protocol.obj
778 copy ..\common\$D\quantize.obj
779 copy ..\common\$D\radiocmn.obj
780 copy ..\common\$D\regex.obj
781 copy ..\common\$D\rgncmn.obj
782 copy ..\common\$D\sckaddr.obj
783 copy ..\common\$D\sckfile.obj
784 copy ..\common\$D\sckipc.obj
785 copy ..\common\$D\sckstrm.obj
786 copy ..\common\$D\settcmn.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\wfstream.obj
810 copy ..\common\$D\wincmn.obj
811 copy ..\common\$D\wxchar.obj
812 copy ..\common\$D\xpmdecod.obj
815 copy ..\common\$D\zipstrm.obj
816 copy ..\common\$D\zstream.obj
819 copy ..\generic\$D\busyinfo.obj
820 copy ..\generic\$D\calctrl.obj
821 copy ..\generic\$D\caret.obj
822 copy ..\generic\$D\choicdgg.obj
823 copy ..\generic\$D\colrdlgg.obj
824 copy ..\generic\$D\dragimgg.obj
825 copy ..\generic\$D\dcbuffer.obj
826 copy ..\generic\$D\dcpsg.obj
827 copy ..\generic\$D\dirdlgg.obj
828 copy ..\generic\$D\dirctrlg.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\imaglist.obj
836 copy ..\generic\$D\laywin.obj
837 copy ..\generic\$D\logg.obj
838 copy ..\generic\$D\mdig.obj
839 copy ..\generic\$D\numdlgg.obj
840 copy ..\generic\$D\panelg.obj
841 copy ..\generic\$D\printps.obj
842 copy ..\generic\$D\prntdlgg.obj
843 copy ..\generic\$D\progdlgg.obj
844 copy ..\generic\$D\prop.obj
845 copy ..\generic\$D\propform.obj
846 copy ..\generic\$D\proplist.obj
847 copy ..\generic\$D\sashwin.obj
848 copy ..\generic\$D\scrlwing.obj
849 copy ..\generic\$D\spinctlg.obj
850 copy ..\generic\$D\splitter.obj
851 copy ..\generic\$D\statusbr.obj
852 copy ..\generic\$D\tabg.obj
853 copy ..\generic\$D\tbarsmpl.obj
854 copy ..\generic\$D\textdlgg.obj
855 copy ..\generic\$D\tipdlg.obj
856 copy ..\generic\$D\tipwin.obj
857 copy ..\generic\$D\wizard.obj
860 copy ..\html\$D\helpctrl.obj
861 copy ..\html\$D\helpdata.obj
862 copy ..\html\$D\helpfrm.obj
863 copy ..\html\$D\htmlcell.obj
864 copy ..\html\$D\htmlfilt.obj
865 copy ..\html\$D\htmlpars.obj
866 copy ..\html\$D\htmltag.obj
867 copy ..\html\$D\htmlwin.obj
868 copy ..\html\$D\htmprint.obj
869 copy ..\html\$D\m_dflist.obj
870 copy ..\html\$D\m_fonts.obj
871 copy ..\html\$D\m_hline.obj
872 copy ..\html\$D\m_image.obj
873 copy ..\html\$D\m_layout.obj
874 copy ..\html\$D\m_links.obj
875 copy ..\html\$D\m_list.obj
876 copy ..\html\$D\m_pre.obj
877 copy ..\html\$D\m_style.obj
878 copy ..\html\$D\m_tables.obj
879 copy ..\html\$D\winpars.obj
882 copy ..\os2\$D\accel.obj
883 copy ..\os2\$D\app.obj
884 copy ..\os2\$D\bitmap.obj
885 copy ..\os2\$D\bmpbuttn.obj
886 copy ..\os2\$D\brush.obj
887 copy ..\os2\$D\button.obj
888 copy ..\os2\$D\checkbox.obj
889 copy ..\os2\$D\checklst.obj
890 copy ..\os2\$D\choice.obj
891 copy ..\os2\$D\clipbrd.obj
892 copy ..\os2\$D\colour.obj
893 copy ..\os2\$D\combobox.obj
894 copy ..\os2\$D\control.obj
895 copy ..\os2\$D\cursor.obj
896 copy ..\os2\$D\data.obj
897 copy ..\os2\$D\dataobj.obj
898 copy ..\os2\$D\dc.obj
899 copy ..\os2\$D\dcclient.obj
900 copy ..\os2\$D\dcmemory.obj
901 copy ..\os2\$D\dcprint.obj
902 copy ..\os2\$D\dcscreen.obj
903 copy ..\os2\$D\dialog.obj
904 copy ..\os2\$D\dir.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\listctrl.obj
923 copy ..\os2\$D\main.obj
924 copy ..\os2\$D\menu.obj
925 copy ..\os2\$D\menuitem.obj
926 copy ..\os2\$D\metafile.obj
929 copy ..\os2\$D\mimetype.obj
930 copy ..\os2\$D\msgdlg.obj
931 copy ..\os2\$D\nativdlg.obj
932 copy ..\os2\$D\notebook.obj
933 copy ..\os2\$D\ownerdrw.obj
934 copy ..\os2\$D\palette.obj
935 copy ..\os2\$D\pen.obj
936 copy ..\os2\$D\popupwin.obj
937 copy ..\os2\$D\print.obj
938 copy ..\os2\$D\radiobox.obj
939 copy ..\os2\$D\radiobut.obj
940 copy ..\os2\$D\region.obj
941 copy ..\os2\$D\scrolbar.obj
942 copy ..\os2\$D\settings.obj
943 copy ..\os2\$D\slider.obj
944 copy ..\os2\$D\spinbutt.obj
945 copy ..\os2\$D\spinctrl.obj
946 copy ..\os2\$D\statbmp.obj
947 copy ..\os2\$D\statbox.obj
948 copy ..\os2\$D\statline.obj
949 copy ..\os2\$D\stattext.obj
950 copy ..\os2\$D\tabctrl.obj
951 copy ..\os2\$D\textctrl.obj
952 copy ..\os2\$D\thread.obj
953 copy ..\os2\$D\timer.obj
954 copy ..\os2\$D\toolbar.obj
955 copy ..\os2\$D\tooltip.obj
956 copy ..\os2\$D\toplevel.obj
957 copy ..\os2\$D\treectrl.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
963 # wxWindows library as DLL
965 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
968 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
970 # wxWindows + app as DLL. Only affects main.cpp.
972 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
974 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
976 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
978 # Use this to make dummy.obj and generate a PCH.
979 # You might use the dll target, then the pch target, in order to
980 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
982 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
983 # are associated with wx.lib. When using a DLL version of wxWindows, however,
984 # the DLL is compiled without a PCH, so you only need it for compiling the app.
985 # In fact headers are compiled differently depending on whether a DLL is being made
986 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
987 # in each case) so you couldn't use the same PCH.
989 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
991 pch1: dirs $(DUMMYOBJ)
994 !if "$(WXMAKINGDLL)" != "1"
998 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
999 -touch $(WXDIR)\lib\wxcom1.lib
1000 -del $(WXDIR)\lib\wxcom1.lib
1001 ilib $(LIBFLAGS) $@ @<<
1005 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
1006 -touch $(WXDIR)\lib\wxcom2.lib
1007 -del $(WXDIR)\lib\wxcom2.lib
1008 ilib $(LIBFLAGS) $@ @<<
1012 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
1013 -touch $(WXDIR)\lib\wxcom3.lib
1014 -del $(WXDIR)\lib\wxcom3.lib
1015 ilib $(LIBFLAGS) $@ @<<
1019 $(WXDIR)\lib\wxcom4.lib: $(COMLIBOBJS4)
1020 -touch $(WXDIR)\lib\wxcom4.lib
1021 -del $(WXDIR)\lib\wxcom4.lib
1022 ilib $(LIBFLAGS) $@ @<<
1026 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1027 -touch $(WXDIR)\lib\wxgen.lib
1028 -del $(WXDIR)\lib\wxgen.lib
1029 ilib $(LIBFLAGS) $@ @<<
1033 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1034 -touch $(WXDIR)\lib\wxhtml.lib
1035 -del $(WXDIR)\lib\wxhtml.lib
1036 ilib $(LIBFLAGS) $@ @<<
1040 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1041 -touch $(WXDIR)\lib\wxnones.lib
1042 -del $(WXDIR)\lib\wxnones.lib
1043 ilib $(LIBFLAGS) $@ @<<
1047 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1048 -touch $(WXDIR)\lib\wxos21.lib
1049 -del $(WXDIR)\lib\wxos21.lib
1050 ilib $(LIBFLAGS) $@ @<<
1054 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1055 -touch $(WXDIR)\lib\wxos22.lib
1056 -del $(WXDIR)\lib\wxos22.lib
1057 ilib $(LIBFLAGS) $@ @<<
1062 $(WXDIR)\lib\wx.lib: \
1076 ilib $(LIBFLAGS) $@ @<<
1091 # Update the dynamic link library
1092 $(WXDIR)\lib\wx25.dll: $(OBJECTS)
1094 /B" $(LINKFLAGS)" /Fe$@
1098 $(WXDIR)\src\os2\wx25.def
1100 implib $(WXDIR)\lib\wx25.lib $(WXDIR)\src\os2\wx25.def
1104 ..\common\$D\extended.obj: ..\common\extended.c
1106 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1109 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1111 ..\common\$D\unzip.obj: ..\common\unzip.c
1113 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1118 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1123 nmake -f makefile.va clean
1127 cd $(WXDIR)\src\zlib
1128 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1132 cd $(WXDIR)\src\zlib
1133 nmake -f makefile.va clean
1137 cd $(WXDIR)\src\jpeg
1138 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1142 cd $(WXDIR)\src\jpeg
1143 nmake -f makefile.va clean
1147 cd $(WXDIR)\src\tiff
1148 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1152 cd $(WXDIR)\src\tiff
1153 nmake -f makefile.va clean
1156 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_tiff
1157 erase /N $(GENDIR)\$D\*.obj
1158 erase /N $(COMMDIR)\$D\*.obj
1159 erase /N $(HTMLDIR)\$D\*.obj
1160 erase /N $(OS2DIR)\$D\*.obj
1167 !if "$(WXMAKINGDLL)" == "1"