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\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 \
187 # These are generic things that don't need to be compiled on PM,
188 # but sometimes it's useful to do so for testing purposes.
190 ..\generic\$D\msgdlgg.obj
193 ..\common\$D\artprov.obj \
194 ..\common\$D\artstd.obj \
195 ..\common\$D\appcmn.obj \
196 ..\common\$D\choiccmn.obj \
197 ..\common\$D\clipcmn.obj \
198 ..\common\$D\clntdata.obj \
199 ..\common\$D\cmdline.obj \
200 ..\common\$D\cmndata.obj \
201 ..\common\$D\cmdproc.obj \
202 ..\common\$D\config.obj \
203 ..\common\$D\containr.obj \
204 ..\common\$D\cshelp.obj \
205 ..\common\$D\ctrlcmn.obj \
206 ..\common\$D\ctrlsub.obj \
207 ..\common\$D\datetime.obj \
208 ..\common\$D\datstrm.obj \
209 !if "$(WXMAKINGDLL)" != "1"
210 # don't have an ODBC database
211 ..\common\$D\db.obj \
212 ..\common\$D\dbgrid.obj \
213 ..\common\$D\dbtable.obj \
215 ..\common\$D\dcbase.obj \
216 ..\common\$D\dircmn.obj \
217 ..\common\$D\dlgcmn.obj \
218 ..\common\$D\dndcmn.obj \
219 ..\common\$D\dobjcmn.obj \
220 ..\common\$D\docmdi.obj \
221 ..\common\$D\docview.obj \
222 ..\common\$D\dseldlg.obj \
223 ..\common\$D\dynarray.obj \
224 ..\common\$D\dynlib.obj \
225 ..\common\$D\dynload.obj \
226 ..\common\$D\effects.obj \
227 ..\common\$D\encconv.obj \
228 ..\common\$D\event.obj \
229 ..\common\$D\extended.obj \
230 ..\common\$D\fddlgcmn.obj \
231 ..\common\$D\ffile.obj \
232 ..\common\$D\file.obj \
233 ..\common\$D\fileconf.obj \
234 ..\common\$D\filefn.obj \
235 ..\common\$D\filename.obj \
236 ..\common\$D\filesys.obj \
237 ..\common\$D\fontcmn.obj \
238 ..\common\$D\fontmap.obj \
239 ..\common\$D\framecmn.obj \
240 ..\common\$D\fs_inet.obj \
241 ..\common\$D\fs_mem.obj \
242 ..\common\$D\fs_zip.obj \
243 ..\common\$D\ftp.obj \
244 ..\common\$D\gaugecmn.obj \
245 ..\common\$D\gdicmn.obj \
246 ..\common\$D\geometry.obj \
247 ..\common\$D\gifdecod.obj \
248 ..\common\$D\hash.obj \
249 ..\common\$D\hashmap.obj \
250 ..\common\$D\helpbase.obj \
251 ..\common\$D\http.obj \
252 ..\common\$D\iconbndl.obj \
253 ..\common\$D\imagall.obj \
254 ..\common\$D\imagbmp.obj \
255 ..\common\$D\image.obj \
256 ..\common\$D\imagfill.obj \
257 ..\common\$D\imaggif.obj \
258 ..\common\$D\imagiff.obj \
259 ..\common\$D\imagjpeg.obj \
260 ..\common\$D\imagpcx.obj \
261 ..\common\$D\imagpng.obj \
262 ..\common\$D\imagpnm.obj \
263 ..\common\$D\imagtiff.obj \
264 ..\common\$D\imagxpm.obj \
265 ..\common\$D\intl.obj \
266 ..\common\$D\ipcbase.obj \
267 ..\common\$D\layout.obj \
268 ..\common\$D\lboxcmn.obj \
269 ..\common\$D\list.obj \
270 ..\common\$D\log.obj \
271 ..\common\$D\longlong.obj \
272 ..\common\$D\matrix.obj \
273 ..\common\$D\memory.obj \
274 ..\common\$D\menucmn.obj \
275 ..\common\$D\mimecmn.obj \
276 ..\common\$D\module.obj \
277 ..\common\$D\mstream.obj \
278 ..\common\$D\nbkbase.obj \
279 ..\common\$D\object.obj \
280 !if "$(WXMAKINGDLL)" != "1"
281 # don't have an ODBC database
282 ..\common\$D\odbc.obj \
284 ..\common\$D\paper.obj \
285 ..\common\$D\popupcmn.obj \
286 ..\common\$D\prntbase.obj \
287 ..\common\$D\process.obj \
288 ..\common\$D\protocol.obj \
289 ..\common\$D\quantize.obj \
290 ..\common\$D\radiocmn.obj \
291 ..\common\$D\regex.obj \
292 ..\common\$D\resource.obj \
293 ..\common\$D\sckaddr.obj \
294 ..\common\$D\sckfile.obj \
295 ..\common\$D\sckipc.obj \
296 ..\common\$D\sckstrm.obj \
297 ..\common\$D\settcmn.obj \
298 ..\common\$D\sizer.obj \
299 ..\common\$D\socket.obj \
300 ..\common\$D\statbar.obj \
301 ..\common\$D\strconv.obj \
302 ..\common\$D\stream.obj \
303 ..\common\$D\string.obj \
304 ..\common\$D\sysopt.obj \
305 ..\common\$D\tbarbase.obj \
306 ..\common\$D\textbuf.obj \
307 ..\common\$D\textcmn.obj \
308 ..\common\$D\textfile.obj \
309 ..\common\$D\timercmn.obj \
310 ..\common\$D\tokenzr.obj \
311 ..\common\$D\toplvcmn.obj \
312 ..\common\$D\treebase.obj \
313 ..\common\$D\txtstrm.obj \
314 ..\common\$D\unzip.obj \
315 ..\common\$D\url.obj \
316 ..\common\$D\utilscmn.obj \
317 ..\common\$D\valgen.obj \
318 ..\common\$D\validate.obj \
319 ..\common\$D\valtext.obj \
320 ..\common\$D\variant.obj \
321 ..\common\$D\wfstream.obj \
322 ..\common\$D\wincmn.obj \
323 ..\common\$D\wxchar.obj \
324 ..\common\$D\wxexpr.obj \
325 ..\common\$D\xpmdecod.obj \
326 ..\common\$D\y_tab.obj \
327 ..\common\$D\zipstrm.obj \
328 ..\common\$D\zstream.obj
469 ..\os2\$D\accel.obj \
471 ..\os2\$D\bitmap.obj \
472 ..\os2\$D\bmpbuttn.obj \
473 ..\os2\$D\brush.obj \
474 ..\os2\$D\button.obj \
475 ..\os2\$D\checkbox.obj \
476 ..\os2\$D\checklst.obj \
477 ..\os2\$D\choice.obj \
478 ..\os2\$D\clipbrd.obj \
479 ..\os2\$D\colour.obj \
480 ..\os2\$D\combobox.obj \
481 ..\os2\$D\control.obj \
482 ..\os2\$D\cursor.obj \
484 ..\os2\$D\dataobj.obj \
486 ..\os2\$D\dcclient.obj \
487 ..\os2\$D\dcmemory.obj \
488 ..\os2\$D\dcprint.obj \
489 ..\os2\$D\dcscreen.obj \
490 ..\os2\$D\dialog.obj \
493 ..\os2\$D\filedlg.obj \
495 ..\os2\$D\fontdlg.obj \
496 ..\os2\$D\fontenum.obj \
497 ..\os2\$D\fontutil.obj \
498 ..\os2\$D\frame.obj \
499 ..\os2\$D\gauge.obj \
500 ..\os2\$D\gdiimage.obj \
501 ..\os2\$D\gdiobj.obj \
502 ..\os2\$D\gsocket.obj \
503 ..\os2\$D\gsockpm.obj \
504 ..\os2\$D\helpwin.obj \
506 ..\os2\$D\iniconf.obj \
507 ..\os2\$D\joystick.obj \
508 ..\os2\$D\listbox.obj \
512 ..\os2\$D\menuitem.obj \
513 ..\os2\$D\metafile.obj \
514 ..\os2\$D\mimetype.obj \
515 ..\os2\$D\minifram.obj \
516 ..\os2\$D\msgdlg.obj \
517 ..\os2\$D\nativdlg.obj \
518 ..\os2\$D\notebook.obj \
519 ..\os2\$D\ownerdrw.obj \
520 ..\os2\$D\palette.obj \
522 ..\os2\$D\popupwin.obj \
523 ..\os2\$D\print.obj \
524 ..\os2\$D\radiobox.obj \
525 ..\os2\$D\radiobut.obj \
526 ..\os2\$D\region.obj \
527 ..\os2\$D\scrolbar.obj \
528 ..\os2\$D\settings.obj \
529 ..\os2\$D\slider.obj \
530 ..\os2\$D\spinbutt.obj \
531 ..\os2\$D\spinctrl.obj \
532 ..\os2\$D\statbmp.obj \
533 ..\os2\$D\statbox.obj \
534 ..\os2\$D\statline.obj \
535 ..\os2\$D\stattext.obj \
536 ..\os2\$D\tabctrl.obj \
537 ..\os2\$D\taskbar.obj \
538 ..\os2\$D\textctrl.obj \
539 ..\os2\$D\thread.obj \
540 ..\os2\$D\timer.obj \
541 ..\os2\$D\toolbar.obj \
542 ..\os2\$D\tooltip.obj \
543 ..\os2\$D\toplevel.obj \
544 ..\os2\$D\utils.obj \
545 ..\os2\$D\utilsexc.obj \
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_meta.obj \
650 ..\html\$D\m_pre.obj \
651 ..\html\$D\m_style.obj \
652 ..\html\$D\m_tables.obj \
653 ..\html\$D\winpars.obj
678 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
679 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
681 # Normal, static library
682 all: $(WXDIR)\include\wx\setup.h $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg tiff $(LIBTARGET)
684 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
687 test: $(OS2DIR)\$D\wave.obj
688 test2: ..\common\Debug\config.obj
690 # If taking wxWindows from CVS, setup.h doesn't exist yet.
691 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
692 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
694 $(WXDIR)\include\wx\setup.h: $(WXDIR)\include\wx\os2\setup.h
695 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\setup.h
697 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
698 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
700 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
701 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
704 copy ..\common\$D\artprov.obj
705 copy ..\common\$D\artstd.obj
706 copy ..\common\$D\appcmn.obj
707 copy ..\common\$D\choiccmn.obj
708 copy ..\common\$D\clipcmn.obj
709 copy ..\common\$D\clntdata.obj
710 copy ..\common\$D\cmdline.obj
711 copy ..\common\$D\cmndata.obj
712 copy ..\common\$D\cmdproc.obj
713 copy ..\common\$D\config.obj
714 copy ..\common\$D\containr.obj
715 copy ..\common\$D\cshelp.obj
716 copy ..\common\$D\ctrlcmn.obj
717 copy ..\common\$D\ctrlsub.obj
718 copy ..\common\$D\datetime.obj
719 copy ..\common\$D\datstrm.obj
720 copy ..\common\$D\db.obj
721 copy ..\common\$D\dbgrid.obj
722 copy ..\common\$D\dbtable.obj
723 copy ..\common\$D\dcbase.obj
724 copy ..\common\$D\dlgcmn.obj
725 copy ..\common\$D\dircmn.obj
726 copy ..\common\$D\dndcmn.obj
727 copy ..\common\$D\dobjcmn.obj
728 copy ..\common\$D\docmdi.obj
729 copy ..\common\$D\docview.obj
730 copy ..\common\$D\dseldlg.obj
731 copy ..\common\$D\dynarray.obj
732 copy ..\common\$D\dynlib.obj
733 copy ..\common\$D\dynload.obj
734 copy ..\common\$D\effects.obj
735 copy ..\common\$D\encconv.obj
736 copy ..\common\$D\event.obj
737 copy ..\common\$D\extended.obj
738 copy ..\common\$D\fddlgcmn.obj
739 copy ..\common\$D\ffile.obj
740 copy ..\common\$D\file.obj
741 copy ..\common\$D\fileconf.obj
742 copy ..\common\$D\filefn.obj
743 copy ..\common\$D\filename.obj
744 copy ..\common\$D\filesys.obj
745 copy ..\common\$D\fontcmn.obj
746 copy ..\common\$D\fontmap.obj
749 copy ..\common\$D\framecmn.obj
750 copy ..\common\$D\fs_inet.obj
751 copy ..\common\$D\fs_mem.obj
752 copy ..\common\$D\fs_zip.obj
753 copy ..\common\$D\ftp.obj
754 copy ..\common\$D\gaugecmn.obj
755 copy ..\common\$D\gdicmn.obj
756 copy ..\common\$D\geometry.obj
757 copy ..\common\$D\gifdecod.obj
758 copy ..\common\$D\hash.obj
759 copy ..\common\$D\hashmap.obj
760 copy ..\common\$D\helpbase.obj
761 copy ..\common\$D\http.obj
762 copy ..\common\$D\iconbndl.obj
763 copy ..\common\$D\imagall.obj
764 copy ..\common\$D\imagbmp.obj
765 copy ..\common\$D\image.obj
766 copy ..\common\$D\imagfill.obj
767 copy ..\common\$D\imaggif.obj
768 copy ..\common\$D\imagiff.obj
769 copy ..\common\$D\imagjpeg.obj
770 copy ..\common\$D\imagpcx.obj
771 copy ..\common\$D\imagpng.obj
772 copy ..\common\$D\imagpnm.obj
773 copy ..\common\$D\imagtiff.obj
774 copy ..\common\$D\imagxpm.obj
775 copy ..\common\$D\intl.obj
776 copy ..\common\$D\ipcbase.obj
777 copy ..\common\$D\layout.obj
778 copy ..\common\$D\lboxcmn.obj
779 copy ..\common\$D\list.obj
780 copy ..\common\$D\log.obj
781 copy ..\common\$D\longlong.obj
782 copy ..\common\$D\matrix.obj
783 copy ..\common\$D\memory.obj
784 copy ..\common\$D\menucmn.obj
785 copy ..\common\$D\mimecmn.obj
786 copy ..\common\$D\module.obj
787 copy ..\common\$D\mstream.obj
788 copy ..\common\$D\nbkbase.obj
789 copy ..\common\$D\object.obj
790 copy ..\common\$D\odbc.obj
793 copy ..\common\$D\paper.obj
794 copy ..\common\$D\popupcmn.obj
795 copy ..\common\$D\prntbase.obj
796 copy ..\common\$D\process.obj
797 copy ..\common\$D\protocol.obj
798 copy ..\common\$D\quantize.obj
799 copy ..\common\$D\radiocmn.obj
800 copy ..\common\$D\regex.obj
801 copy ..\common\$D\resource.obj
802 copy ..\common\$D\sckaddr.obj
803 copy ..\common\$D\sckfile.obj
804 copy ..\common\$D\sckipc.obj
805 copy ..\common\$D\sckstrm.obj
806 copy ..\common\$D\settcmn.obj
807 copy ..\common\$D\sizer.obj
808 copy ..\common\$D\socket.obj
809 copy ..\common\$D\statbar.obj
810 copy ..\common\$D\strconv.obj
811 copy ..\common\$D\stream.obj
812 copy ..\common\$D\string.obj
813 copy ..\common\$D\sysopt.obj
814 copy ..\common\$D\tbarbase.obj
815 copy ..\common\$D\textbuf.obj
816 copy ..\common\$D\textcmn.obj
817 copy ..\common\$D\textfile.obj
818 copy ..\common\$D\timercmn.obj
819 copy ..\common\$D\tokenzr.obj
820 copy ..\common\$D\toplvcmn.obj
821 copy ..\common\$D\treebase.obj
822 copy ..\common\$D\txtstrm.obj
823 copy ..\common\$D\unzip.obj
824 copy ..\common\$D\url.obj
825 copy ..\common\$D\utilscmn.obj
826 copy ..\common\$D\valgen.obj
827 copy ..\common\$D\validate.obj
828 copy ..\common\$D\valtext.obj
829 copy ..\common\$D\variant.obj
830 copy ..\common\$D\wfstream.obj
831 copy ..\common\$D\wincmn.obj
832 copy ..\common\$D\wxchar.obj
833 copy ..\common\$D\wxexpr.obj
834 copy ..\common\$D\xpmdecod.obj
835 copy ..\common\$D\y_tab.obj
838 copy ..\common\$D\zipstrm.obj
839 copy ..\common\$D\zstream.obj
842 copy ..\generic\$D\busyinfo.obj
843 copy ..\generic\$D\calctrl.obj
844 copy ..\generic\$D\caret.obj
845 copy ..\generic\$D\choicdgg.obj
846 copy ..\generic\$D\colrdlgg.obj
847 copy ..\generic\$D\dragimgg.obj
848 copy ..\generic\$D\dcbuffer.obj
849 copy ..\generic\$D\dcpsg.obj
850 copy ..\generic\$D\dirdlgg.obj
851 copy ..\generic\$D\dirctrlg.obj
852 copy ..\generic\$D\fdrepdlg.obj
853 copy ..\generic\$D\grid.obj
854 copy ..\generic\$D\gridctrl.obj
855 copy ..\generic\$D\gridsel.obj
856 copy ..\generic\$D\helpext.obj
857 copy ..\generic\$D\helphtml.obj
858 copy ..\generic\$D\imaglist.obj
859 copy ..\generic\$D\laywin.obj
860 copy ..\generic\$D\listctrl.obj
861 copy ..\generic\$D\logg.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
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_meta.obj
902 copy ..\html\$D\m_pre.obj
903 copy ..\html\$D\m_style.obj
904 copy ..\html\$D\m_tables.obj
905 copy ..\html\$D\winpars.obj
908 copy ..\os2\$D\accel.obj
909 copy ..\os2\$D\app.obj
910 copy ..\os2\$D\bitmap.obj
911 copy ..\os2\$D\bmpbuttn.obj
912 copy ..\os2\$D\brush.obj
913 copy ..\os2\$D\button.obj
914 copy ..\os2\$D\checkbox.obj
915 copy ..\os2\$D\checklst.obj
916 copy ..\os2\$D\choice.obj
917 copy ..\os2\$D\clipbrd.obj
918 copy ..\os2\$D\colour.obj
919 copy ..\os2\$D\combobox.obj
920 copy ..\os2\$D\control.obj
921 copy ..\os2\$D\cursor.obj
922 copy ..\os2\$D\data.obj
923 copy ..\os2\$D\dataobj.obj
924 copy ..\os2\$D\dc.obj
925 copy ..\os2\$D\dcclient.obj
926 copy ..\os2\$D\dcmemory.obj
927 copy ..\os2\$D\dcprint.obj
928 copy ..\os2\$D\dcscreen.obj
929 copy ..\os2\$D\dialog.obj
930 copy ..\os2\$D\dir.obj
931 copy ..\os2\$D\dnd.obj
932 copy ..\os2\$D\filedlg.obj
933 copy ..\os2\$D\font.obj
934 copy ..\os2\$D\fontdlg.obj
935 copy ..\os2\$D\fontenum.obj
936 copy ..\os2\$D\fontutil.obj
937 copy ..\os2\$D\frame.obj
938 copy ..\os2\$D\gauge.obj
939 copy ..\os2\$D\gdiimage.obj
940 copy ..\os2\$D\gdiobj.obj
941 copy ..\os2\$D\gsocket.obj
942 copy ..\os2\$D\gsockpm.obj
943 copy ..\os2\$D\helpwin.obj
944 copy ..\os2\$D\icon.obj
945 copy ..\os2\$D\iniconf.obj
946 copy ..\os2\$D\joystick.obj
947 copy ..\os2\$D\listbox.obj
948 copy ..\os2\$D\main.obj
949 copy ..\os2\$D\mdi.obj
950 copy ..\os2\$D\menu.obj
951 copy ..\os2\$D\menuitem.obj
952 copy ..\os2\$D\metafile.obj
955 copy ..\os2\$D\mimetype.obj
956 copy ..\os2\$D\minifram.obj
957 copy ..\os2\$D\msgdlg.obj
958 copy ..\os2\$D\nativdlg.obj
959 copy ..\os2\$D\notebook.obj
960 copy ..\os2\$D\ownerdrw.obj
961 copy ..\os2\$D\palette.obj
962 copy ..\os2\$D\pen.obj
963 copy ..\os2\$D\popupwin.obj
964 copy ..\os2\$D\print.obj
965 copy ..\os2\$D\radiobox.obj
966 copy ..\os2\$D\radiobut.obj
967 copy ..\os2\$D\region.obj
968 copy ..\os2\$D\scrolbar.obj
969 copy ..\os2\$D\settings.obj
970 copy ..\os2\$D\slider.obj
971 copy ..\os2\$D\spinbutt.obj
972 copy ..\os2\$D\spinctrl.obj
973 copy ..\os2\$D\statbmp.obj
974 copy ..\os2\$D\statbox.obj
975 copy ..\os2\$D\statline.obj
976 copy ..\os2\$D\stattext.obj
977 copy ..\os2\$D\tabctrl.obj
978 copy ..\os2\$D\taskbar.obj
979 copy ..\os2\$D\textctrl.obj
980 copy ..\os2\$D\thread.obj
981 copy ..\os2\$D\timer.obj
982 copy ..\os2\$D\toolbar.obj
983 copy ..\os2\$D\tooltip.obj
984 copy ..\os2\$D\toplevel.obj
985 copy ..\os2\$D\utils.obj
986 copy ..\os2\$D\utilsexc.obj
987 copy ..\os2\$D\wave.obj
988 copy ..\os2\$D\window.obj
990 # wxWindows library as DLL
992 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
995 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
997 # wxWindows + app as DLL. Only affects main.cpp.
999 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1001 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
1003 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1005 # Use this to make dummy.obj and generate a PCH.
1006 # You might use the dll target, then the pch target, in order to
1007 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
1009 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
1010 # are associated with wx.lib. When using a DLL version of wxWindows, however,
1011 # the DLL is compiled without a PCH, so you only need it for compiling the app.
1012 # In fact headers are compiled differently depending on whether a DLL is being made
1013 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
1014 # in each case) so you couldn't use the same PCH.
1016 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
1018 pch1: dirs $(DUMMYOBJ)
1021 !if "$(WXMAKINGDLL)" != "1"
1025 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
1026 -touch $(WXDIR)\lib\wxcom1.lib
1027 -del $(WXDIR)\lib\wxcom1.lib
1028 ilib $(LIBFLAGS) $@ @<<
1032 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
1033 -touch $(WXDIR)\lib\wxcom2.lib
1034 -del $(WXDIR)\lib\wxcom2.lib
1035 ilib $(LIBFLAGS) $@ @<<
1039 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
1040 -touch $(WXDIR)\lib\wxcom3.lib
1041 -del $(WXDIR)\lib\wxcom3.lib
1042 ilib $(LIBFLAGS) $@ @<<
1046 $(WXDIR)\lib\wxcom4.lib: $(COMLIBOBJS4)
1047 -touch $(WXDIR)\lib\wxcom4.lib
1048 -del $(WXDIR)\lib\wxcom4.lib
1049 ilib $(LIBFLAGS) $@ @<<
1053 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1054 -touch $(WXDIR)\lib\wxgen.lib
1055 -del $(WXDIR)\lib\wxgen.lib
1056 ilib $(LIBFLAGS) $@ @<<
1060 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1061 -touch $(WXDIR)\lib\wxhtml.lib
1062 -del $(WXDIR)\lib\wxhtml.lib
1063 ilib $(LIBFLAGS) $@ @<<
1067 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1068 -touch $(WXDIR)\lib\wxnones.lib
1069 -del $(WXDIR)\lib\wxnones.lib
1070 ilib $(LIBFLAGS) $@ @<<
1074 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1075 -touch $(WXDIR)\lib\wxos21.lib
1076 -del $(WXDIR)\lib\wxos21.lib
1077 ilib $(LIBFLAGS) $@ @<<
1081 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1082 -touch $(WXDIR)\lib\wxos22.lib
1083 -del $(WXDIR)\lib\wxos22.lib
1084 ilib $(LIBFLAGS) $@ @<<
1089 $(WXDIR)\lib\wx.lib: \
1103 ilib $(LIBFLAGS) $@ @<<
1118 # Update the dynamic link library
1119 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1121 /B" $(LINKFLAGS)" /Fe$@
1125 $(WXDIR)\src\os2\wx23.def
1127 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1131 ..\common\$D\extended.obj: ..\common\extended.c
1133 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1136 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1138 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1141 ..\common\y_tab.c: ..\common\dosyacc.c
1142 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1144 ..\common\lex_yy.c: ..\common\doslex.c
1145 copy "..\common"\doslex.c "..\common"\lex_yy.c
1147 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1149 ..\common\$D\unzip.obj: ..\common\unzip.c
1151 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1156 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1161 nmake -f makefile.va clean
1165 cd $(WXDIR)\src\zlib
1166 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1170 cd $(WXDIR)\src\zlib
1171 nmake -f makefile.va clean
1175 cd $(WXDIR)\src\jpeg
1176 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1180 cd $(WXDIR)\src\jpeg
1181 nmake -f makefile.va clean
1185 cd $(WXDIR)\src\tiff
1186 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1190 cd $(WXDIR)\src\tiff
1191 nmake -f makefile.va clean
1194 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_tiff
1195 erase /N $(GENDIR)\$D\*.obj
1196 erase /N $(COMMDIR)\$D\*.obj
1197 erase /N $(HTMLDIR)\$D\*.obj
1198 erase /N $(OS2DIR)\$D\*.obj
1205 !if "$(WXMAKINGDLL)" == "1"
1206 erase /N ..\..\lib\wx23.lib
1208 erase /N $(COMMDIR)\y_tab.c
1209 erase /N $(COMMDIR)\lex_yy.c