home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / ibmcpp / cfgibm.mkh < prev    next >
Text File  |  1999-03-07  |  4KB  |  105 lines

  1. #===============================================================
  2. # V Make Configuration file - Version 1.21 - 2/28/99
  3. # For OS/2 IBM VA++ 3.0
  4. #
  5. # Note: assumes nmake is being used (doesn't work with Gnu make)
  6. #
  7. # Copyright (C) 1998, 1999  Jon B. Hacker
  8. #
  9. # This file is part of the V C++ GUI Framework, and is covered
  10. # under the terms of the GNU Library General Public License,
  11. # Version 2. This library has NO WARRANTY. See the source file
  12. # vapp.cxx for more complete information about license terms.
  13. #===============================================================
  14.  
  15.  
  16. #---------------------------------------------------------------------
  17. # Version info
  18. #---------------------------------------------------------------------
  19. VV    =    1.21
  20. VVW    =    121
  21.  
  22. #
  23. # ---------------------------------------------------------------------------
  24. # change IBMCPP to your compiler installation directory
  25. # change VDIR to whatever your V directory structure needs
  26. # ---------------------------------------------------------------------------
  27. #
  28.  
  29. # ---------------------------------------------------------------------------
  30. # compiler installation directory
  31. IBMCPP=E:\DEVTOOLS\IBMCPP
  32.  
  33. # ---------------------------------------------------------------------------
  34. # V Gui installation directory
  35. VDIR=E:\DEVTOOLS\V
  36.  
  37. # ---------------------------------------------------------------------------
  38. # don't change anything below here unless you know what you are doing!!
  39. # ---------------------------------------------------------------------------
  40.  
  41. CC=$(IBMCPP)\BIN\ICC
  42. AR=$(IBMCPP)\BIN\ILIB
  43. LD=$(IBMCPP)\BIN\ILINK
  44. RC=$(IBMCPP)\BIN\rc
  45. # ---------------------------------------------------------------------------
  46. !IFDEF DEBUG
  47. # /O-: disable optimizer
  48. # /Oi-: turn off function inlining
  49. # /Op-: disable all stack pointer optimizations
  50. # /Ti+: generate debug code
  51. # /Gs-: generate stack probes
  52. CDEB=/O- /Op- /Oi- /Ti+ /Gs-
  53. # /DEBUG: generate debug code
  54. # /CO: generate debug code
  55. LDEB=/DEBUG /CO
  56. !ELSE
  57. # /O+: optimize code
  58. # /Oi+: turn on function inlining
  59. # /Op+: enable stack pointer optimizations
  60. # /Gs+: suppress stack probes
  61. CDEB=/O+ /Oi+ /Op+ /Gs+
  62. # /NODEBUG: do not generate debug code
  63. # /EXEPACK: exe pack
  64. LDEB=/NODEBUG /EXEPACK
  65. !ENDIF
  66. # ---------------------------------------------------------------------------
  67. VSRCDIR=$(VDIR)\SRCOS2
  68. VINCDIR=$(VDIR)\INCLUDE2\V
  69. LIBDIR=$(VDIR)\LIB\OS2
  70. INCL=-I$(VINCDIR);$(VINCDIR)\..;$(IBMCPP)\include
  71. # /G4: for >= i486
  72. # /Sp1: pack data member alignment (1)
  73. # /Gd-: use static version of runtime library
  74. # /Ge+: assume .exe to be build (NOT .dll)
  75. # /Ss: allow // for comments
  76. # /W3: warning level 3
  77. # /Q: no logo
  78. CFLAGS=$(CDEB) /G4 /Gd- /Ge+ /Sp1 /Ss /W3 /Q $(INCL)
  79. # /NOFREE:
  80. # /NOL: no logo
  81. # /NOBROWSE: no browser informations
  82. # /NOE: no extended dictionary
  83. # /PMTYPE: type of application
  84. LFLAGS=/NOFREE $(LDEB) /NOL /NOBROWSE /NOE /PMTYPE:PM
  85. LIB=$(LIBDIR);$(IBMCPP)\LIB
  86. # /NOL: no logo
  87. # /NOBROWSE: no browser informations
  88. # /NOE: no extended dictionary
  89. ARFLAGS=/NOL /NOBROWSE /NOE
  90. # -n: no logo
  91. # -I: include directories
  92. RFLAGS=-n 
  93. # ---------------------------------------------------------------------------
  94. !IFDEF DEBUG
  95. VLIB=$(LIBDIR)\vibmcppd.lib
  96. !ELSE
  97. VLIB=$(LIBDIR)\vibmcpp.lib
  98. !ENDIF
  99. # cppos30: static single threaded runtime library (see compiler switches too!)
  100. # cppom30: static multi threaded runtime library (see compiler switches too!)
  101. LIBS=$(VLIB) opengl.lib libaux.lib cppos30.lib os2386.lib
  102. # ---------------------------------------------------------------------------
  103. BINDIR=$(VDIR)\BIN\OS2\IBMCPP
  104. OBJDIR=$(VDIR)\OBJ\OS2\IBMCPP
  105.