]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeva.env
compilation fix for DJGPP
[wxWidgets.git] / src / makeva.env
index 3c92b8ddc590e058ceca291c1eec4b929f90daee..eafd3a48a13334f365a9c66daac9448cfd5258db 100644 (file)
@@ -19,9 +19,9 @@ OS2LIBFLAGS=/NOL /NOE
 WXDIR=$(WXWIN)
 
 # Set to where your UPM and LAN libs are
-UPMLIB=D:\MUGLIB
-NETLIB=D:\IBMLAN\NETSRC\LIB
-TCPIP=D:\TCPIP\LIB
+UPMLIB=C:\OS2TK45\LIB
+NETLIB=C:\OS2TK45\LIB
+TCPIP=C:\OS2TK45\LIB
 
 WXSRC=$(WXDIR)\src\os2
 WXINC=$(WXDIR)\include
@@ -37,9 +37,9 @@ RC=rc
 #--------------------------------------------------------------------
 # Normal application    -            -           -            wx.lib
 #
-# wxWin as DLL          Defined      -           Defined      wx22.lib
+# wxWin as DLL          Defined      -           Defined      wx23.lib
 #
-# App using wxWin DLL   -            Defined     -            wx22.lib
+# App using wxWin DLL   -            Defined     -            wx23.lib
 #
 # App built as one DLL  Defined      -           -            wx.lib
 #
@@ -91,7 +91,7 @@ DLL=0
 # wx200 (DLL release), wx200_d (DLL debug)
 
 !if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
-WXLIBNAME=wx22
+WXLIBNAME=wx23
 !else
 WXLIBNAME=wx
 !endif
@@ -116,13 +116,16 @@ D=DebugOS2
 
 WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib
 
-INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(EXTRAINC)
-!if "$(WXMAKINGDLL)" == "1"
-LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB
+INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(WXDIR)/src/xpm -I$(WXDIR)/src/tiff -I$(WXDIR)/src/png -I$(EXTRAINC)
+!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
+LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB $(TCPIP)\TCPIP32.LIB $(TCPIP)\R0LIB32.LIB
 EXTRALIBS=$(WXDIR)\lib\os2pngd.lib $(WXDIR)\lib\os2zlibd.lib $(WXDIR)\lib\os2jpegd.lib $(WXDIR)\lib\os2xpmd.lib $(WXDIR)\lib\os2tiffd.lib
+!if "$(WXUSINGDLL)" == "1"
+EXTRALIBS=$(EXTRALIBS) $(WXLIB)
+!endif
 LIBS=$(LINKLIBS) $(EXTRALIBS)
 !else
-LINKLIBS=CPPOM30.LIB CPPOOC3.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB
+LINKLIBS=CPPOM30.LIB CPPOOC3.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB $(TCPIP)\TCPIP32.LIB $(TCPIP)\R0LIB32.LIB
 EXTRALIBS=$(WXDIR)\lib\os2png.lib $(WXDIR)\lib\os2zlib.lib $(WXDIR)\lib\os2jpeg.lib $(WXDIR)\lib\os2xpm.lib $(WXDIR)\lib\os2tiff.lib
 LIBS=$(WXLIB) $(LINKLIBS) $(EXTRALIBS)
 !endif