]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeva.env
fixed Cyrillic encodings
[wxWidgets.git] / src / makeva.env
index 481f40869bd8b87818b6be6224b4de83e9cb0632..3c92b8ddc590e058ceca291c1eec4b929f90daee 100644 (file)
@@ -15,8 +15,13 @@ OS2FLAGS=/c /W3 /D__VISAGECPP__ /Ss /Q /N100
 OS2LINKFLAGS=/BASE:0x00010000 /PMTYPE:PM /NOE /NOD /ALIGN:16
 OS2LIBFLAGS=/NOL /NOE
 
-# Change this to your WXWIN directory
-WXDIR=j:\dev\Wx2\wxwindows
+# Set an environment variable, WXWIN, to your WXWIN directory
+WXDIR=$(WXWIN)
+
+# Set to where your UPM and LAN libs are
+UPMLIB=D:\MUGLIB
+NETLIB=D:\IBMLAN\NETSRC\LIB
+TCPIP=D:\TCPIP\LIB
 
 WXSRC=$(WXDIR)\src\os2
 WXINC=$(WXDIR)\include
@@ -32,9 +37,9 @@ RC=rc
 #--------------------------------------------------------------------
 # Normal application    -            -           -            wx.lib
 #
-# wxWin as DLL          Defined      -           Defined      wx200.lib
+# wxWin as DLL          Defined      -           Defined      wx22.lib
 #
-# App using wxWin DLL   -            Defined     -            wx200.lib
+# App using wxWin DLL   -            Defined     -            wx22.lib
 #
 # App built as one DLL  Defined      -           -            wx.lib
 #
@@ -86,7 +91,7 @@ DLL=0
 # wx200 (DLL release), wx200_d (DLL debug)
 
 !if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
-WXLIBNAME=wx200
+WXLIBNAME=wx22
 !else
 WXLIBNAME=wx
 !endif
@@ -96,22 +101,31 @@ WXLIBNAME=$(NEW_WXLIBNAME)
 !endif
 
 !if "$(FINAL)" == "1"
+!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
+D=RelseOS2DLL
+!else
 D=RelseOS2
+!endif
+!else
+!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
+D=DebugOS2DLL
 !else
 D=DebugOS2
 !endif
-
-WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib
-
-!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
-D=$(D)DLL
 !endif
 
+WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib
 
 INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(EXTRAINC)
-LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB UPM32.LIB NETAPI32.LIB
-EXTRALIBS=$(WXDIR)\lib\os2png.lib $(WXDIR)\lib\os2zlib.lib $(WXDIR)\lib\os2jpeg.lib $(WXDIR)\lib\os2xpm.lib
-LIBS=$(WXLIB) $(EXTRALIBS)
+!if "$(WXMAKINGDLL)" == "1"
+LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.LIB
+EXTRALIBS=$(WXDIR)\lib\os2pngd.lib $(WXDIR)\lib\os2zlibd.lib $(WXDIR)\lib\os2jpegd.lib $(WXDIR)\lib\os2xpmd.lib $(WXDIR)\lib\os2tiffd.lib
+LIBS=$(LINKLIBS) $(EXTRALIBS)
+!else
+LINKLIBS=CPPOM30.LIB CPPOOC3.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB $(TCPIP)\TCP32DLL.LIB $(TCPIP)\SO32DLL.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
 
 MAKEPRECOMP=/FiWX/WXPREC.H
 OPTIONS=
@@ -146,11 +160,16 @@ CPPFLAGS=$(OS2FLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(EXTRAFLAGS) /D__WXPM__ $(INC) $
 # If you don't include wxprec.h, use CPPFLAGS2
 CPPFLAGS2=$(OS2FLAGS) $(DEBUG_FLAGS) /D__WXPM__ $(INC) $(EXTRAFLAGS) $(OPT) $(EXTRADLLFLAGS) $(CRTFLAG) $(OVERRIDEFLAGS)
 LINKFLAGS=$(OS2LINKFLAGS) $(LINK_DEBUG_FLAGS) $(EXTRALNKFLAGS)
+
+!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
+DUMMY=dummydll
+!else
 DUMMY=dummy
+!endif
 
 !else
 
-!if "$(WXMAKINGDLL)" == "1"
+!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
 PCH=$(WXLIBNAME).pch
 DUMMY=dummydll
 !else