Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

231 lines
5.5 KiB

  1. # Microsoft Developer Studio Generated NMAKE File, Based on hello.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=Hello - Win32 Release
  4. !MESSAGE No configuration specified. Defaulting to Hello - Win32 Release.
  5. !ENDIF
  6. !IF "$(CFG)" != "Hello - Win32 Release" && "$(CFG)" != "Hello - Win32 Debug"
  7. !MESSAGE Invalid configuration "$(CFG)" specified.
  8. !MESSAGE You can specify a configuration when running NMAKE
  9. !MESSAGE by defining the macro CFG on the command line. For example:
  10. !MESSAGE
  11. !MESSAGE NMAKE /f "hello.mak" CFG="Hello - Win32 Release"
  12. !MESSAGE
  13. !MESSAGE Possible choices for configuration are:
  14. !MESSAGE
  15. !MESSAGE "Hello - Win32 Release" (based on "Win32 (x86) Application")
  16. !MESSAGE "Hello - Win32 Debug" (based on "Win32 (x86) Application")
  17. !MESSAGE
  18. !ERROR An invalid configuration is specified.
  19. !ENDIF
  20. !IF "$(OS)" == "Windows_NT"
  21. NULL=
  22. !ELSE
  23. NULL=nul
  24. !ENDIF
  25. !IF "$(CFG)" == "Hello - Win32 Release"
  26. OUTDIR=.\Release
  27. INTDIR=.\Release
  28. # Begin Custom Macros
  29. OutDir=.\Release
  30. # End Custom Macros
  31. ALL : "$(OUTDIR)\hello.exe"
  32. CLEAN :
  33. -@erase "$(INTDIR)\hello.obj"
  34. -@erase "$(INTDIR)\hello.pch"
  35. -@erase "$(INTDIR)\hello.res"
  36. -@erase "$(INTDIR)\stdafx.obj"
  37. -@erase "$(INTDIR)\vc60.idb"
  38. -@erase "$(OUTDIR)\hello.exe"
  39. "$(OUTDIR)" :
  40. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  41. CPP=cl.exe
  42. CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  43. .c{$(INTDIR)}.obj::
  44. $(CPP) @<<
  45. $(CPP_PROJ) $<
  46. <<
  47. .cpp{$(INTDIR)}.obj::
  48. $(CPP) @<<
  49. $(CPP_PROJ) $<
  50. <<
  51. .cxx{$(INTDIR)}.obj::
  52. $(CPP) @<<
  53. $(CPP_PROJ) $<
  54. <<
  55. .c{$(INTDIR)}.sbr::
  56. $(CPP) @<<
  57. $(CPP_PROJ) $<
  58. <<
  59. .cpp{$(INTDIR)}.sbr::
  60. $(CPP) @<<
  61. $(CPP_PROJ) $<
  62. <<
  63. .cxx{$(INTDIR)}.sbr::
  64. $(CPP) @<<
  65. $(CPP_PROJ) $<
  66. <<
  67. MTL=midl.exe
  68. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
  69. RSC=rc.exe
  70. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "NDEBUG"
  71. BSC32=bscmake.exe
  72. BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
  73. BSC32_SBRS= \
  74. LINK32=link.exe
  75. LINK32_FLAGS=c:\nt\public\sdk\lib\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcw.lib libcmt.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\hello.pdb" /machine:I386 /nodefaultlib /out:"$(OUTDIR)\hello.exe"
  76. LINK32_OBJS= \
  77. "$(INTDIR)\hello.obj" \
  78. "$(INTDIR)\stdafx.obj" \
  79. "$(INTDIR)\hello.res"
  80. "$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  81. $(LINK32) @<<
  82. $(LINK32_FLAGS) $(LINK32_OBJS)
  83. <<
  84. !ELSEIF "$(CFG)" == "Hello - Win32 Debug"
  85. OUTDIR=.\Debug
  86. INTDIR=.\Debug
  87. # Begin Custom Macros
  88. OutDir=.\Debug
  89. # End Custom Macros
  90. ALL : "$(OUTDIR)\hello.exe"
  91. CLEAN :
  92. -@erase "$(INTDIR)\hello.obj"
  93. -@erase "$(INTDIR)\hello.pch"
  94. -@erase "$(INTDIR)\hello.res"
  95. -@erase "$(INTDIR)\stdafx.obj"
  96. -@erase "$(INTDIR)\vc60.idb"
  97. -@erase "$(INTDIR)\vc60.pdb"
  98. -@erase "$(OUTDIR)\hello.exe"
  99. -@erase "$(OUTDIR)\hello.ilk"
  100. -@erase "$(OUTDIR)\hello.pdb"
  101. "$(OUTDIR)" :
  102. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  103. CPP=cl.exe
  104. CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yu"Stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  105. .c{$(INTDIR)}.obj::
  106. $(CPP) @<<
  107. $(CPP_PROJ) $<
  108. <<
  109. .cpp{$(INTDIR)}.obj::
  110. $(CPP) @<<
  111. $(CPP_PROJ) $<
  112. <<
  113. .cxx{$(INTDIR)}.obj::
  114. $(CPP) @<<
  115. $(CPP_PROJ) $<
  116. <<
  117. .c{$(INTDIR)}.sbr::
  118. $(CPP) @<<
  119. $(CPP_PROJ) $<
  120. <<
  121. .cpp{$(INTDIR)}.sbr::
  122. $(CPP) @<<
  123. $(CPP_PROJ) $<
  124. <<
  125. .cxx{$(INTDIR)}.sbr::
  126. $(CPP) @<<
  127. $(CPP_PROJ) $<
  128. <<
  129. MTL=midl.exe
  130. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
  131. RSC=rc.exe
  132. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\hello.res" /d "_DEBUG"
  133. BSC32=bscmake.exe
  134. BSC32_FLAGS=/nologo /o"$(OUTDIR)\hello.bsc"
  135. BSC32_SBRS= \
  136. LINK32=link.exe
  137. LINK32_FLAGS=c:\nt\public\sdk\lib\i386\unicows.lib kernel32.lib gdi32.lib user32.lib ole32.lib oleaut32.lib oledlg.lib shell32.lib uuid.lib comctl32.lib comdlg32.lib advapi32.lib winspool.lib uafxcwd.lib libcmtd.lib /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\hello.pdb" /debug /machine:I386 /nodefaultlib /out:"$(OUTDIR)\hello.exe"
  138. LINK32_OBJS= \
  139. "$(INTDIR)\hello.obj" \
  140. "$(INTDIR)\stdafx.obj" \
  141. "$(INTDIR)\hello.res"
  142. "$(OUTDIR)\hello.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  143. $(LINK32) @<<
  144. $(LINK32_FLAGS) $(LINK32_OBJS)
  145. <<
  146. !ENDIF
  147. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  148. !IF EXISTS("hello.dep")
  149. !INCLUDE "hello.dep"
  150. !ELSE
  151. !MESSAGE Warning: cannot find "hello.dep"
  152. !ENDIF
  153. !ENDIF
  154. !IF "$(CFG)" == "Hello - Win32 Release" || "$(CFG)" == "Hello - Win32 Debug"
  155. SOURCE=.\hello.cpp
  156. "$(INTDIR)\hello.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\hello.pch"
  157. SOURCE=.\hello.rc
  158. "$(INTDIR)\hello.res" : $(SOURCE) "$(INTDIR)"
  159. $(RSC) $(RSC_PROJ) $(SOURCE)
  160. SOURCE=.\stdafx.cpp
  161. !IF "$(CFG)" == "Hello - Win32 Release"
  162. CPP_SWITCHES=/nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  163. "$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
  164. $(CPP) @<<
  165. $(CPP_SWITCHES) $(SOURCE)
  166. <<
  167. !ELSEIF "$(CFG)" == "Hello - Win32 Debug"
  168. CPP_SWITCHES=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_UNICODE" /Fp"$(INTDIR)\hello.pch" /Yc /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  169. "$(INTDIR)\stdafx.obj" "$(INTDIR)\hello.pch" : $(SOURCE) "$(INTDIR)"
  170. $(CPP) @<<
  171. $(CPP_SWITCHES) $(SOURCE)
  172. <<
  173. !ENDIF
  174. !ENDIF