6 # Copyright: (c) 1999, Dave Webster
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
16 !include <..\makeva.env>
18 THISDIR=$(WXWIN)\src\os2
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
25 COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26 COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
27 COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib
28 GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
29 NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
30 OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
31 OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
32 HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib
36 # Please set these according to the settings in setup.h, so we can include
37 # the appropriate libraries in wx.lib
39 # This one overrides the others, to be consistent with the settings in wx_setup.h
40 MINIMAL_WXWINDOWS_SETUP=0
46 # These are absolute paths, so that the compiler
47 # generates correct __FILE__ symbols for debugging.
48 # Otherwise you don't be able to double-click on a memory
49 # error to load that file.
50 GENDIR=$(WXDIR)\src\generic
51 COMMDIR=$(WXDIR)\src\common
52 OS2DIR=$(WXDIR)\src\os2
53 HTMLDIR = $(WXDIR)\src\html
55 !if [md $(COMMDIR)\$D]
64 !if [md $(HTMLDIR)\$D]
67 {..\generic}.cpp{..\generic\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /Tp $<
73 {..\common}.cpp{..\common\$D}.obj:
76 $(CPPFLAGS) /Fo$@ /Tp $<
79 {..\os2}.cpp{..\os2\$D}.obj:
82 $(CPPFLAGS) /Fo$@ /Tp $<
85 {..\os2}.c{..\os2\$D}.obj:
88 $(CPPFLAGS) /Fo$@ /Tp $<
91 {..\html}.cpp{..\html\$D}.obj:
94 $(CPPFLAGS) /Fo$@ /Tp $<
98 ..\generic\$D\busyinfo.obj \
99 ..\generic\$D\calctrl.obj \
100 ..\generic\$D\caret.obj \
101 ..\generic\$D\choicdgg.obj \
102 ..\generic\$D\colrdlgg.obj \
103 ..\generic\$D\dcpsg.obj \
104 ..\generic\$D\dirctrlg.obj \
105 ..\generic\$D\dragimgg.obj \
106 ..\generic\$D\fontdlgg.obj \
107 ..\generic\$D\fdrepdlg.obj \
108 ..\generic\$D\grid.obj \
109 ..\generic\$D\gridctrl.obj \
110 ..\generic\$D\gridsel.obj \
111 ..\generic\$D\helpext.obj \
112 ..\generic\$D\helphtml.obj \
113 ..\generic\$D\helpwxht.obj \
114 ..\generic\$D\helpxlp.obj \
115 ..\generic\$D\imaglist.obj \
116 ..\generic\$D\laywin.obj \
117 ..\generic\$D\listctrl.obj \
118 ..\generic\$D\logg.obj \
119 ..\generic\$D\numdlgg.obj \
120 ..\generic\$D\panelg.obj \
121 ..\generic\$D\printps.obj \
122 ..\generic\$D\prntdlgg.obj \
123 ..\generic\$D\progdlgg.obj \
124 ..\generic\$D\prop.obj \
125 ..\generic\$D\propform.obj \
126 ..\generic\$D\proplist.obj \
127 ..\generic\$D\sashwin.obj \
128 ..\generic\$D\scrlwing.obj \
129 ..\generic\$D\spinctlg.obj \
130 ..\generic\$D\splitter.obj \
131 ..\generic\$D\statusbr.obj \
132 ..\generic\$D\tabg.obj \
133 ..\generic\$D\tbarsmpl.obj \
134 ..\generic\$D\textdlgg.obj \
135 ..\generic\$D\tipdlg.obj \
136 ..\generic\$D\tipwin.obj \
137 ..\generic\$D\treectlg.obj \
138 ..\generic\$D\treelay.obj \
139 ..\generic\$D\wizard.obj
141 # ..\generic\$D\gridg.obj \
142 # ..\generic\$D\notebook.obj \
188 # These are generic things that don't need to be compiled on PM,
189 # but sometimes it's useful to do so for testing purposes.
191 ..\generic\$D\msgdlgg.obj
194 ..\common\$D\appcmn.obj \
195 ..\common\$D\bmpbase.obj \
196 ..\common\$D\choiccmn.obj \
197 ..\common\$D\clipcmn.obj \
198 ..\common\$D\cmdline.obj \
199 ..\common\$D\cmndata.obj \
200 ..\common\$D\cmdproc.obj \
201 ..\common\$D\config.obj \
202 ..\common\$D\cshelp.obj \
203 ..\common\$D\ctrlcmn.obj \
204 ..\common\$D\ctrlsub.obj \
205 ..\common\$D\datetime.obj \
206 ..\common\$D\datstrm.obj \
207 !if "$(WXMAKINGDLL)" != "1"
208 # don't have an ODBC database
209 ..\common\$D\db.obj \
210 ..\common\$D\dbgrid.obj \
211 ..\common\$D\dbtable.obj \
213 ..\common\$D\dcbase.obj \
214 ..\common\$D\dircmn.obj \
215 ..\common\$D\dlgcmn.obj \
216 ..\common\$D\dndcmn.obj \
217 ..\common\$D\dobjcmn.obj \
218 ..\common\$D\docmdi.obj \
219 ..\common\$D\docview.obj \
220 ..\common\$D\dynarray.obj \
221 ..\common\$D\dynlib.obj \
222 ..\common\$D\effects.obj \
223 ..\common\$D\encconv.obj \
224 ..\common\$D\event.obj \
225 ..\common\$D\extended.obj \
226 ..\common\$D\fddlgcmn.obj \
227 ..\common\$D\ffile.obj \
228 ..\common\$D\file.obj \
229 ..\common\$D\fileconf.obj \
230 ..\common\$D\filefn.obj \
231 ..\common\$D\filename.obj \
232 ..\common\$D\filesys.obj \
233 ..\common\$D\fontcmn.obj \
234 ..\common\$D\fontmap.obj \
235 ..\common\$D\framecmn.obj \
236 ..\common\$D\fs_inet.obj \
237 ..\common\$D\fs_mem.obj \
238 ..\common\$D\fs_zip.obj \
239 ..\common\$D\ftp.obj \
240 ..\common\$D\gaugecmn.obj \
241 ..\common\$D\gdicmn.obj \
242 ..\common\$D\geometry.obj \
243 ..\common\$D\gifdecod.obj \
244 ..\common\$D\hash.obj \
245 ..\common\$D\helpbase.obj \
246 ..\common\$D\http.obj \
247 ..\common\$D\imagall.obj \
248 ..\common\$D\imagbmp.obj \
249 ..\common\$D\image.obj \
250 ..\common\$D\imaggif.obj \
251 ..\common\$D\imagjpeg.obj \
252 ..\common\$D\imagpcx.obj \
253 ..\common\$D\imagpng.obj \
254 ..\common\$D\imagpnm.obj \
255 ..\common\$D\imagtiff.obj \
256 ..\common\$D\imagxpm.obj \
257 ..\common\$D\intl.obj \
258 ..\common\$D\ipcbase.obj \
259 ..\common\$D\layout.obj \
260 ..\common\$D\lboxcmn.obj \
261 ..\common\$D\list.obj \
262 ..\common\$D\log.obj \
263 ..\common\$D\longlong.obj \
264 ..\common\$D\matrix.obj \
265 ..\common\$D\memory.obj \
266 ..\common\$D\menucmn.obj \
267 ..\common\$D\mimecmn.obj \
268 ..\common\$D\module.obj \
269 ..\common\$D\mstream.obj \
270 ..\common\$D\nbkbase.obj \
271 ..\common\$D\object.obj \
272 ..\common\$D\objstrm.obj \
273 !if "$(WXMAKINGDLL)" != "1"
274 # don't have an ODBC database
275 ..\common\$D\odbc.obj \
277 ..\common\$D\paper.obj \
278 ..\common\$D\popupcmn.obj \
279 ..\common\$D\prntbase.obj \
280 ..\common\$D\process.obj \
281 ..\common\$D\protocol.obj \
282 ..\common\$D\quantize.obj \
283 ..\common\$D\radiocmn.obj \
284 ..\common\$D\regex.obj \
285 ..\common\$D\resource.obj \
286 ..\common\$D\sckaddr.obj \
287 ..\common\$D\sckfile.obj \
288 ..\common\$D\sckipc.obj \
289 ..\common\$D\sckstrm.obj \
290 ..\common\$D\serbase.obj \
291 ..\common\$D\sizer.obj \
292 ..\common\$D\socket.obj \
293 ..\common\$D\strconv.obj \
294 ..\common\$D\stream.obj \
295 ..\common\$D\string.obj \
296 ..\common\$D\sysopt.obj \
297 ..\common\$D\tbarbase.obj \
298 ..\common\$D\textcmn.obj \
299 ..\common\$D\textfile.obj \
300 ..\common\$D\timercmn.obj \
301 ..\common\$D\tokenzr.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\variant.obj \
311 ..\common\$D\wfstream.obj \
312 ..\common\$D\wincmn.obj \
313 ..\common\$D\wxchar.obj \
314 ..\common\$D\wxexpr.obj \
315 ..\common\$D\xpmdecod.obj \
316 ..\common\$D\y_tab.obj \
317 ..\common\$D\zipstrm.obj \
318 ..\common\$D\zstream.obj
446 ..\os2\$D\accel.obj \
448 ..\os2\$D\bitmap.obj \
449 ..\os2\$D\bmpbuttn.obj \
450 ..\os2\$D\brush.obj \
451 ..\os2\$D\button.obj \
452 ..\os2\$D\checkbox.obj \
453 ..\os2\$D\checklst.obj \
454 ..\os2\$D\choice.obj \
455 ..\os2\$D\clipbrd.obj \
456 ..\os2\$D\colour.obj \
457 ..\os2\$D\combobox.obj \
458 ..\os2\$D\control.obj \
459 ..\os2\$D\cursor.obj \
461 ..\os2\$D\dataobj.obj \
463 ..\os2\$D\dcclient.obj \
464 ..\os2\$D\dcmemory.obj \
465 ..\os2\$D\dcprint.obj \
466 ..\os2\$D\dcscreen.obj \
467 ..\os2\$D\dialog.obj \
469 ..\os2\$D\dirdlg.obj \
471 ..\os2\$D\filedlg.obj \
473 ..\os2\$D\fontdlg.obj \
474 ..\os2\$D\fontenum.obj \
475 ..\os2\$D\fontutil.obj \
476 ..\os2\$D\frame.obj \
477 ..\os2\$D\gauge.obj \
478 ..\os2\$D\gdiimage.obj \
479 ..\os2\$D\gdiobj.obj \
480 ..\os2\$D\gsocket.obj \
481 ..\os2\$D\gsockpm.obj \
482 ..\os2\$D\helpwin.obj \
484 ..\os2\$D\iniconf.obj \
485 ..\os2\$D\joystick.obj \
486 ..\os2\$D\listbox.obj \
490 ..\os2\$D\menuitem.obj \
491 ..\os2\$D\metafile.obj \
492 ..\os2\$D\mimetype.obj \
493 ..\os2\$D\minifram.obj \
494 ..\os2\$D\msgdlg.obj \
495 ..\os2\$D\nativdlg.obj \
496 ..\os2\$D\notebook.obj \
497 ..\os2\$D\ownerdrw.obj \
498 ..\os2\$D\palette.obj \
500 ..\os2\$D\pnghand.obj \
501 ..\os2\$D\print.obj \
502 ..\os2\$D\radiobox.obj \
503 ..\os2\$D\radiobut.obj \
504 ..\os2\$D\region.obj \
505 ..\os2\$D\scrolbar.obj \
506 ..\os2\$D\settings.obj \
507 ..\os2\$D\slider.obj \
508 ..\os2\$D\spinbutt.obj \
509 ..\os2\$D\spinctrl.obj \
510 ..\os2\$D\statbmp.obj \
511 ..\os2\$D\statbox.obj \
512 ..\os2\$D\statline.obj \
513 ..\os2\$D\stattext.obj \
514 ..\os2\$D\tabctrl.obj \
515 ..\os2\$D\taskbar.obj \
516 ..\os2\$D\textctrl.obj \
517 ..\os2\$D\thread.obj \
518 ..\os2\$D\timer.obj \
519 ..\os2\$D\toolbar.obj \
520 ..\os2\$D\tooltip.obj \
521 ..\os2\$D\utils.obj \
522 ..\os2\$D\utilsexc.obj \
524 ..\os2\$D\window.obj \
525 ..\os2\$D\xpmhand.obj
612 ..\html\$D\helpctrl.obj \
613 ..\html\$D\helpdata.obj \
614 ..\html\$D\helpfrm.obj \
615 ..\html\$D\htmlcell.obj \
616 ..\html\$D\htmlfilt.obj \
617 ..\html\$D\htmlpars.obj \
618 ..\html\$D\htmltag.obj \
619 ..\html\$D\htmlwin.obj \
620 ..\html\$D\htmprint.obj \
621 ..\html\$D\m_dflist.obj \
622 ..\html\$D\m_fonts.obj \
623 ..\html\$D\m_hline.obj \
624 ..\html\$D\m_image.obj \
625 ..\html\$D\m_layout.obj \
626 ..\html\$D\m_links.obj \
627 ..\html\$D\m_list.obj \
628 ..\html\$D\m_meta.obj \
629 ..\html\$D\m_pre.obj \
630 ..\html\$D\m_tables.obj \
631 ..\html\$D\winpars.obj
655 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
656 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
658 # Normal, static library
659 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
661 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
664 test: $(OS2DIR)\$D\wave.obj
665 test2: ..\common\Debug\config.obj
667 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
668 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
670 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
671 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
674 copy ..\common\$D\appcmn.obj
675 copy ..\common\$D\bmpbase.obj
676 copy ..\common\$D\choiccmn.obj
677 copy ..\common\$D\clipcmn.obj
678 copy ..\common\$D\cmdline.obj
679 copy ..\common\$D\cmndata.obj
680 copy ..\common\$D\cmdproc.obj
681 copy ..\common\$D\config.obj
682 copy ..\common\$D\cshelp.obj
683 copy ..\common\$D\ctrlcmn.obj
684 copy ..\common\$D\ctrlsub.obj
685 copy ..\common\$D\datetime.obj
686 copy ..\common\$D\datstrm.obj
687 copy ..\common\$D\db.obj
688 copy ..\common\$D\dbgrid.obj
689 copy ..\common\$D\dbtable.obj
690 copy ..\common\$D\dcbase.obj
691 copy ..\common\$D\dlgcmn.obj
692 copy ..\common\$D\dircmn.obj
693 copy ..\common\$D\dndcmn.obj
694 copy ..\common\$D\dobjcmn.obj
695 copy ..\common\$D\docmdi.obj
696 copy ..\common\$D\docview.obj
697 copy ..\common\$D\dynarray.obj
698 copy ..\common\$D\dynlib.obj
699 copy ..\common\$D\effects.obj
700 copy ..\common\$D\encconv.obj
701 copy ..\common\$D\event.obj
702 copy ..\common\$D\extended.obj
703 copy ..\common\$D\fddlgcmn.obj
704 copy ..\common\$D\ffile.obj
705 copy ..\common\$D\file.obj
706 copy ..\common\$D\fileconf.obj
707 copy ..\common\$D\filefn.obj
708 copy ..\common\$D\filename.obj
709 copy ..\common\$D\filesys.obj
710 copy ..\common\$D\fontcmn.obj
711 copy ..\common\$D\fontmap.obj
712 copy ..\common\$D\framecmn.obj
713 copy ..\common\$D\fs_inet.obj
714 copy ..\common\$D\fs_mem.obj
715 copy ..\common\$D\fs_zip.obj
716 copy ..\common\$D\ftp.obj
717 copy ..\common\$D\gaugecmn.obj
720 copy ..\common\$D\gdicmn.obj
721 copy ..\common\$D\geometry.obj
722 copy ..\common\$D\gifdecod.obj
723 copy ..\common\$D\hash.obj
724 copy ..\common\$D\helpbase.obj
725 copy ..\common\$D\http.obj
726 copy ..\common\$D\imagall.obj
727 copy ..\common\$D\imagbmp.obj
728 copy ..\common\$D\image.obj
729 copy ..\common\$D\imaggif.obj
730 copy ..\common\$D\imagjpeg.obj
731 copy ..\common\$D\imagpcx.obj
732 copy ..\common\$D\imagpng.obj
733 copy ..\common\$D\imagpnm.obj
734 copy ..\common\$D\imagtiff.obj
735 copy ..\common\$D\imagxpm.obj
736 copy ..\common\$D\intl.obj
737 copy ..\common\$D\ipcbase.obj
738 copy ..\common\$D\layout.obj
739 copy ..\common\$D\lboxcmn.obj
740 copy ..\common\$D\list.obj
741 copy ..\common\$D\log.obj
742 copy ..\common\$D\longlong.obj
743 copy ..\common\$D\matrix.obj
744 copy ..\common\$D\memory.obj
745 copy ..\common\$D\menucmn.obj
746 copy ..\common\$D\mimecmn.obj
747 copy ..\common\$D\module.obj
748 copy ..\common\$D\mstream.obj
749 copy ..\common\$D\nbkbase.obj
750 copy ..\common\$D\object.obj
751 copy ..\common\$D\objstrm.obj
752 copy ..\common\$D\odbc.obj
753 copy ..\common\$D\paper.obj
754 copy ..\common\$D\popupcmn.obj
755 copy ..\common\$D\prntbase.obj
756 copy ..\common\$D\process.obj
757 copy ..\common\$D\protocol.obj
758 copy ..\common\$D\quantize.obj
759 copy ..\common\$D\radiocmn.obj
760 copy ..\common\$D\regex.obj
761 copy ..\common\$D\resource.obj
764 copy ..\common\$D\sckaddr.obj
765 copy ..\common\$D\sckfile.obj
766 copy ..\common\$D\sckipc.obj
767 copy ..\common\$D\sckstrm.obj
768 copy ..\common\$D\serbase.obj
769 copy ..\common\$D\sizer.obj
770 copy ..\common\$D\socket.obj
771 copy ..\common\$D\strconv.obj
772 copy ..\common\$D\stream.obj
773 copy ..\common\$D\string.obj
774 copy ..\common\$D\sysopt.obj
775 copy ..\common\$D\tbarbase.obj
776 copy ..\common\$D\textcmn.obj
777 copy ..\common\$D\textfile.obj
778 copy ..\common\$D\timercmn.obj
779 copy ..\common\$D\tokenzr.obj
780 copy ..\common\$D\treebase.obj
781 copy ..\common\$D\txtstrm.obj
782 copy ..\common\$D\unzip.obj
783 copy ..\common\$D\url.obj
784 copy ..\common\$D\utilscmn.obj
785 copy ..\common\$D\valgen.obj
786 copy ..\common\$D\validate.obj
787 copy ..\common\$D\valtext.obj
788 copy ..\common\$D\variant.obj
789 copy ..\common\$D\wfstream.obj
790 copy ..\common\$D\wincmn.obj
791 copy ..\common\$D\wxchar.obj
792 copy ..\common\$D\wxexpr.obj
793 copy ..\common\$D\xpmdecod.obj
794 copy ..\common\$D\y_tab.obj
795 copy ..\common\$D\zipstrm.obj
796 copy ..\common\$D\zstream.obj
799 copy ..\generic\$D\busyinfo.obj
800 copy ..\generic\$D\calctrl.obj
801 copy ..\generic\$D\caret.obj
802 copy ..\generic\$D\choicdgg.obj
803 copy ..\generic\$D\colrdlgg.obj
804 copy ..\generic\$D\dragimgg.obj
805 copy ..\generic\$D\dcpsg.obj
806 copy ..\generic\$D\dirctrlg.obj
807 copy ..\generic\$D\fontdlgg.obj
808 copy ..\generic\$D\fdrepdlg.obj
809 copy ..\generic\$D\grid.obj
810 copy ..\generic\$D\gridctrl.obj
811 copy ..\generic\$D\gridsel.obj
812 copy ..\generic\$D\helpext.obj
813 copy ..\generic\$D\helphtml.obj
814 copy ..\generic\$D\helpwxht.obj
815 copy ..\generic\$D\helpxlp.obj
816 copy ..\generic\$D\imaglist.obj
817 copy ..\generic\$D\laywin.obj
818 copy ..\generic\$D\listctrl.obj
819 copy ..\generic\$D\logg.obj
820 copy ..\generic\$D\numdlgg.obj
821 copy ..\generic\$D\panelg.obj
822 copy ..\generic\$D\printps.obj
823 copy ..\generic\$D\prntdlgg.obj
824 copy ..\generic\$D\progdlgg.obj
825 copy ..\generic\$D\prop.obj
826 copy ..\generic\$D\propform.obj
827 copy ..\generic\$D\proplist.obj
828 copy ..\generic\$D\sashwin.obj
829 copy ..\generic\$D\scrlwing.obj
830 copy ..\generic\$D\spinctlg.obj
831 copy ..\generic\$D\splitter.obj
832 copy ..\generic\$D\statusbr.obj
833 copy ..\generic\$D\tabg.obj
834 copy ..\generic\$D\tbarsmpl.obj
835 copy ..\generic\$D\textdlgg.obj
836 copy ..\generic\$D\tipdlg.obj
837 copy ..\generic\$D\tipwin.obj
838 copy ..\generic\$D\treectlg.obj
839 copy ..\generic\$D\treelay.obj
840 copy ..\generic\$D\wizard.obj
843 copy ..\html\$D\helpctrl.obj
844 copy ..\html\$D\helpdata.obj
845 copy ..\html\$D\helpfrm.obj
846 copy ..\html\$D\htmlcell.obj
847 copy ..\html\$D\htmlfilt.obj
848 copy ..\html\$D\htmlpars.obj
849 copy ..\html\$D\htmltag.obj
850 copy ..\html\$D\htmlwin.obj
851 copy ..\html\$D\htmprint.obj
852 copy ..\html\$D\m_dflist.obj
853 copy ..\html\$D\m_fonts.obj
854 copy ..\html\$D\m_hline.obj
855 copy ..\html\$D\m_image.obj
856 copy ..\html\$D\m_layout.obj
857 copy ..\html\$D\m_links.obj
858 copy ..\html\$D\m_list.obj
859 copy ..\html\$D\m_meta.obj
860 copy ..\html\$D\m_pre.obj
861 copy ..\html\$D\m_tables.obj
862 copy ..\html\$D\winpars.obj
865 copy ..\os2\$D\accel.obj
866 copy ..\os2\$D\app.obj
867 copy ..\os2\$D\bitmap.obj
868 copy ..\os2\$D\bmpbuttn.obj
869 copy ..\os2\$D\brush.obj
870 copy ..\os2\$D\button.obj
871 copy ..\os2\$D\checkbox.obj
872 copy ..\os2\$D\checklst.obj
873 copy ..\os2\$D\choice.obj
874 copy ..\os2\$D\clipbrd.obj
875 copy ..\os2\$D\colour.obj
876 copy ..\os2\$D\combobox.obj
877 copy ..\os2\$D\control.obj
878 copy ..\os2\$D\cursor.obj
879 copy ..\os2\$D\data.obj
880 copy ..\os2\$D\dataobj.obj
881 copy ..\os2\$D\dc.obj
882 copy ..\os2\$D\dcclient.obj
883 copy ..\os2\$D\dcmemory.obj
884 copy ..\os2\$D\dcprint.obj
885 copy ..\os2\$D\dcscreen.obj
886 copy ..\os2\$D\dialog.obj
887 copy ..\os2\$D\dir.obj
888 copy ..\os2\$D\dirdlg.obj
889 copy ..\os2\$D\dnd.obj
890 copy ..\os2\$D\filedlg.obj
891 copy ..\os2\$D\font.obj
892 copy ..\os2\$D\fontdlg.obj
893 copy ..\os2\$D\fontenum.obj
894 copy ..\os2\$D\fontutil.obj
895 copy ..\os2\$D\frame.obj
896 copy ..\os2\$D\gauge.obj
897 copy ..\os2\$D\gdiimage.obj
898 copy ..\os2\$D\gdiobj.obj
899 copy ..\os2\$D\gsocket.obj
900 copy ..\os2\$D\gsockpm.obj
901 copy ..\os2\$D\helpwin.obj
902 copy ..\os2\$D\icon.obj
903 copy ..\os2\$D\iniconf.obj
904 copy ..\os2\$D\joystick.obj
905 copy ..\os2\$D\listbox.obj
906 copy ..\os2\$D\main.obj
907 copy ..\os2\$D\mdi.obj
908 copy ..\os2\$D\menu.obj
909 copy ..\os2\$D\menuitem.obj
912 copy ..\os2\$D\metafile.obj
913 copy ..\os2\$D\mimetype.obj
914 copy ..\os2\$D\minifram.obj
915 copy ..\os2\$D\msgdlg.obj
916 copy ..\os2\$D\nativdlg.obj
917 copy ..\os2\$D\notebook.obj
918 copy ..\os2\$D\ownerdrw.obj
919 copy ..\os2\$D\palette.obj
920 copy ..\os2\$D\pen.obj
921 copy ..\os2\$D\pnghand.obj
922 copy ..\os2\$D\print.obj
923 copy ..\os2\$D\radiobox.obj
924 copy ..\os2\$D\radiobut.obj
925 copy ..\os2\$D\region.obj
926 copy ..\os2\$D\scrolbar.obj
927 copy ..\os2\$D\settings.obj
928 copy ..\os2\$D\slider.obj
929 copy ..\os2\$D\spinbutt.obj
930 copy ..\os2\$D\spinctrl.obj
931 copy ..\os2\$D\statbmp.obj
932 copy ..\os2\$D\statbox.obj
933 copy ..\os2\$D\statline.obj
934 copy ..\os2\$D\stattext.obj
935 copy ..\os2\$D\tabctrl.obj
936 copy ..\os2\$D\taskbar.obj
937 copy ..\os2\$D\textctrl.obj
938 copy ..\os2\$D\thread.obj
939 copy ..\os2\$D\timer.obj
940 copy ..\os2\$D\toolbar.obj
941 copy ..\os2\$D\tooltip.obj
942 copy ..\os2\$D\utils.obj
943 copy ..\os2\$D\utilsexc.obj
944 copy ..\os2\$D\wave.obj
945 copy ..\os2\$D\window.obj
946 copy ..\os2\$D\xpmhand.obj
948 # wxWindows library as DLL
950 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
953 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
955 # wxWindows + app as DLL. Only affects main.cpp.
957 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
959 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
961 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
963 # Use this to make dummy.obj and generate a PCH.
964 # You might use the dll target, then the pch target, in order to
965 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
967 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
968 # are associated with wx.lib. When using a DLL version of wxWindows, however,
969 # the DLL is compiled without a PCH, so you only need it for compiling the app.
970 # In fact headers are compiled differently depending on whether a DLL is being made
971 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
972 # in each case) so you couldn't use the same PCH.
974 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
976 pch1: dirs $(DUMMYOBJ)
979 !if "$(WXMAKINGDLL)" != "1"
983 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
984 -touch $(WXDIR)\lib\wxcom1.lib
985 -del $(WXDIR)\lib\wxcom1.lib
986 ilib $(LIBFLAGS) $@ @<<
990 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
991 -touch $(WXDIR)\lib\wxcom2.lib
992 -del $(WXDIR)\lib\wxcom2.lib
993 ilib $(LIBFLAGS) $@ @<<
997 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
998 -touch $(WXDIR)\lib\wxcom3.lib
999 -del $(WXDIR)\lib\wxcom3.lib
1000 ilib $(LIBFLAGS) $@ @<<
1004 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1005 -touch $(WXDIR)\lib\wxgen.lib
1006 -del $(WXDIR)\lib\wxgen.lib
1007 ilib $(LIBFLAGS) $@ @<<
1011 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1012 -touch $(WXDIR)\lib\wxhtml.lib
1013 -del $(WXDIR)\lib\wxhtml.lib
1014 ilib $(LIBFLAGS) $@ @<<
1018 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1019 -touch $(WXDIR)\lib\wxnones.lib
1020 -del $(WXDIR)\lib\wxnones.lib
1021 ilib $(LIBFLAGS) $@ @<<
1025 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1026 -touch $(WXDIR)\lib\wxos21.lib
1027 -del $(WXDIR)\lib\wxos21.lib
1028 ilib $(LIBFLAGS) $@ @<<
1032 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1033 -touch $(WXDIR)\lib\wxos22.lib
1034 -del $(WXDIR)\lib\wxos22.lib
1035 ilib $(LIBFLAGS) $@ @<<
1040 $(WXDIR)\lib\wx.lib: \
1053 ilib $(LIBFLAGS) $@ @<<
1067 # Update the dynamic link library
1068 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1070 /B" $(LINKFLAGS)" /Fe$@
1074 $(WXDIR)\src\os2\wx23.def
1076 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1080 # If taking wxWindows from CVS, setup.h doesn't exist yet.
1081 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1082 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1083 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1085 ..\common\$D\extended.obj: ..\common\extended.c
1087 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1090 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1092 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1095 ..\common\y_tab.c: ..\common\dosyacc.c
1096 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1098 ..\common\lex_yy.c: ..\common\doslex.c
1099 copy "..\common"\doslex.c "..\common"\lex_yy.c
1101 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1103 ..\common\$D\unzip.obj: ..\common\unzip.c
1105 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1110 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1115 nmake -f makefile.va clean
1119 cd $(WXDIR)\src\zlib
1120 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1124 cd $(WXDIR)\src\zlib
1125 nmake -f makefile.va clean
1129 cd $(WXDIR)\src\jpeg
1130 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1134 cd $(WXDIR)\src\jpeg
1135 nmake -f makefile.va clean
1140 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1145 nmake -f makefile.va clean
1149 cd $(WXDIR)\src\tiff
1150 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1154 cd $(WXDIR)\src\tiff
1155 nmake -f makefile.va clean
1158 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
1159 erase /N $(GENDIR)\$D\*.obj
1160 erase /N $(COMMDIR)\$D\*.obj
1161 erase /N $(HTMLDIR)\$D\*.obj
1162 erase /N $(OS2DIR)\$D\*.obj
1169 !if "$(WXMAKINGDLL)" == "1"
1170 erase /N ..\..\lib\wx23.lib
1172 erase /N $(COMMDIR)\y_tab.c
1173 erase /N $(COMMDIR)\lex_yy.c