Leaked source code of windows server 2003
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.

260 lines
8.9 KiB

  1. # Microsoft Developer Studio Project File - Name="PragmaUnsafe" - Package Owner=<4>
  2. # Microsoft Developer Studio Generated Build File, Format Version 6.00
  3. # ** DO NOT EDIT **
  4. # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
  5. CFG=PragmaUnsafe - Win32 Debug
  6. !MESSAGE This is not a valid makefile. To build this project using NMAKE,
  7. !MESSAGE use the Export Makefile command and run
  8. !MESSAGE
  9. !MESSAGE NMAKE /f "PragmaUnsafe.mak".
  10. !MESSAGE
  11. !MESSAGE You can specify a configuration when running NMAKE
  12. !MESSAGE by defining the macro CFG on the command line. For example:
  13. !MESSAGE
  14. !MESSAGE NMAKE /f "PragmaUnsafe.mak" CFG="PragmaUnsafe - Win32 Debug"
  15. !MESSAGE
  16. !MESSAGE Possible choices for configuration are:
  17. !MESSAGE
  18. !MESSAGE "PragmaUnsafe - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  19. !MESSAGE "PragmaUnsafe - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  20. !MESSAGE
  21. # Begin Project
  22. # PROP AllowPerConfigDependencies 0
  23. # PROP Scc_ProjName "PragmaUnsafe"
  24. # PROP Scc_LocalPath "..\..\PragmaUnsafe"
  25. CPP=cl.exe
  26. MTL=midl.exe
  27. RSC=rc.exe
  28. !IF "$(CFG)" == "PragmaUnsafe - Win32 Release"
  29. # PROP BASE Use_MFC 0
  30. # PROP BASE Use_Debug_Libraries 0
  31. # PROP BASE Output_Dir "..\..\objs\Release\PragmaUnsafe"
  32. # PROP BASE Intermediate_Dir "..\..\objs\Release\PragmaUnsafe"
  33. # PROP BASE Target_Dir ""
  34. # PROP Use_MFC 0
  35. # PROP Use_Debug_Libraries 0
  36. # PROP Output_Dir "..\..\objs\Release\PragmaUnsafe"
  37. # PROP Intermediate_Dir "..\..\objs\Release\PragmaUnsafe"
  38. # PROP Ignore_Export_Lib 1
  39. # PROP Target_Dir ""
  40. # ADD BASE CPP /nologo /MT /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_UNICODE" /D "_ATL_DLL" /D "_ATL_MIN_CRT" /Yu"stdafx.h" /FD /c
  41. # ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\inc" /I "..\..\objs\Release\TLB" /I "..\..\objs\Release\PragmaUnsafe" /I "..\..\..\clients\public\langapi" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_UNICODE" /D "UNICODE" /FR /Yu"stdafx.h" /FD /EHac- /c
  42. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  43. # ADD RSC /l 0x409 /i "..\inc" /d "NDEBUG"
  44. BSC32=bscmake.exe
  45. # ADD BASE BSC32 /nologo
  46. # ADD BSC32 /nologo
  47. LINK32=link.exe
  48. # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
  49. # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib pftLib.lib /nologo /subsystem:windows /dll /debug /machine:I386 /def:".\PragmaUnsafe.def" /libpath:"..\..\objs\Release\LIB" /debugtype:cv,fixup /OPT:ICF,4 /OPT:REF
  50. # SUBTRACT LINK32 /pdb:none
  51. # Begin Custom Build - Performing registration
  52. OutDir=.\..\..\objs\Release\PragmaUnsafe
  53. TargetPath=\fast\TAC\pftplugin\prefast\objs\Release\PragmaUnsafe\PragmaUnsafe.dll
  54. InputPath=\fast\TAC\pftplugin\prefast\objs\Release\PragmaUnsafe\PragmaUnsafe.dll
  55. SOURCE="$(InputPath)"
  56. "$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  57. if "%PREFAST_NOREG%"=="1" goto SkipReg
  58. if "%OS%"=="" goto NOTNT
  59. if not "%OS%"=="Windows_NT" goto NOTNT
  60. regsvr32 /s /c "$(TargetPath)"
  61. echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
  62. goto end
  63. :NOTNT
  64. echo Warning : Cannot register Unicode DLL on Windows 95
  65. goto end
  66. :SkipReg
  67. echo Registration skipped due to environment variable PREFAST_NOREG=1
  68. goto end
  69. :end
  70. # End Custom Build
  71. !ELSEIF "$(CFG)" == "PragmaUnsafe - Win32 Debug"
  72. # PROP BASE Use_MFC 0
  73. # PROP BASE Use_Debug_Libraries 1
  74. # PROP BASE Output_Dir "..\..\objs\Debug\PragmaUnsafe"
  75. # PROP BASE Intermediate_Dir "..\..\objs\Debug\PragmaUnsafe"
  76. # PROP BASE Target_Dir ""
  77. # PROP Use_MFC 0
  78. # PROP Use_Debug_Libraries 1
  79. # PROP Output_Dir "..\..\objs\Debug\PragmaUnsafe"
  80. # PROP Intermediate_Dir "..\..\objs\Debug\PragmaUnsafe"
  81. # PROP Ignore_Export_Lib 1
  82. # PROP Target_Dir ""
  83. # ADD BASE CPP /nologo /MTd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_UNICODE" /Yu"stdafx.h" /FD /GZ /c
  84. # ADD CPP /nologo /MDd /W3 /GX /ZI /Od /I "..\inc" /I "..\..\objs\Debug\TLB" /I "..\..\objs\Debug\PragmaUnsafe" /I "..\..\..\clients\public\langapi" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_UNICODE" /D "UNICODE" /FR /Yu"stdafx.h" /FD /EHsc /GZ /c
  85. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  86. # ADD RSC /l 0x409 /i "..\inc" /d "_DEBUG"
  87. BSC32=bscmake.exe
  88. # ADD BASE BSC32 /nologo
  89. # ADD BSC32 /nologo
  90. LINK32=link.exe
  91. # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
  92. # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib pftLib.lib /nologo /subsystem:windows /dll /debug /machine:I386 /libpath:"..\..\objs\Debug\LIB"
  93. # SUBTRACT LINK32 /pdb:none
  94. # Begin Custom Build - Performing registration
  95. OutDir=.\..\..\objs\Debug\PragmaUnsafe
  96. TargetPath=\fast\TAC\pftplugin\prefast\objs\Debug\PragmaUnsafe\PragmaUnsafe.dll
  97. InputPath=\fast\TAC\pftplugin\prefast\objs\Debug\PragmaUnsafe\PragmaUnsafe.dll
  98. SOURCE="$(InputPath)"
  99. "$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  100. if "%PREFAST_NOREG%"=="1" goto SkipReg
  101. if "%OS%"=="" goto NOTNT
  102. if not "%OS%"=="Windows_NT" goto NOTNT
  103. regsvr32 /s /c "$(TargetPath)"
  104. echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
  105. goto end
  106. :NOTNT
  107. echo Warning : Cannot register Unicode DLL on Windows 95
  108. goto end
  109. :SkipReg
  110. echo Registration skipped due to environment variable PREFAST_NOREG=1
  111. goto end
  112. :end
  113. # End Custom Build
  114. !ENDIF
  115. # Begin Target
  116. # Name "PragmaUnsafe - Win32 Release"
  117. # Name "PragmaUnsafe - Win32 Debug"
  118. # Begin Group "Source Files"
  119. # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
  120. # Begin Source File
  121. SOURCE=".\PragmaUnsafe.cpp"
  122. # End Source File
  123. # Begin Source File
  124. SOURCE=".\PragmaUnsafe.def"
  125. !IF "$(CFG)" == "PragmaUnsafe - Win32 Release"
  126. # PROP Exclude_From_Build 1
  127. !ELSEIF "$(CFG)" == "PragmaUnsafe - Win32 Debug"
  128. !ENDIF
  129. # End Source File
  130. # Begin Source File
  131. SOURCE=".\PragmaUnsafe.rc"
  132. # End Source File
  133. # Begin Source File
  134. SOURCE=".\PragmaUnsafeModule.cpp"
  135. # End Source File
  136. # Begin Source File
  137. SOURCE=.\StdAfx.cpp
  138. # ADD CPP /Yc"stdafx.h"
  139. # End Source File
  140. # Begin Source File
  141. SOURCE=.\sxsplugMap.cpp
  142. # End Source File
  143. # Begin Source File
  144. SOURCE=.\sxsplugMap.h
  145. # End Source File
  146. # End Group
  147. # Begin Group "Header Files"
  148. # PROP Default_Filter "h;hpp;hxx;hm;inl"
  149. # Begin Source File
  150. SOURCE=".\PragmaUnsafeModule.h"
  151. # End Source File
  152. # Begin Source File
  153. SOURCE=.\resource.h
  154. # End Source File
  155. # Begin Source File
  156. SOURCE=.\StdAfx.h
  157. # End Source File
  158. # End Group
  159. # Begin Group "Resource Files"
  160. # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
  161. # Begin Source File
  162. SOURCE=.\DefectDefs.xml
  163. !IF "$(CFG)" == "PragmaUnsafe - Win32 Release"
  164. # Begin Custom Build - Transforming $(InputPath)...
  165. InputDir=.
  166. OutDir=.\..\..\objs\Release\PragmaUnsafe
  167. InputPath=.\DefectDefs.xml
  168. BuildCmds= \
  169. if not exist $(OutDir) md $(OutDir) \
  170. cscript ..\..\bin\scripts\xmlXform.js "$(InputPath)" ..\..\bin\scripts\DefectDefsH.xsl "$(OutDir)\DefectDefs.h" \
  171. if not exist $(OutDir)\..\DefectDefs md $(OutDir)\..\DefectDefs \
  172. cscript ..\..\bin\scripts\CombineDefectDefs.js "$(InputDir)\.." "$(OutDir)\..\DefectDefs\DefectDefs.xml" \
  173. copy "$(OutDir)\..\DefectDefs\DefectDefs.xml" ..\..\bin\scripts\DefectUI\ \
  174. "$(OutDir)\DefectDefs.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  175. $(BuildCmds)
  176. "$(OutDir)\..\DefectDefs\DefectDefs.xml" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  177. $(BuildCmds)
  178. "..\..\bin\scripts\DefectUI\DefectDefs.xml" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  179. $(BuildCmds)
  180. # End Custom Build
  181. !ELSEIF "$(CFG)" == "PragmaUnsafe - Win32 Debug"
  182. # Begin Custom Build - Transforming $(InputPath)...
  183. InputDir=.
  184. OutDir=.\..\..\objs\Debug\PragmaUnsafe
  185. InputPath=.\DefectDefs.xml
  186. BuildCmds= \
  187. if not exist $(OutDir) md $(OutDir) \
  188. cscript ..\..\bin\scripts\xmlXform.js "$(InputPath)" ..\..\bin\scripts\DefectDefsH.xsl "$(OutDir)\DefectDefs.h" \
  189. if not exist $(OutDir)\..\DefectDefs md $(OutDir)\..\DefectDefs \
  190. cscript ..\..\bin\scripts\CombineDefectDefs.js "$(InputDir)\.." "$(OutDir)\..\DefectDefs\DefectDefs.xml" \
  191. copy "$(OutDir)\..\DefectDefs\DefectDefs.xml" ..\..\bin\scripts\DefectUI\ \
  192. "$(OutDir)\DefectDefs.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  193. $(BuildCmds)
  194. "$(OutDir)\..\DefectDefs\DefectDefs.xml" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  195. $(BuildCmds)
  196. "..\..\bin\scripts\DefectUI\DefectDefs.xml" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  197. $(BuildCmds)
  198. # End Custom Build
  199. !ENDIF
  200. # End Source File
  201. # Begin Source File
  202. SOURCE=".\PragmaUnsafe.rgs"
  203. # End Source File
  204. # Begin Source File
  205. SOURCE=".\PragmaUnsafeModule.rgs"
  206. # End Source File
  207. # End Group
  208. # End Target
  209. # End Project