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
WXSRC=$(WXDIR)\src\os2
WXINC=$(WXDIR)\include
#--------------------------------------------------------------------
# Normal application - - - wx.lib
#
-# wxWin as DLL Defined - Defined wx200.lib
+# wxWin as DLL Defined - Defined wx214.lib
#
-# App using wxWin DLL - Defined - wx200.lib
+# App using wxWin DLL - Defined - wx214.lib
#
# App built as one DLL Defined - - wx.lib
#
# wx200 (DLL release), wx200_d (DLL debug)
!if "$(WXMAKINGDLL)" == "1" || "$(WXUSINGDLL)" == "1"
-WXLIBNAME=wx200
+WXLIBNAME=wx214
!else
WXLIBNAME=wx
!endif
INC=-I$(WXINC) -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(EXTRAINC)
-LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB UPM32.LIB NETAPI32.LIB
+LINKLIBS=CPPOM30I.LIB CPPOOC3I.LIB OS2386.LIB $(UPMLIB)\UPM32.LIB $(NETLIB)\NETAPI32.LIB
EXTRALIBS=$(WXDIR)\lib\os2png.lib $(WXDIR)\lib\os2zlib.lib $(WXDIR)\lib\os2jpeg.lib $(WXDIR)\lib\os2xpm.lib
LIBS=$(WXLIB) $(EXTRALIBS)