home *** CD-ROM | disk | FTP | other *** search
- #===============================================================
- # V Make Configuration file - Version 1.21 - 2/28/99
- # For OS/2 IBM VA++ 3.0
- #
- # Note: assumes nmake is being used (doesn't work with Gnu make)
- #
- # Copyright (C) 1998, 1999 Jon B. Hacker
- #
- # This file is part of the V C++ GUI Framework, and is covered
- # under the terms of the GNU Library General Public License,
- # Version 2. This library has NO WARRANTY. See the source file
- # vapp.cxx for more complete information about license terms.
- #===============================================================
-
-
- #---------------------------------------------------------------------
- # Version info
- #---------------------------------------------------------------------
- VV = 1.21
- VVW = 121
-
- #
- # ---------------------------------------------------------------------------
- # change IBMCPP to your compiler installation directory
- # change VDIR to whatever your V directory structure needs
- # ---------------------------------------------------------------------------
- #
-
- # ---------------------------------------------------------------------------
- # compiler installation directory
- IBMCPP=E:\DEVTOOLS\IBMCPP
-
- # ---------------------------------------------------------------------------
- # V Gui installation directory
- VDIR=E:\DEVTOOLS\V
-
- # ---------------------------------------------------------------------------
- # don't change anything below here unless you know what you are doing!!
- # ---------------------------------------------------------------------------
-
- CC=$(IBMCPP)\BIN\ICC
- AR=$(IBMCPP)\BIN\ILIB
- LD=$(IBMCPP)\BIN\ILINK
- RC=$(IBMCPP)\BIN\rc
- # ---------------------------------------------------------------------------
- !IFDEF DEBUG
- # /O-: disable optimizer
- # /Oi-: turn off function inlining
- # /Op-: disable all stack pointer optimizations
- # /Ti+: generate debug code
- # /Gs-: generate stack probes
- CDEB=/O- /Op- /Oi- /Ti+ /Gs-
- # /DEBUG: generate debug code
- # /CO: generate debug code
- LDEB=/DEBUG /CO
- !ELSE
- # /O+: optimize code
- # /Oi+: turn on function inlining
- # /Op+: enable stack pointer optimizations
- # /Gs+: suppress stack probes
- CDEB=/O+ /Oi+ /Op+ /Gs+
- # /NODEBUG: do not generate debug code
- # /EXEPACK: exe pack
- LDEB=/NODEBUG /EXEPACK
- !ENDIF
- # ---------------------------------------------------------------------------
- VSRCDIR=$(VDIR)\SRCOS2
- VINCDIR=$(VDIR)\INCLUDE2\V
- LIBDIR=$(VDIR)\LIB\OS2
- INCL=-I$(VINCDIR);$(VINCDIR)\..;$(IBMCPP)\include
- # /G4: for >= i486
- # /Sp1: pack data member alignment (1)
- # /Gd-: use static version of runtime library
- # /Ge+: assume .exe to be build (NOT .dll)
- # /Ss: allow // for comments
- # /W3: warning level 3
- # /Q: no logo
- CFLAGS=$(CDEB) /G4 /Gd- /Ge+ /Sp1 /Ss /W3 /Q $(INCL)
- # /NOFREE:
- # /NOL: no logo
- # /NOBROWSE: no browser informations
- # /NOE: no extended dictionary
- # /PMTYPE: type of application
- LFLAGS=/NOFREE $(LDEB) /NOL /NOBROWSE /NOE /PMTYPE:PM
- LIB=$(LIBDIR);$(IBMCPP)\LIB
- # /NOL: no logo
- # /NOBROWSE: no browser informations
- # /NOE: no extended dictionary
- ARFLAGS=/NOL /NOBROWSE /NOE
- # -n: no logo
- # -I: include directories
- RFLAGS=-n
- # ---------------------------------------------------------------------------
- !IFDEF DEBUG
- VLIB=$(LIBDIR)\vibmcppd.lib
- !ELSE
- VLIB=$(LIBDIR)\vibmcpp.lib
- !ENDIF
- # cppos30: static single threaded runtime library (see compiler switches too!)
- # cppom30: static multi threaded runtime library (see compiler switches too!)
- LIBS=$(VLIB) opengl.lib libaux.lib cppos30.lib os2386.lib
- # ---------------------------------------------------------------------------
- BINDIR=$(VDIR)\BIN\OS2\IBMCPP
- OBJDIR=$(VDIR)\OBJ\OS2\IBMCPP
-