From: Václav Slavík Date: Thu, 17 Jan 2002 19:38:20 +0000 (+0000) Subject: wxMGL Watcom makefiles fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84664b46847e0766703af94a062ab3f3ba934906?ds=sidebyside wxMGL Watcom makefiles fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mgl/makefile.wat b/src/mgl/makefile.wat index 6f0a6912ed..faaf8da493 100644 --- a/src/mgl/makefile.wat +++ b/src/mgl/makefile.wat @@ -1,6 +1,6 @@ #!/binb/wmake.exe -# This file was automatically generated by tmake at 16:57, 2002/01/15 +# This file was automatically generated by tmake at 11:57, 2002/01/17 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T! # @@ -142,7 +142,6 @@ COMMONOBJS = & hash.obj & helpbase.obj & http.obj & - iffdecod.obj & imagall.obj & imagbmp.obj & image.obj & @@ -302,7 +301,16 @@ HTMLOBJS = helpctrl.obj & # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MGLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS) $(HTMLOBJS) -all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC +SETUP_H=$(ARCHINCDIR)\wx\setup.h + +all: $(SETUP_H) $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC + +$(ARCHINCDIR)\wx: + mkdir $(ARCHINCDIR) + mkdir $(ARCHINCDIR)\wx + +$(SETUP_H): $(WXDIR)\include\wx\mgl\setup.h $(ARCHINCDIR)\wx + copy $(WXDIR)\include\wx\mgl\setup.h $@ $(LIBTARGET) : $(OBJECTS) %create tmp.lbc @@ -675,9 +683,6 @@ helpbase.obj: $(COMMDIR)\helpbase.cpp http.obj: $(COMMDIR)\http.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< -iffdecod.obj: $(COMMDIR)\iffdecod.cpp - *$(CCC) $(CPPFLAGS) $(IFLAGS) $< - imagall.obj: $(COMMDIR)\imagall.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< diff --git a/src/mgl/makewat.env b/src/mgl/makewat.env index 2a552d4ca9..c80a02fb60 100644 --- a/src/mgl/makewat.env +++ b/src/mgl/makewat.env @@ -38,9 +38,11 @@ PRECOMP = /fh=$(WXDIR)\src\mgl\watcom.pch !ifeq FINAL 0 DEBUGFLAGS = /D__WXDEBUG__ /d2 DEBUGINFO = debug all +ARCHINCDIR=$(WXDIR)\lib\mgld !else DEBUGFLAGS = DEBUGINFO = +ARCHINCDIR=$(WXDIR)\lib\mgl !endif LEVEL = 386 @@ -56,7 +58,7 @@ MAXDATA = STACK = option stack=200k LIBS = $(WXDIR)\lib\wx.lib $(WXDIR)\lib\regex.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)\lib\tiff.lib $(WXDIR)\lib\jpeg.lib & $(MGLLIBDIR)\dos4gw\pm.lib $(MGLLIBDIR)\mgl.lib $(MGLLIBDIR)\mglcpp.lib -IFLAGS = -i=$(WXDIR)\lib\mgl;$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\dos;$(WXDIR)\src\regex;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\src\tiff +IFLAGS = -i=$(ARCHINCDIR);$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\dos;$(WXDIR)\src\regex;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\src\tiff ;$(MGLROOT)\include # Here are some possible optimization flags: