PageRenderTime 66ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/ref-config/WINNT5.2.mk

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Makefile | 118 lines | 36 code | 16 blank | 66 comment | 0 complexity | 47397a48d7dc89e41b65e4dffb604ab9 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. # -*- Mode: makefile -*-
  2. #
  3. # ***** BEGIN LICENSE BLOCK *****
  4. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5. #
  6. # The contents of this file are subject to the Mozilla Public License Version
  7. # 1.1 (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. # http://www.mozilla.org/MPL/
  10. #
  11. # Software distributed under the License is distributed on an "AS IS" basis,
  12. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13. # for the specific language governing rights and limitations under the
  14. # License.
  15. #
  16. # The Original Code is Mozilla Communicator client code, released
  17. # March 31, 1998.
  18. #
  19. # The Initial Developer of the Original Code is
  20. # Netscape Communications Corporation.
  21. # Portions created by the Initial Developer are Copyright (C) 1998
  22. # the Initial Developer. All Rights Reserved.
  23. #
  24. # Contributor(s):
  25. #
  26. # Alternatively, the contents of this file may be used under the terms of
  27. # either the GNU General Public License Version 2 or later (the "GPL"), or
  28. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29. # in which case the provisions of the GPL or the LGPL are applicable instead
  30. # of those above. If you wish to allow use of your version of this file only
  31. # under the terms of either the GPL or the LGPL, and not to allow others to
  32. # use your version of this file under the terms of the MPL, indicate your
  33. # decision by deleting the provisions above and replace them with the notice
  34. # and other provisions required by the GPL or the LGPL. If you do not delete
  35. # the provisions above, a recipient may use your version of this file under
  36. # the terms of any one of the MPL, the GPL or the LGPL.
  37. #
  38. # ***** END LICENSE BLOCK *****
  39. #
  40. # Config for Windows NT using MS Visual C++ (version?)
  41. #
  42. CC = cl
  43. CXX = cl
  44. RANLIB = echo
  45. PDBFILE = $(basename $(@F)).pdb
  46. #.c.o:
  47. # $(CC) -c -MD $*.d $(CFLAGS) $<
  48. CPU_ARCH = x86 # XXX fixme
  49. GFX_ARCH = win32
  50. # MSVC compiler options for both debug/optimize
  51. # -nologo - suppress copyright message
  52. # -W3 - Warning level 3
  53. # -Gm - enable minimal rebuild
  54. # -Z7 - put debug info into the executable, not in .pdb file
  55. # -Zi - put debug info into .pdb file
  56. # -YX - automatic precompiled headers
  57. # -GX - enable C++ exception support
  58. WIN_CFLAGS = -nologo -W3
  59. # MSVC compiler options for debug builds linked to MSVCRTD.DLL
  60. # -MDd - link with MSVCRTD.LIB (Dynamically-linked, multi-threaded, debug C-runtime)
  61. # -Od - minimal optimization
  62. WIN_IDG_CFLAGS = -MDd -Od -Z7
  63. # MSVC compiler options for debug builds linked to MSVCRT.DLL
  64. # -MD - link with MSVCRT.LIB (Dynamically-linked, multi-threaded, debug C-runtime)
  65. # -Od - minimal optimization
  66. WIN_DEBUG_CFLAGS = -MD -Od -Zi -Fd$(OBJDIR)/$(PDBFILE)
  67. # MSVC compiler options for release (optimized) builds
  68. # -MD - link with MSVCRT.LIB (Dynamically-linked, multi-threaded, C-runtime)
  69. # -O2 - Optimize for speed
  70. # -G5 - Optimize for Pentium
  71. WIN_OPT_CFLAGS = -MD -O2
  72. ifdef BUILD_OPT
  73. OPTIMIZER = $(WIN_OPT_CFLAGS)
  74. else
  75. ifdef BUILD_IDG
  76. OPTIMIZER = $(WIN_IDG_CFLAGS)
  77. else
  78. OPTIMIZER = $(WIN_DEBUG_CFLAGS)
  79. endif
  80. endif
  81. OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -DWINVER=0x500 -D_WIN32_WINNT=0x500 $(WIN_CFLAGS) -DAVMPLUS_WIN32 -DAVMPLUS_IA32
  82. JSDLL_CFLAGS = -DEXPORT_JS_API
  83. OS_LIBS = -lm -lc
  84. PREBUILT_CPUCFG = 1
  85. USE_MSVC = 1
  86. LIB_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  87. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib \
  88. winmm.lib \
  89. -nologo\
  90. -subsystem:windows -dll -debug -pdb:$(OBJDIR)/$(PDBFILE)\
  91. -machine:I386\
  92. -opt:ref -opt:noicf
  93. EXE_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  94. advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib -nologo\
  95. -subsystem:console -debug -pdb:$(OBJDIR)/$(PDBFILE)\
  96. -machine:I386\
  97. -opt:ref -opt:noicf
  98. # CAFEDIR = t:/cafe
  99. # JCLASSPATH = $(CAFEDIR)/Java/Lib/classes.zip
  100. # JAVAC = $(CAFEDIR)/Bin/sj.exe
  101. # JAVAH = $(CAFEDIR)/Java/Bin/javah.exe
  102. # JCFLAGS = -I$(CAFEDIR)/Java/Include -I$(CAFEDIR)/Java/Include/win32