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\grid.obj \
108 ..\generic\$D\gridctrl.obj \
109 ..\generic\$D\gridsel.obj \
110 ..\generic\$D\helpext.obj \
111 ..\generic\$D\helphtml.obj \
112 ..\generic\$D\helpwxht.obj \
113 ..\generic\$D\helpxlp.obj \
114 ..\generic\$D\imaglist.obj \
115 ..\generic\$D\laywin.obj \
116 ..\generic\$D\listctrl.obj \
117 ..\generic\$D\logg.obj \
118 ..\generic\$D\numdlgg.obj \
119 ..\generic\$D\panelg.obj \
120 ..\generic\$D\printps.obj \
121 ..\generic\$D\prntdlgg.obj \
122 ..\generic\$D\progdlgg.obj \
123 ..\generic\$D\prop.obj \
124 ..\generic\$D\propform.obj \
125 ..\generic\$D\proplist.obj \
126 ..\generic\$D\sashwin.obj \
127 ..\generic\$D\scrolwin.obj \
128 ..\generic\$D\splitter.obj \
129 ..\generic\$D\statusbr.obj \
130 ..\generic\$D\tabg.obj \
131 ..\generic\$D\tbarsmpl.obj \
132 ..\generic\$D\textdlgg.obj \
133 ..\generic\$D\tipdlg.obj \
134 ..\generic\$D\tipwin.obj \
135 ..\generic\$D\treectlg.obj \
136 ..\generic\$D\treelay.obj \
137 ..\generic\$D\wizard.obj
139 # ..\generic\$D\gridg.obj \
140 # ..\generic\$D\notebook.obj \
184 # These are generic things that don't need to be compiled on PM,
185 # but sometimes it's useful to do so for testing purposes.
187 ..\generic\$D\msgdlgg.obj
190 ..\common\$D\appcmn.obj \
191 ..\common\$D\choiccmn.obj \
192 ..\common\$D\clipcmn.obj \
193 ..\common\$D\cmdline.obj \
194 ..\common\$D\cmndata.obj \
195 ..\common\$D\config.obj \
196 ..\common\$D\cshelp.obj \
197 ..\common\$D\ctrlcmn.obj \
198 ..\common\$D\ctrlsub.obj \
199 ..\common\$D\datetime.obj \
200 ..\common\$D\datstrm.obj \
201 !if "$(WXMAKINGDLL)" != "1"
202 # don't have an ODBC database
203 ..\common\$D\db.obj \
204 ..\common\$D\dbgrid.obj \
205 ..\common\$D\dbtable.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\dynarray.obj \
215 ..\common\$D\dynlib.obj \
216 ..\common\$D\effects.obj \
217 ..\common\$D\encconv.obj \
218 ..\common\$D\event.obj \
219 ..\common\$D\extended.obj \
220 ..\common\$D\ffile.obj \
221 ..\common\$D\file.obj \
222 ..\common\$D\fileconf.obj \
223 ..\common\$D\filefn.obj \
224 ..\common\$D\filename.obj \
225 ..\common\$D\filesys.obj \
226 ..\common\$D\fontcmn.obj \
227 ..\common\$D\fontmap.obj \
228 ..\common\$D\framecmn.obj \
229 ..\common\$D\fs_inet.obj \
230 ..\common\$D\fs_mem.obj \
231 ..\common\$D\fs_zip.obj \
232 ..\common\$D\ftp.obj \
233 ..\common\$D\gdicmn.obj \
234 ..\common\$D\geometry.obj \
235 ..\common\$D\gifdecod.obj \
236 ..\common\$D\hash.obj \
237 ..\common\$D\helpbase.obj \
238 ..\common\$D\http.obj \
239 ..\common\$D\imagall.obj \
240 ..\common\$D\imagbmp.obj \
241 ..\common\$D\image.obj \
242 ..\common\$D\imaggif.obj \
243 ..\common\$D\imagjpeg.obj \
244 ..\common\$D\imagpcx.obj \
245 ..\common\$D\imagpng.obj \
246 ..\common\$D\imagpnm.obj \
247 ..\common\$D\imagtiff.obj \
248 ..\common\$D\imagxpm.obj \
249 ..\common\$D\intl.obj \
250 ..\common\$D\ipcbase.obj \
251 ..\common\$D\layout.obj \
252 ..\common\$D\lboxcmn.obj \
253 ..\common\$D\list.obj \
254 ..\common\$D\log.obj \
255 ..\common\$D\longlong.obj \
256 ..\common\$D\matrix.obj \
257 ..\common\$D\memory.obj \
258 ..\common\$D\menucmn.obj \
259 ..\common\$D\mimecmn.obj \
260 ..\common\$D\module.obj \
261 ..\common\$D\mstream.obj \
262 ..\common\$D\object.obj \
263 ..\common\$D\objstrm.obj \
264 !if "$(WXMAKINGDLL)" != "1"
265 # don't have an ODBC database
266 ..\common\$D\odbc.obj \
268 ..\common\$D\paper.obj \
269 ..\common\$D\prntbase.obj \
270 ..\common\$D\process.obj \
271 ..\common\$D\protocol.obj \
272 ..\common\$D\quantize.obj \
273 ..\common\$D\resource.obj \
274 ..\common\$D\sckaddr.obj \
275 ..\common\$D\sckfile.obj \
276 ..\common\$D\sckipc.obj \
277 ..\common\$D\sckstrm.obj \
278 ..\common\$D\serbase.obj \
279 ..\common\$D\sizer.obj \
280 ..\common\$D\socket.obj \
281 ..\common\$D\strconv.obj \
282 ..\common\$D\stream.obj \
283 ..\common\$D\string.obj \
284 ..\common\$D\tbarbase.obj \
285 ..\common\$D\textcmn.obj \
286 ..\common\$D\textfile.obj \
287 ..\common\$D\timercmn.obj \
288 ..\common\$D\tokenzr.obj \
289 ..\common\$D\treebase.obj \
290 ..\common\$D\txtstrm.obj \
291 ..\common\$D\unzip.obj \
292 ..\common\$D\url.obj \
293 ..\common\$D\utilscmn.obj \
294 ..\common\$D\valgen.obj \
295 ..\common\$D\validate.obj \
296 ..\common\$D\valtext.obj \
297 ..\common\$D\variant.obj \
298 ..\common\$D\wfstream.obj \
299 ..\common\$D\wincmn.obj \
300 ..\common\$D\wxchar.obj \
301 ..\common\$D\wxexpr.obj \
302 ..\common\$D\xpmdecod.obj \
303 ..\common\$D\y_tab.obj \
304 ..\common\$D\zipstrm.obj \
305 ..\common\$D\zstream.obj
424 ..\os2\$D\accel.obj \
426 ..\os2\$D\bitmap.obj \
427 ..\os2\$D\bmpbuttn.obj \
428 ..\os2\$D\brush.obj \
429 ..\os2\$D\button.obj \
430 ..\os2\$D\checkbox.obj \
431 ..\os2\$D\checklst.obj \
432 ..\os2\$D\choice.obj \
433 ..\os2\$D\clipbrd.obj \
434 ..\os2\$D\colour.obj \
435 ..\os2\$D\combobox.obj \
436 ..\os2\$D\control.obj \
437 ..\os2\$D\cursor.obj \
439 ..\os2\$D\dataobj.obj \
441 ..\os2\$D\dcclient.obj \
442 ..\os2\$D\dcmemory.obj \
443 ..\os2\$D\dcprint.obj \
444 ..\os2\$D\dcscreen.obj \
445 ..\os2\$D\dialog.obj \
447 ..\os2\$D\dirdlg.obj \
449 ..\os2\$D\filedlg.obj \
451 ..\os2\$D\fontdlg.obj \
452 ..\os2\$D\fontenum.obj \
453 ..\os2\$D\fontutil.obj \
454 ..\os2\$D\frame.obj \
455 ..\os2\$D\gauge.obj \
456 ..\os2\$D\gdiimage.obj \
457 ..\os2\$D\gdiobj.obj \
458 ..\os2\$D\gsocket.obj \
459 ..\os2\$D\gsockpm.obj \
460 ..\os2\$D\helpwin.obj \
462 ..\os2\$D\iniconf.obj \
463 ..\os2\$D\joystick.obj \
464 ..\os2\$D\listbox.obj \
468 ..\os2\$D\menuitem.obj \
469 ..\os2\$D\metafile.obj \
470 ..\os2\$D\mimetype.obj \
471 ..\os2\$D\minifram.obj \
472 ..\os2\$D\msgdlg.obj \
473 ..\os2\$D\nativdlg.obj \
474 ..\os2\$D\notebook.obj \
475 ..\os2\$D\ownerdrw.obj \
476 ..\os2\$D\palette.obj \
478 ..\os2\$D\pnghand.obj \
479 ..\os2\$D\print.obj \
480 ..\os2\$D\radiobox.obj \
481 ..\os2\$D\radiobut.obj \
482 ..\os2\$D\region.obj \
483 ..\os2\$D\scrolbar.obj \
484 ..\os2\$D\settings.obj \
485 ..\os2\$D\slider.obj \
486 ..\os2\$D\spinbutt.obj \
487 ..\os2\$D\spinctrl.obj \
488 ..\os2\$D\statbmp.obj \
489 ..\os2\$D\statbox.obj \
490 ..\os2\$D\statline.obj \
491 ..\os2\$D\stattext.obj \
492 ..\os2\$D\tabctrl.obj \
493 ..\os2\$D\taskbar.obj \
494 ..\os2\$D\textctrl.obj \
495 ..\os2\$D\thread.obj \
496 ..\os2\$D\timer.obj \
497 ..\os2\$D\toolbar.obj \
498 ..\os2\$D\tooltip.obj \
499 ..\os2\$D\utils.obj \
500 ..\os2\$D\utilsexc.obj \
502 ..\os2\$D\window.obj \
503 ..\os2\$D\xpmhand.obj
590 ..\html\$D\helpctrl.obj \
591 ..\html\$D\helpdata.obj \
592 ..\html\$D\helpfrm.obj \
593 ..\html\$D\htmlcell.obj \
594 ..\html\$D\htmlfilt.obj \
595 ..\html\$D\htmlpars.obj \
596 ..\html\$D\htmltag.obj \
597 ..\html\$D\htmlwin.obj \
598 ..\html\$D\htmprint.obj \
599 ..\html\$D\m_dflist.obj \
600 ..\html\$D\m_fonts.obj \
601 ..\html\$D\m_hline.obj \
602 ..\html\$D\m_image.obj \
603 ..\html\$D\m_layout.obj \
604 ..\html\$D\m_links.obj \
605 ..\html\$D\m_list.obj \
606 ..\html\$D\m_meta.obj \
607 ..\html\$D\m_pre.obj \
608 ..\html\$D\m_tables.obj \
609 ..\html\$D\winpars.obj
633 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
634 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
636 # Normal, static library
637 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
639 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
642 test: $(OS2DIR)\$D\wave.obj
643 test2: ..\common\Debug\config.obj
645 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
646 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
648 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
649 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
652 copy ..\common\$D\appcmn.obj
653 copy ..\common\$D\choiccmn.obj
654 copy ..\common\$D\clipcmn.obj
655 copy ..\common\$D\cmdline.obj
656 copy ..\common\$D\cmndata.obj
657 copy ..\common\$D\config.obj
658 copy ..\common\$D\cshelp.obj
659 copy ..\common\$D\ctrlcmn.obj
660 copy ..\common\$D\ctrlsub.obj
661 copy ..\common\$D\datetime.obj
662 copy ..\common\$D\datstrm.obj
663 copy ..\common\$D\db.obj
664 copy ..\common\$D\dbgrid.obj
665 copy ..\common\$D\dbtable.obj
666 copy ..\common\$D\dcbase.obj
667 copy ..\common\$D\dlgcmn.obj
668 copy ..\common\$D\dircmn.obj
669 copy ..\common\$D\dndcmn.obj
670 copy ..\common\$D\dobjcmn.obj
671 copy ..\common\$D\docmdi.obj
672 copy ..\common\$D\docview.obj
673 copy ..\common\$D\dynarray.obj
674 copy ..\common\$D\dynlib.obj
675 copy ..\common\$D\effects.obj
676 copy ..\common\$D\encconv.obj
677 copy ..\common\$D\event.obj
678 copy ..\common\$D\extended.obj
679 copy ..\common\$D\ffile.obj
680 copy ..\common\$D\file.obj
681 copy ..\common\$D\fileconf.obj
682 copy ..\common\$D\filefn.obj
683 copy ..\common\$D\filename.obj
684 copy ..\common\$D\filesys.obj
685 copy ..\common\$D\fontcmn.obj
686 copy ..\common\$D\fontmap.obj
687 copy ..\common\$D\framecmn.obj
688 copy ..\common\$D\fs_inet.obj
689 copy ..\common\$D\fs_mem.obj
690 copy ..\common\$D\fs_zip.obj
691 copy ..\common\$D\ftp.obj
692 copy ..\common\$D\gdicmn.obj
693 copy ..\common\$D\geometry.obj
694 copy ..\common\$D\gifdecod.obj
695 copy ..\common\$D\hash.obj
698 copy ..\common\$D\helpbase.obj
699 copy ..\common\$D\http.obj
700 copy ..\common\$D\imagall.obj
701 copy ..\common\$D\imagbmp.obj
702 copy ..\common\$D\image.obj
703 copy ..\common\$D\imaggif.obj
704 copy ..\common\$D\imagjpeg.obj
705 copy ..\common\$D\imagpcx.obj
706 copy ..\common\$D\imagpng.obj
707 copy ..\common\$D\imagpnm.obj
708 copy ..\common\$D\imagtiff.obj
709 copy ..\common\$D\imagxpm.obj
710 copy ..\common\$D\intl.obj
711 copy ..\common\$D\ipcbase.obj
712 copy ..\common\$D\layout.obj
713 copy ..\common\$D\lboxcmn.obj
714 copy ..\common\$D\list.obj
715 copy ..\common\$D\log.obj
716 copy ..\common\$D\longlong.obj
717 copy ..\common\$D\matrix.obj
718 copy ..\common\$D\memory.obj
719 copy ..\common\$D\menucmn.obj
720 copy ..\common\$D\mimecmn.obj
721 copy ..\common\$D\module.obj
722 copy ..\common\$D\mstream.obj
723 copy ..\common\$D\object.obj
724 copy ..\common\$D\objstrm.obj
725 copy ..\common\$D\odbc.obj
726 copy ..\common\$D\paper.obj
727 copy ..\common\$D\prntbase.obj
728 copy ..\common\$D\process.obj
729 copy ..\common\$D\protocol.obj
730 copy ..\common\$D\quantize.obj
731 copy ..\common\$D\resource.obj
732 copy ..\common\$D\sckaddr.obj
733 copy ..\common\$D\sckfile.obj
734 copy ..\common\$D\sckipc.obj
735 copy ..\common\$D\sckstrm.obj
736 copy ..\common\$D\serbase.obj
737 copy ..\common\$D\sizer.obj
738 copy ..\common\$D\socket.obj
739 copy ..\common\$D\strconv.obj
742 copy ..\common\$D\stream.obj
743 copy ..\common\$D\string.obj
744 copy ..\common\$D\tbarbase.obj
745 copy ..\common\$D\textcmn.obj
746 copy ..\common\$D\textfile.obj
747 copy ..\common\$D\timercmn.obj
748 copy ..\common\$D\tokenzr.obj
749 copy ..\common\$D\treebase.obj
750 copy ..\common\$D\txtstrm.obj
751 copy ..\common\$D\unzip.obj
752 copy ..\common\$D\url.obj
753 copy ..\common\$D\utilscmn.obj
754 copy ..\common\$D\valgen.obj
755 copy ..\common\$D\validate.obj
756 copy ..\common\$D\valtext.obj
757 copy ..\common\$D\variant.obj
758 copy ..\common\$D\wfstream.obj
759 copy ..\common\$D\wincmn.obj
760 copy ..\common\$D\wxchar.obj
761 copy ..\common\$D\wxexpr.obj
762 copy ..\common\$D\xpmdecod.obj
763 copy ..\common\$D\y_tab.obj
764 copy ..\common\$D\zipstrm.obj
765 copy ..\common\$D\zstream.obj
768 copy ..\generic\$D\busyinfo.obj
769 copy ..\generic\$D\calctrl.obj
770 copy ..\generic\$D\caret.obj
771 copy ..\generic\$D\choicdgg.obj
772 copy ..\generic\$D\colrdlgg.obj
773 copy ..\generic\$D\dragimgg.obj
774 copy ..\generic\$D\dcpsg.obj
775 copy ..\generic\$D\dirctrlg.obj
776 copy ..\generic\$D\fontdlgg.obj
777 copy ..\generic\$D\grid.obj
778 copy ..\generic\$D\gridctrl.obj
779 copy ..\generic\$D\gridsel.obj
780 copy ..\generic\$D\helpext.obj
781 copy ..\generic\$D\helphtml.obj
782 copy ..\generic\$D\helpwxht.obj
783 copy ..\generic\$D\helpxlp.obj
784 copy ..\generic\$D\imaglist.obj
785 copy ..\generic\$D\laywin.obj
786 copy ..\generic\$D\listctrl.obj
787 copy ..\generic\$D\logg.obj
788 copy ..\generic\$D\numdlgg.obj
789 copy ..\generic\$D\panelg.obj
790 copy ..\generic\$D\printps.obj
791 copy ..\generic\$D\prntdlgg.obj
792 copy ..\generic\$D\progdlgg.obj
793 copy ..\generic\$D\prop.obj
794 copy ..\generic\$D\propform.obj
795 copy ..\generic\$D\proplist.obj
796 copy ..\generic\$D\sashwin.obj
797 copy ..\generic\$D\scrolwin.obj
798 copy ..\generic\$D\splitter.obj
799 copy ..\generic\$D\statusbr.obj
800 copy ..\generic\$D\tabg.obj
801 copy ..\generic\$D\tbarsmpl.obj
802 copy ..\generic\$D\textdlgg.obj
803 copy ..\generic\$D\tipdlg.obj
804 copy ..\generic\$D\tipwin.obj
805 copy ..\generic\$D\treectlg.obj
806 copy ..\generic\$D\treelay.obj
807 copy ..\generic\$D\wizard.obj
810 copy ..\html\$D\helpctrl.obj
811 copy ..\html\$D\helpdata.obj
812 copy ..\html\$D\helpfrm.obj
813 copy ..\html\$D\htmlcell.obj
814 copy ..\html\$D\htmlfilt.obj
815 copy ..\html\$D\htmlpars.obj
816 copy ..\html\$D\htmltag.obj
817 copy ..\html\$D\htmlwin.obj
818 copy ..\html\$D\htmprint.obj
819 copy ..\html\$D\m_dflist.obj
820 copy ..\html\$D\m_fonts.obj
821 copy ..\html\$D\m_hline.obj
822 copy ..\html\$D\m_image.obj
823 copy ..\html\$D\m_layout.obj
824 copy ..\html\$D\m_links.obj
825 copy ..\html\$D\m_list.obj
826 copy ..\html\$D\m_meta.obj
827 copy ..\html\$D\m_pre.obj
828 copy ..\html\$D\m_tables.obj
829 copy ..\html\$D\winpars.obj
832 copy ..\os2\$D\accel.obj
833 copy ..\os2\$D\app.obj
834 copy ..\os2\$D\bitmap.obj
835 copy ..\os2\$D\bmpbuttn.obj
836 copy ..\os2\$D\brush.obj
837 copy ..\os2\$D\button.obj
838 copy ..\os2\$D\checkbox.obj
839 copy ..\os2\$D\checklst.obj
840 copy ..\os2\$D\choice.obj
841 copy ..\os2\$D\clipbrd.obj
842 copy ..\os2\$D\colour.obj
843 copy ..\os2\$D\combobox.obj
844 copy ..\os2\$D\control.obj
845 copy ..\os2\$D\cursor.obj
846 copy ..\os2\$D\data.obj
847 copy ..\os2\$D\dataobj.obj
848 copy ..\os2\$D\dc.obj
849 copy ..\os2\$D\dcclient.obj
850 copy ..\os2\$D\dcmemory.obj
851 copy ..\os2\$D\dcprint.obj
852 copy ..\os2\$D\dcscreen.obj
853 copy ..\os2\$D\dialog.obj
854 copy ..\os2\$D\dir.obj
855 copy ..\os2\$D\dirdlg.obj
856 copy ..\os2\$D\dnd.obj
857 copy ..\os2\$D\filedlg.obj
858 copy ..\os2\$D\font.obj
859 copy ..\os2\$D\fontdlg.obj
860 copy ..\os2\$D\fontenum.obj
861 copy ..\os2\$D\fontutil.obj
862 copy ..\os2\$D\frame.obj
863 copy ..\os2\$D\gauge.obj
864 copy ..\os2\$D\gdiimage.obj
865 copy ..\os2\$D\gdiobj.obj
866 copy ..\os2\$D\gsocket.obj
867 copy ..\os2\$D\gsockpm.obj
868 copy ..\os2\$D\helpwin.obj
869 copy ..\os2\$D\icon.obj
870 copy ..\os2\$D\iniconf.obj
871 copy ..\os2\$D\joystick.obj
872 copy ..\os2\$D\listbox.obj
873 copy ..\os2\$D\main.obj
874 copy ..\os2\$D\mdi.obj
875 copy ..\os2\$D\menu.obj
876 copy ..\os2\$D\menuitem.obj
879 copy ..\os2\$D\metafile.obj
880 copy ..\os2\$D\mimetype.obj
881 copy ..\os2\$D\minifram.obj
882 copy ..\os2\$D\msgdlg.obj
883 copy ..\os2\$D\nativdlg.obj
884 copy ..\os2\$D\notebook.obj
885 copy ..\os2\$D\ownerdrw.obj
886 copy ..\os2\$D\palette.obj
887 copy ..\os2\$D\pen.obj
888 copy ..\os2\$D\pnghand.obj
889 copy ..\os2\$D\print.obj
890 copy ..\os2\$D\radiobox.obj
891 copy ..\os2\$D\radiobut.obj
892 copy ..\os2\$D\region.obj
893 copy ..\os2\$D\scrolbar.obj
894 copy ..\os2\$D\settings.obj
895 copy ..\os2\$D\slider.obj
896 copy ..\os2\$D\spinbutt.obj
897 copy ..\os2\$D\spinctrl.obj
898 copy ..\os2\$D\statbmp.obj
899 copy ..\os2\$D\statbox.obj
900 copy ..\os2\$D\statline.obj
901 copy ..\os2\$D\stattext.obj
902 copy ..\os2\$D\tabctrl.obj
903 copy ..\os2\$D\taskbar.obj
904 copy ..\os2\$D\textctrl.obj
905 copy ..\os2\$D\thread.obj
906 copy ..\os2\$D\timer.obj
907 copy ..\os2\$D\toolbar.obj
908 copy ..\os2\$D\tooltip.obj
909 copy ..\os2\$D\utils.obj
910 copy ..\os2\$D\utilsexc.obj
911 copy ..\os2\$D\wave.obj
912 copy ..\os2\$D\window.obj
913 copy ..\os2\$D\xpmhand.obj
915 # wxWindows library as DLL
917 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
920 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
922 # wxWindows + app as DLL. Only affects main.cpp.
924 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
926 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
928 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
930 # Use this to make dummy.obj and generate a PCH.
931 # You might use the dll target, then the pch target, in order to
932 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
934 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
935 # are associated with wx.lib. When using a DLL version of wxWindows, however,
936 # the DLL is compiled without a PCH, so you only need it for compiling the app.
937 # In fact headers are compiled differently depending on whether a DLL is being made
938 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
939 # in each case) so you couldn't use the same PCH.
941 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
943 pch1: dirs $(DUMMYOBJ)
946 !if "$(WXMAKINGDLL)" != "1"
950 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
951 -touch $(WXDIR)\lib\wxcom1.lib
952 -del $(WXDIR)\lib\wxcom1.lib
953 ilib $(LIBFLAGS) $@ @<<
957 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
958 -touch $(WXDIR)\lib\wxcom2.lib
959 -del $(WXDIR)\lib\wxcom2.lib
960 ilib $(LIBFLAGS) $@ @<<
964 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
965 -touch $(WXDIR)\lib\wxcom3.lib
966 -del $(WXDIR)\lib\wxcom3.lib
967 ilib $(LIBFLAGS) $@ @<<
971 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
972 -touch $(WXDIR)\lib\wxgen.lib
973 -del $(WXDIR)\lib\wxgen.lib
974 ilib $(LIBFLAGS) $@ @<<
978 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
979 -touch $(WXDIR)\lib\wxhtml.lib
980 -del $(WXDIR)\lib\wxhtml.lib
981 ilib $(LIBFLAGS) $@ @<<
985 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
986 -touch $(WXDIR)\lib\wxnones.lib
987 -del $(WXDIR)\lib\wxnones.lib
988 ilib $(LIBFLAGS) $@ @<<
992 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
993 -touch $(WXDIR)\lib\wxos21.lib
994 -del $(WXDIR)\lib\wxos21.lib
995 ilib $(LIBFLAGS) $@ @<<
999 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1000 -touch $(WXDIR)\lib\wxos22.lib
1001 -del $(WXDIR)\lib\wxos22.lib
1002 ilib $(LIBFLAGS) $@ @<<
1007 $(WXDIR)\lib\wx.lib: \
1020 ilib $(LIBFLAGS) $@ @<<
1034 # Update the dynamic link library
1035 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1037 /B" $(LINKFLAGS)" /Fe$@
1041 $(WXDIR)\src\os2\wx23.def
1043 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1047 # If taking wxWindows from CVS, setup.h doesn't exist yet.
1048 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1049 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1050 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1052 ..\common\$D\extended.obj: ..\common\extended.c
1054 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1057 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1059 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1062 ..\common\y_tab.c: ..\common\dosyacc.c
1063 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1065 ..\common\lex_yy.c: ..\common\doslex.c
1066 copy "..\common"\doslex.c "..\common"\lex_yy.c
1068 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1070 ..\common\$D\unzip.obj: ..\common\unzip.c
1072 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1077 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1082 nmake -f makefile.va clean
1086 cd $(WXDIR)\src\zlib
1087 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1091 cd $(WXDIR)\src\zlib
1092 nmake -f makefile.va clean
1096 cd $(WXDIR)\src\jpeg
1097 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1101 cd $(WXDIR)\src\jpeg
1102 nmake -f makefile.va clean
1107 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1112 nmake -f makefile.va clean
1116 cd $(WXDIR)\src\tiff
1117 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1121 cd $(WXDIR)\src\tiff
1122 nmake -f makefile.va clean
1125 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
1126 erase /N $(GENDIR)\$D\*.obj
1127 erase /N $(COMMDIR)\$D\*.obj
1128 erase /N $(HTMLDIR)\$D\*.obj
1129 erase /N $(OS2DIR)\$D\*.obj
1130 erase /N $(COMMDIR)\y_tab.c
1131 erase /N $(COMMDIR)\lex_yy.c
1138 !if "$(WXMAKINGDLL)" == "1"
1139 erase /N ..\..\lib\wx23.lib