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\fontdlgg.obj \
110 ..\generic\$D\fdrepdlg.obj \
111 ..\generic\$D\grid.obj \
112 ..\generic\$D\gridctrl.obj \
113 ..\generic\$D\gridsel.obj \
114 ..\generic\$D\helpext.obj \
115 ..\generic\$D\helphtml.obj \
116 ..\generic\$D\imaglist.obj \
117 ..\generic\$D\laywin.obj \
118 ..\generic\$D\listctrl.obj \
119 ..\generic\$D\logg.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
142 # ..\generic\$D\gridg.obj \
143 # ..\generic\$D\notebook.obj \
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.
192 ..\generic\$D\msgdlgg.obj
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 \
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\mstream.obj \
280 ..\common\$D\nbkbase.obj \
281 ..\common\$D\object.obj \
282 !if "$(WXMAKINGDLL)" != "1"
283 # don't have an ODBC database
284 ..\common\$D\odbc.obj \
286 ..\common\$D\paper.obj \
287 ..\common\$D\popupcmn.obj \
288 ..\common\$D\prntbase.obj \
289 ..\common\$D\process.obj \
290 ..\common\$D\protocol.obj \
291 ..\common\$D\quantize.obj \
292 ..\common\$D\radiocmn.obj \
293 ..\common\$D\regex.obj \
294 ..\common\$D\resource.obj \
295 ..\common\$D\sckaddr.obj \
296 ..\common\$D\sckfile.obj \
297 ..\common\$D\sckipc.obj \
298 ..\common\$D\sckstrm.obj \
299 ..\common\$D\settcmn.obj \
300 ..\common\$D\sizer.obj \
301 ..\common\$D\socket.obj \
302 ..\common\$D\statbar.obj \
303 ..\common\$D\strconv.obj \
304 ..\common\$D\stream.obj \
305 ..\common\$D\string.obj \
306 ..\common\$D\sysopt.obj \
307 ..\common\$D\tbarbase.obj \
308 ..\common\$D\textbuf.obj \
309 ..\common\$D\textcmn.obj \
310 ..\common\$D\textfile.obj \
311 ..\common\$D\timercmn.obj \
312 ..\common\$D\tokenzr.obj \
313 ..\common\$D\toplvcmn.obj \
314 ..\common\$D\treebase.obj \
315 ..\common\$D\txtstrm.obj \
316 ..\common\$D\unzip.obj \
317 ..\common\$D\url.obj \
318 ..\common\$D\utilscmn.obj \
319 ..\common\$D\valgen.obj \
320 ..\common\$D\validate.obj \
321 ..\common\$D\valtext.obj \
322 ..\common\$D\variant.obj \
323 ..\common\$D\wfstream.obj \
324 ..\common\$D\wincmn.obj \
325 ..\common\$D\wxchar.obj \
326 ..\common\$D\wxexpr.obj \
327 ..\common\$D\xpmdecod.obj \
328 ..\common\$D\y_tab.obj \
329 ..\common\$D\zipstrm.obj \
330 ..\common\$D\zstream.obj
471 ..\os2\$D\accel.obj \
473 ..\os2\$D\bitmap.obj \
474 ..\os2\$D\bmpbuttn.obj \
475 ..\os2\$D\brush.obj \
476 ..\os2\$D\button.obj \
477 ..\os2\$D\checkbox.obj \
478 ..\os2\$D\checklst.obj \
479 ..\os2\$D\choice.obj \
480 ..\os2\$D\clipbrd.obj \
481 ..\os2\$D\colour.obj \
482 ..\os2\$D\combobox.obj \
483 ..\os2\$D\control.obj \
484 ..\os2\$D\cursor.obj \
486 ..\os2\$D\dataobj.obj \
488 ..\os2\$D\dcclient.obj \
489 ..\os2\$D\dcmemory.obj \
490 ..\os2\$D\dcprint.obj \
491 ..\os2\$D\dcscreen.obj \
492 ..\os2\$D\dialog.obj \
495 ..\os2\$D\filedlg.obj \
497 ..\os2\$D\fontdlg.obj \
498 ..\os2\$D\fontenum.obj \
499 ..\os2\$D\fontutil.obj \
500 ..\os2\$D\frame.obj \
501 ..\os2\$D\gauge.obj \
502 ..\os2\$D\gdiimage.obj \
503 ..\os2\$D\gdiobj.obj \
504 ..\os2\$D\gsocket.obj \
505 ..\os2\$D\gsockpm.obj \
506 ..\os2\$D\helpwin.obj \
508 ..\os2\$D\iniconf.obj \
509 ..\os2\$D\joystick.obj \
510 ..\os2\$D\listbox.obj \
514 ..\os2\$D\menuitem.obj \
515 ..\os2\$D\metafile.obj \
516 ..\os2\$D\mimetype.obj \
517 ..\os2\$D\minifram.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 \
524 ..\os2\$D\pnghand.obj \
525 ..\os2\$D\popupwin.obj \
526 ..\os2\$D\print.obj \
527 ..\os2\$D\radiobox.obj \
528 ..\os2\$D\radiobut.obj \
529 ..\os2\$D\region.obj \
530 ..\os2\$D\scrolbar.obj \
531 ..\os2\$D\settings.obj \
532 ..\os2\$D\slider.obj \
533 ..\os2\$D\spinbutt.obj \
534 ..\os2\$D\spinctrl.obj \
535 ..\os2\$D\statbmp.obj \
536 ..\os2\$D\statbox.obj \
537 ..\os2\$D\statline.obj \
538 ..\os2\$D\stattext.obj \
539 ..\os2\$D\tabctrl.obj \
540 ..\os2\$D\taskbar.obj \
541 ..\os2\$D\textctrl.obj \
542 ..\os2\$D\thread.obj \
543 ..\os2\$D\timer.obj \
544 ..\os2\$D\toolbar.obj \
545 ..\os2\$D\tooltip.obj \
546 ..\os2\$D\toplevel.obj \
547 ..\os2\$D\utils.obj \
548 ..\os2\$D\utilsexc.obj \
637 ..\html\$D\helpctrl.obj \
638 ..\html\$D\helpdata.obj \
639 ..\html\$D\helpfrm.obj \
640 ..\html\$D\htmlcell.obj \
641 ..\html\$D\htmlfilt.obj \
642 ..\html\$D\htmlpars.obj \
643 ..\html\$D\htmltag.obj \
644 ..\html\$D\htmlwin.obj \
645 ..\html\$D\htmprint.obj \
646 ..\html\$D\m_dflist.obj \
647 ..\html\$D\m_fonts.obj \
648 ..\html\$D\m_hline.obj \
649 ..\html\$D\m_image.obj \
650 ..\html\$D\m_layout.obj \
651 ..\html\$D\m_links.obj \
652 ..\html\$D\m_list.obj \
653 ..\html\$D\m_meta.obj \
654 ..\html\$D\m_pre.obj \
655 ..\html\$D\m_style.obj \
656 ..\html\$D\m_tables.obj \
657 ..\html\$D\winpars.obj
682 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
683 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
685 # Normal, static library
686 all: $(WXDIR)\include\wx\setup.h $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg tiff $(LIBTARGET)
688 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
691 test: $(OS2DIR)\$D\wave.obj
692 test2: ..\common\Debug\config.obj
694 # If taking wxWindows from CVS, setup.h doesn't exist yet.
695 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
696 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
698 $(WXDIR)\include\wx\setup.h: $(WXDIR)\include\wx\os2\setup.h
699 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\setup.h
701 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
702 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
704 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
705 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
708 copy ..\common\$D\artprov.obj
709 copy ..\common\$D\artstd.obj
710 copy ..\common\$D\appcmn.obj
711 copy ..\common\$D\choiccmn.obj
712 copy ..\common\$D\clipcmn.obj
713 copy ..\common\$D\clntdata.obj
714 copy ..\common\$D\cmdline.obj
715 copy ..\common\$D\cmndata.obj
716 copy ..\common\$D\cmdproc.obj
717 copy ..\common\$D\config.obj
718 copy ..\common\$D\containr.obj
719 copy ..\common\$D\cshelp.obj
720 copy ..\common\$D\ctrlcmn.obj
721 copy ..\common\$D\ctrlsub.obj
722 copy ..\common\$D\datetime.obj
723 copy ..\common\$D\datstrm.obj
724 copy ..\common\$D\db.obj
725 copy ..\common\$D\dbgrid.obj
726 copy ..\common\$D\dbtable.obj
727 copy ..\common\$D\dcbase.obj
728 copy ..\common\$D\dlgcmn.obj
729 copy ..\common\$D\dircmn.obj
730 copy ..\common\$D\dndcmn.obj
731 copy ..\common\$D\dobjcmn.obj
732 copy ..\common\$D\docmdi.obj
733 copy ..\common\$D\docview.obj
734 copy ..\common\$D\dseldlg.obj
735 copy ..\common\$D\dynarray.obj
736 copy ..\common\$D\dynlib.obj
737 copy ..\common\$D\dynload.obj
738 copy ..\common\$D\effects.obj
739 copy ..\common\$D\encconv.obj
740 copy ..\common\$D\event.obj
741 copy ..\common\$D\extended.obj
742 copy ..\common\$D\fddlgcmn.obj
743 copy ..\common\$D\ffile.obj
744 copy ..\common\$D\file.obj
745 copy ..\common\$D\fileconf.obj
746 copy ..\common\$D\filefn.obj
747 copy ..\common\$D\filename.obj
748 copy ..\common\$D\filesys.obj
749 copy ..\common\$D\fontcmn.obj
750 copy ..\common\$D\fontmap.obj
753 copy ..\common\$D\framecmn.obj
754 copy ..\common\$D\fs_inet.obj
755 copy ..\common\$D\fs_mem.obj
756 copy ..\common\$D\fs_zip.obj
757 copy ..\common\$D\ftp.obj
758 copy ..\common\$D\gaugecmn.obj
759 copy ..\common\$D\gdicmn.obj
760 copy ..\common\$D\geometry.obj
761 copy ..\common\$D\gifdecod.obj
762 copy ..\common\$D\hash.obj
763 copy ..\common\$D\hashmap.obj
764 copy ..\common\$D\helpbase.obj
765 copy ..\common\$D\http.obj
766 copy ..\common\$D\iconbndl.obj
767 copy ..\common\$D\imagall.obj
768 copy ..\common\$D\imagbmp.obj
769 copy ..\common\$D\image.obj
770 copy ..\common\$D\imagfill.obj
771 copy ..\common\$D\imaggif.obj
772 copy ..\common\$D\imagiff.obj
773 copy ..\common\$D\imagjpeg.obj
774 copy ..\common\$D\imagpcx.obj
775 copy ..\common\$D\imagpng.obj
776 copy ..\common\$D\imagpnm.obj
777 copy ..\common\$D\imagtiff.obj
778 copy ..\common\$D\imagxpm.obj
779 copy ..\common\$D\intl.obj
780 copy ..\common\$D\ipcbase.obj
781 copy ..\common\$D\layout.obj
782 copy ..\common\$D\lboxcmn.obj
783 copy ..\common\$D\list.obj
784 copy ..\common\$D\log.obj
785 copy ..\common\$D\longlong.obj
786 copy ..\common\$D\matrix.obj
787 copy ..\common\$D\memory.obj
788 copy ..\common\$D\menucmn.obj
789 copy ..\common\$D\mimecmn.obj
790 copy ..\common\$D\module.obj
791 copy ..\common\$D\mstream.obj
792 copy ..\common\$D\nbkbase.obj
793 copy ..\common\$D\object.obj
794 copy ..\common\$D\odbc.obj
797 copy ..\common\$D\paper.obj
798 copy ..\common\$D\popupcmn.obj
799 copy ..\common\$D\prntbase.obj
800 copy ..\common\$D\process.obj
801 copy ..\common\$D\protocol.obj
802 copy ..\common\$D\quantize.obj
803 copy ..\common\$D\radiocmn.obj
804 copy ..\common\$D\regex.obj
805 copy ..\common\$D\resource.obj
806 copy ..\common\$D\sckaddr.obj
807 copy ..\common\$D\sckfile.obj
808 copy ..\common\$D\sckipc.obj
809 copy ..\common\$D\sckstrm.obj
810 copy ..\common\$D\settcmn.obj
811 copy ..\common\$D\sizer.obj
812 copy ..\common\$D\socket.obj
813 copy ..\common\$D\statbar.obj
814 copy ..\common\$D\strconv.obj
815 copy ..\common\$D\stream.obj
816 copy ..\common\$D\string.obj
817 copy ..\common\$D\sysopt.obj
818 copy ..\common\$D\tbarbase.obj
819 copy ..\common\$D\textbuf.obj
820 copy ..\common\$D\textcmn.obj
821 copy ..\common\$D\textfile.obj
822 copy ..\common\$D\timercmn.obj
823 copy ..\common\$D\tokenzr.obj
824 copy ..\common\$D\toplvcmn.obj
825 copy ..\common\$D\treebase.obj
826 copy ..\common\$D\txtstrm.obj
827 copy ..\common\$D\unzip.obj
828 copy ..\common\$D\url.obj
829 copy ..\common\$D\utilscmn.obj
830 copy ..\common\$D\valgen.obj
831 copy ..\common\$D\validate.obj
832 copy ..\common\$D\valtext.obj
833 copy ..\common\$D\variant.obj
834 copy ..\common\$D\wfstream.obj
835 copy ..\common\$D\wincmn.obj
836 copy ..\common\$D\wxchar.obj
837 copy ..\common\$D\wxexpr.obj
838 copy ..\common\$D\xpmdecod.obj
839 copy ..\common\$D\y_tab.obj
842 copy ..\common\$D\zipstrm.obj
843 copy ..\common\$D\zstream.obj
846 copy ..\generic\$D\busyinfo.obj
847 copy ..\generic\$D\calctrl.obj
848 copy ..\generic\$D\caret.obj
849 copy ..\generic\$D\choicdgg.obj
850 copy ..\generic\$D\colrdlgg.obj
851 copy ..\generic\$D\dragimgg.obj
852 copy ..\generic\$D\dcbuffer.obj
853 copy ..\generic\$D\dcpsg.obj
854 copy ..\generic\$D\dirdlgg.obj
855 copy ..\generic\$D\dirctrlg.obj
856 copy ..\generic\$D\fontdlgg.obj
857 copy ..\generic\$D\fdrepdlg.obj
858 copy ..\generic\$D\grid.obj
859 copy ..\generic\$D\gridctrl.obj
860 copy ..\generic\$D\gridsel.obj
861 copy ..\generic\$D\helpext.obj
862 copy ..\generic\$D\helphtml.obj
863 copy ..\generic\$D\imaglist.obj
864 copy ..\generic\$D\laywin.obj
865 copy ..\generic\$D\listctrl.obj
866 copy ..\generic\$D\logg.obj
867 copy ..\generic\$D\numdlgg.obj
868 copy ..\generic\$D\panelg.obj
869 copy ..\generic\$D\printps.obj
870 copy ..\generic\$D\prntdlgg.obj
871 copy ..\generic\$D\progdlgg.obj
872 copy ..\generic\$D\prop.obj
873 copy ..\generic\$D\propform.obj
874 copy ..\generic\$D\proplist.obj
875 copy ..\generic\$D\sashwin.obj
876 copy ..\generic\$D\scrlwing.obj
877 copy ..\generic\$D\spinctlg.obj
878 copy ..\generic\$D\splitter.obj
879 copy ..\generic\$D\statusbr.obj
880 copy ..\generic\$D\tabg.obj
881 copy ..\generic\$D\tbarsmpl.obj
882 copy ..\generic\$D\textdlgg.obj
883 copy ..\generic\$D\tipdlg.obj
884 copy ..\generic\$D\tipwin.obj
885 copy ..\generic\$D\treectlg.obj
886 copy ..\generic\$D\treelay.obj
887 copy ..\generic\$D\wizard.obj
890 copy ..\html\$D\helpctrl.obj
891 copy ..\html\$D\helpdata.obj
892 copy ..\html\$D\helpfrm.obj
893 copy ..\html\$D\htmlcell.obj
894 copy ..\html\$D\htmlfilt.obj
895 copy ..\html\$D\htmlpars.obj
896 copy ..\html\$D\htmltag.obj
897 copy ..\html\$D\htmlwin.obj
898 copy ..\html\$D\htmprint.obj
899 copy ..\html\$D\m_dflist.obj
900 copy ..\html\$D\m_fonts.obj
901 copy ..\html\$D\m_hline.obj
902 copy ..\html\$D\m_image.obj
903 copy ..\html\$D\m_layout.obj
904 copy ..\html\$D\m_links.obj
905 copy ..\html\$D\m_list.obj
906 copy ..\html\$D\m_meta.obj
907 copy ..\html\$D\m_pre.obj
908 copy ..\html\$D\m_style.obj
909 copy ..\html\$D\m_tables.obj
910 copy ..\html\$D\winpars.obj
913 copy ..\os2\$D\accel.obj
914 copy ..\os2\$D\app.obj
915 copy ..\os2\$D\bitmap.obj
916 copy ..\os2\$D\bmpbuttn.obj
917 copy ..\os2\$D\brush.obj
918 copy ..\os2\$D\button.obj
919 copy ..\os2\$D\checkbox.obj
920 copy ..\os2\$D\checklst.obj
921 copy ..\os2\$D\choice.obj
922 copy ..\os2\$D\clipbrd.obj
923 copy ..\os2\$D\colour.obj
924 copy ..\os2\$D\combobox.obj
925 copy ..\os2\$D\control.obj
926 copy ..\os2\$D\cursor.obj
927 copy ..\os2\$D\data.obj
928 copy ..\os2\$D\dataobj.obj
929 copy ..\os2\$D\dc.obj
930 copy ..\os2\$D\dcclient.obj
931 copy ..\os2\$D\dcmemory.obj
932 copy ..\os2\$D\dcprint.obj
933 copy ..\os2\$D\dcscreen.obj
934 copy ..\os2\$D\dialog.obj
935 copy ..\os2\$D\dir.obj
936 copy ..\os2\$D\dnd.obj
937 copy ..\os2\$D\filedlg.obj
938 copy ..\os2\$D\font.obj
939 copy ..\os2\$D\fontdlg.obj
940 copy ..\os2\$D\fontenum.obj
941 copy ..\os2\$D\fontutil.obj
942 copy ..\os2\$D\frame.obj
943 copy ..\os2\$D\gauge.obj
944 copy ..\os2\$D\gdiimage.obj
945 copy ..\os2\$D\gdiobj.obj
946 copy ..\os2\$D\gsocket.obj
947 copy ..\os2\$D\gsockpm.obj
948 copy ..\os2\$D\helpwin.obj
949 copy ..\os2\$D\icon.obj
950 copy ..\os2\$D\iniconf.obj
951 copy ..\os2\$D\joystick.obj
952 copy ..\os2\$D\listbox.obj
953 copy ..\os2\$D\main.obj
954 copy ..\os2\$D\mdi.obj
955 copy ..\os2\$D\menu.obj
956 copy ..\os2\$D\menuitem.obj
957 copy ..\os2\$D\metafile.obj
960 copy ..\os2\$D\mimetype.obj
961 copy ..\os2\$D\minifram.obj
962 copy ..\os2\$D\msgdlg.obj
963 copy ..\os2\$D\nativdlg.obj
964 copy ..\os2\$D\notebook.obj
965 copy ..\os2\$D\ownerdrw.obj
966 copy ..\os2\$D\palette.obj
967 copy ..\os2\$D\pen.obj
968 copy ..\os2\$D\pnghand.obj
969 copy ..\os2\$D\popupwin.obj
970 copy ..\os2\$D\print.obj
971 copy ..\os2\$D\radiobox.obj
972 copy ..\os2\$D\radiobut.obj
973 copy ..\os2\$D\region.obj
974 copy ..\os2\$D\scrolbar.obj
975 copy ..\os2\$D\settings.obj
976 copy ..\os2\$D\slider.obj
977 copy ..\os2\$D\spinbutt.obj
978 copy ..\os2\$D\spinctrl.obj
979 copy ..\os2\$D\statbmp.obj
980 copy ..\os2\$D\statbox.obj
981 copy ..\os2\$D\statline.obj
982 copy ..\os2\$D\stattext.obj
983 copy ..\os2\$D\tabctrl.obj
984 copy ..\os2\$D\taskbar.obj
985 copy ..\os2\$D\textctrl.obj
986 copy ..\os2\$D\thread.obj
987 copy ..\os2\$D\timer.obj
988 copy ..\os2\$D\toolbar.obj
989 copy ..\os2\$D\tooltip.obj
990 copy ..\os2\$D\toplevel.obj
991 copy ..\os2\$D\utils.obj
992 copy ..\os2\$D\utilsexc.obj
993 copy ..\os2\$D\wave.obj
994 copy ..\os2\$D\window.obj
996 # wxWindows library as DLL
998 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
1001 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
1003 # wxWindows + app as DLL. Only affects main.cpp.
1005 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1007 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
1009 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1011 # Use this to make dummy.obj and generate a PCH.
1012 # You might use the dll target, then the pch target, in order to
1013 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
1015 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
1016 # are associated with wx.lib. When using a DLL version of wxWindows, however,
1017 # the DLL is compiled without a PCH, so you only need it for compiling the app.
1018 # In fact headers are compiled differently depending on whether a DLL is being made
1019 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
1020 # in each case) so you couldn't use the same PCH.
1022 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
1024 pch1: dirs $(DUMMYOBJ)
1027 !if "$(WXMAKINGDLL)" != "1"
1031 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
1032 -touch $(WXDIR)\lib\wxcom1.lib
1033 -del $(WXDIR)\lib\wxcom1.lib
1034 ilib $(LIBFLAGS) $@ @<<
1038 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
1039 -touch $(WXDIR)\lib\wxcom2.lib
1040 -del $(WXDIR)\lib\wxcom2.lib
1041 ilib $(LIBFLAGS) $@ @<<
1045 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
1046 -touch $(WXDIR)\lib\wxcom3.lib
1047 -del $(WXDIR)\lib\wxcom3.lib
1048 ilib $(LIBFLAGS) $@ @<<
1052 $(WXDIR)\lib\wxcom4.lib: $(COMLIBOBJS4)
1053 -touch $(WXDIR)\lib\wxcom4.lib
1054 -del $(WXDIR)\lib\wxcom4.lib
1055 ilib $(LIBFLAGS) $@ @<<
1059 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1060 -touch $(WXDIR)\lib\wxgen.lib
1061 -del $(WXDIR)\lib\wxgen.lib
1062 ilib $(LIBFLAGS) $@ @<<
1066 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1067 -touch $(WXDIR)\lib\wxhtml.lib
1068 -del $(WXDIR)\lib\wxhtml.lib
1069 ilib $(LIBFLAGS) $@ @<<
1073 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1074 -touch $(WXDIR)\lib\wxnones.lib
1075 -del $(WXDIR)\lib\wxnones.lib
1076 ilib $(LIBFLAGS) $@ @<<
1080 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1081 -touch $(WXDIR)\lib\wxos21.lib
1082 -del $(WXDIR)\lib\wxos21.lib
1083 ilib $(LIBFLAGS) $@ @<<
1087 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1088 -touch $(WXDIR)\lib\wxos22.lib
1089 -del $(WXDIR)\lib\wxos22.lib
1090 ilib $(LIBFLAGS) $@ @<<
1095 $(WXDIR)\lib\wx.lib: \
1109 ilib $(LIBFLAGS) $@ @<<
1124 # Update the dynamic link library
1125 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1127 /B" $(LINKFLAGS)" /Fe$@
1131 $(WXDIR)\src\os2\wx23.def
1133 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1137 ..\common\$D\extended.obj: ..\common\extended.c
1139 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1142 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1144 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1147 ..\common\y_tab.c: ..\common\dosyacc.c
1148 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1150 ..\common\lex_yy.c: ..\common\doslex.c
1151 copy "..\common"\doslex.c "..\common"\lex_yy.c
1153 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1155 ..\common\$D\unzip.obj: ..\common\unzip.c
1157 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1162 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1167 nmake -f makefile.va clean
1171 cd $(WXDIR)\src\zlib
1172 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1176 cd $(WXDIR)\src\zlib
1177 nmake -f makefile.va clean
1181 cd $(WXDIR)\src\jpeg
1182 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1186 cd $(WXDIR)\src\jpeg
1187 nmake -f makefile.va clean
1191 cd $(WXDIR)\src\tiff
1192 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1196 cd $(WXDIR)\src\tiff
1197 nmake -f makefile.va clean
1200 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_tiff
1201 erase /N $(GENDIR)\$D\*.obj
1202 erase /N $(COMMDIR)\$D\*.obj
1203 erase /N $(HTMLDIR)\$D\*.obj
1204 erase /N $(OS2DIR)\$D\*.obj
1211 !if "$(WXMAKINGDLL)" == "1"
1212 erase /N ..\..\lib\wx23.lib
1214 erase /N $(COMMDIR)\y_tab.c
1215 erase /N $(COMMDIR)\lex_yy.c