home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / config / WIN16 < prev    next >
Encoding:
Text File  |  1998-04-08  |  3.4 KB  |  114 lines

  1. # The contents of this file are subject to the Netscape Public License
  2. # Version 1.0 (the "NPL"); you may not use this file except in
  3. # compliance with the NPL.  You may obtain a copy of the NPL at
  4. # http://www.mozilla.org/NPL/
  5. #
  6. # Software distributed under the NPL is distributed on an "AS IS" basis,
  7. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  8. # for the specific language governing rights and limitations under the
  9. # NPL.
  10. #
  11. # The Initial Developer of this code under the NPL is Netscape
  12. # Communications Corporation.  Portions created by Netscape are
  13. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  14. # Reserved.
  15.  
  16. #//------------------------------------------------------------------------
  17. #//
  18. #// Win16 Configuration file
  19. #//
  20. #//------------------------------------------------------------------------
  21.  
  22. #//------------------------------------------------------------------------
  23. #//
  24. #// Define the OS dependent commands used by MAKE
  25. #//
  26. #//------------------------------------------------------------------------
  27. CC=cl
  28. LD=$(MOZ_TOOLS)\bin\optlinks.exe
  29. AR=$(DEPTH)\CONFIG\TLIB.EXE /P64 /C
  30. #AR=lib /NOLOGO /BATCH /NOIGNORECASE
  31. RC=rc
  32. #RM=del /F /Q
  33. #RM_R=del /F /S /Q
  34. RM=rm -f
  35. RM_R=rm -fr
  36. CP=cp
  37. AWK=$(MOZ_TOOLS)\bin\gawk.exe
  38. RANLIB=$(DEPTH)\config\true.bat
  39. !ifndef MOZ_DEBUG
  40. JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_o.obj\bin\javah.exe
  41. !else
  42. JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_d.obj\bin\javah.exe
  43. !endif
  44.  
  45. #//------------------------------------------------------------------------
  46. #//
  47. #// Define Debug and optimization flags
  48. #//
  49. #//------------------------------------------------------------------------
  50. !ifndef MOZ_DEBUG 
  51. !ifndef OPTIMIZER
  52. OPTIMIZER=-Ox -Os -DDEVELOPER_DEBUG
  53. !endif
  54. OS_LFLAGS=
  55. !else
  56. !if defined(MOZ_FULL_DEBUG_INFO) || ("$(MAKE_OBJ_TYPE)" == "DLL")
  57. OPTIMIZER=-Z7
  58. !else if defined(MOZ_DEBUG_FLAG)
  59. OPTIMIZER=$(MOZ_DEBUG_FLAG)
  60. !else
  61. OPTIMIZER=-Zd
  62. !endif
  63. OPTIMIZER=$(OPTIMIZER) -Od -DDEBUG -UNDEBUG
  64. OS_LFLAGS=/CO
  65. !endif
  66. !if defined (MOZ_LITE)
  67. OPTIMIZER=$(OPTIMIZER) -DMOZ_LITE
  68. !endif
  69. #//------------------------------------------------------------------------
  70. #//
  71. #// Specify the OS dependent compiler flags, linker flags and libraries
  72. #//
  73. #//------------------------------------------------------------------------
  74. !ifdef 286_INSTRUCTIONS
  75. INSTRUCTIONS=-G2
  76. !else
  77. INSTRUCTIONS=-G3
  78. !endif
  79. OS_CFLAGS=$(INSTRUCTIONS) -AL -Gx- -Gf -Gd -Gs -W3 -nologo \
  80. !ifdef MOZ_JAVA
  81.             -DSEG_ARRAY \
  82. !endif
  83.             -D_X86_ -D_WINDOWS -DXP_PC -DSW_THREADS
  84.  
  85.  
  86. OS_LFLAGS=$(OS_LFLAGS) /NOE /NOD /NOI /XNOI \
  87.            /ALIGN:16 /BYORDINAL /FARCALL \
  88.            /PACKC:61440 /PACKD /REORDERSEGMENTS \
  89.            /DETAILEDMAP /XREF /ONERROR:NOEXE /NOLOGO /WARNDUPS
  90.  
  91. OS_LIBS=LIBW.LIB TOOLHELP.LIB 
  92.  
  93.  
  94. #//------------------------------------------------------------------------
  95. #//
  96. #// Specify the special flags for creating EXEs
  97. #//
  98. #//------------------------------------------------------------------------
  99. EXE_CFLAGS=/GA /Gt3 
  100. EXE_LFLAGS=/STACK:20000
  101. EXE_LIBS=OLDNAMES.LIB LLIBCEW.LIB
  102.  
  103. #//------------------------------------------------------------------------
  104. #//
  105. #// Specify the special flags for creating DLLs
  106. #//
  107. #//------------------------------------------------------------------------
  108. !ifndef DLL_CFLAGS
  109. DLL_CFLAGS=/GD /D "_WINDLL"
  110. !endif
  111. DLL_LFLAGS=
  112. DLL_LIBS=OLDNAMES.LIB LDLLCEW.LIB
  113.  
  114.