passhook.mak 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. #
  2. # BEGIN COPYRIGHT BLOCK
  3. # This Program is free software; you can redistribute it and/or modify it under
  4. # the terms of the GNU General Public License as published by the Free Software
  5. # Foundation; version 2 of the License.
  6. #
  7. # This Program is distributed in the hope that it will be useful, but WITHOUT
  8. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  10. #
  11. # You should have received a copy of the GNU General Public License along with
  12. # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  13. # Place, Suite 330, Boston, MA 02111-1307 USA.
  14. #
  15. # In addition, as a special exception, Red Hat, Inc. gives You the additional
  16. # right to link the code of this Program with code not covered under the GNU
  17. # General Public License ("Non-GPL Code") and to distribute linked combinations
  18. # including the two, subject to the limitations in this paragraph. Non-GPL Code
  19. # permitted under this exception must only link to the code of this Program
  20. # through those well defined interfaces identified in the file named EXCEPTION
  21. # found in the source code files (the "Approved Interfaces"). The files of
  22. # Non-GPL Code may instantiate templates or use macros or inline functions from
  23. # the Approved Interfaces without causing the resulting work to be covered by
  24. # the GNU General Public License. Only Red Hat, Inc. may make changes or
  25. # additions to the list of Approved Interfaces. You must obey the GNU General
  26. # Public License in all respects for all of the Program code and other code used
  27. # in conjunction with the Program except the Non-GPL Code covered by this
  28. # exception. If you modify this file, you may extend this exception to your
  29. # version of the file, but you are not obligated to do so. If you do not wish to
  30. # provide this exception without modification, you must delete this exception
  31. # statement from your version and license this file solely under the GPL without
  32. # exception.
  33. #
  34. #
  35. # Copyright (C) 2005 Red Hat, Inc.
  36. # All rights reserved.
  37. # END COPYRIGHT BLOCK
  38. #
  39. # Microsoft Developer Studio Generated NMAKE File, Based on passhook.dsp
  40. !IF "$(CFG)" == ""
  41. CFG=passhook - Win32 Debug
  42. !MESSAGE No configuration specified. Defaulting to passhook - Win32 Debug.
  43. !ENDIF
  44. !IF "$(CFG)" != "passhook - Win32 Release" && "$(CFG)" != "passhook - Win32 Debug"
  45. !MESSAGE Invalid configuration "$(CFG)" specified.
  46. !MESSAGE You can specify a configuration when running NMAKE
  47. !MESSAGE by defining the macro CFG on the command line. For example:
  48. !MESSAGE
  49. !MESSAGE NMAKE /f "passhook.mak" CFG="passhook - Win32 Debug"
  50. !MESSAGE
  51. !MESSAGE Possible choices for configuration are:
  52. !MESSAGE
  53. !MESSAGE "passhook - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
  54. !MESSAGE "passhook - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  55. !MESSAGE
  56. !ERROR An invalid configuration is specified.
  57. !ENDIF
  58. !IF "$(OS)" == "Windows_NT"
  59. NULL=
  60. !ELSE
  61. NULL=nul
  62. !ENDIF
  63. !IF "$(CFG)" == "passhook - Win32 Release"
  64. OUTDIR=$(OBJDEST)\passhook
  65. INTDIR=$(OBJDEST)\passhook
  66. # Begin Custom Macros
  67. OutDir=$(OBJDEST)\passhook
  68. # End Custom Macros
  69. ALL : "$(OUTDIR)\passhook.dll"
  70. CLEAN :
  71. -@erase "$(INTDIR)\passhand.obj"
  72. -@erase "$(INTDIR)\passhook.obj"
  73. -@erase "$(INTDIR)\vc60.idb"
  74. -@erase "$(OUTDIR)\passhook.dll"
  75. -@erase "$(OUTDIR)\passhook.exp"
  76. -@erase "$(OUTDIR)\passhook.lib"
  77. "$(OUTDIR)" :
  78. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  79. CPP=cl.exe
  80. CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSHOOK_EXPORTS" /Fp"$(INTDIR)\passhook.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
  81. .c{$(INTDIR)}.obj::
  82. $(CPP) @<<
  83. $(CPP_PROJ) $<
  84. <<
  85. .cpp{$(INTDIR)}.obj::
  86. $(CPP) @<<
  87. $(CPP_PROJ) $<
  88. <<
  89. .cxx{$(INTDIR)}.obj::
  90. $(CPP) @<<
  91. $(CPP_PROJ) $<
  92. <<
  93. .c{$(INTDIR)}.sbr::
  94. $(CPP) @<<
  95. $(CPP_PROJ) $<
  96. <<
  97. .cpp{$(INTDIR)}.sbr::
  98. $(CPP) @<<
  99. $(CPP_PROJ) $<
  100. <<
  101. .cxx{$(INTDIR)}.sbr::
  102. $(CPP) @<<
  103. $(CPP_PROJ) $<
  104. <<
  105. MTL=midl.exe
  106. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
  107. RSC=rc.exe
  108. BSC32=bscmake.exe
  109. BSC32_FLAGS=/nologo /o"$(OUTDIR)\passhook.bsc"
  110. BSC32_SBRS= \
  111. LINK32=link.exe
  112. LINK32_FLAGS=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 /dll /incremental:no /pdb:"$(OUTDIR)\passhook.pdb" /machine:I386 /def:".\passhook.def" /out:"$(OUTDIR)\passhook.dll" /implib:"$(OUTDIR)\passhook.lib"
  113. DEF_FILE= \
  114. ".\passhook.def"
  115. LINK32_OBJS= \
  116. "$(INTDIR)\passhand.obj" \
  117. "$(INTDIR)\passhook.obj"
  118. "$(OUTDIR)\passhook.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  119. $(LINK32) @<<
  120. $(LINK32_FLAGS) $(LINK32_OBJS)
  121. <<
  122. !ELSEIF "$(CFG)" == "passhook - Win32 Debug"
  123. OUTDIR=$(OBJDEST)\passhook
  124. INTDIR=$(OBJDEST)\passhook
  125. # Begin Custom Macros
  126. OutDir=$(OBJDEST)\passhook
  127. # End Custom Macros
  128. ALL : "$(OUTDIR)\passhook.dll"
  129. CLEAN :
  130. -@erase "$(INTDIR)\passhand.obj"
  131. -@erase "$(INTDIR)\passhook.obj"
  132. -@erase "$(INTDIR)\vc60.idb"
  133. -@erase "$(INTDIR)\vc60.pdb"
  134. -@erase "$(OUTDIR)\passhook.dll"
  135. -@erase "$(OUTDIR)\passhook.exp"
  136. -@erase "$(OUTDIR)\passhook.ilk"
  137. -@erase "$(OUTDIR)\passhook.lib"
  138. -@erase "$(OUTDIR)\passhook.pdb"
  139. "$(OUTDIR)" :
  140. if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  141. CPP=cl.exe
  142. CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSHOOK_EXPORTS" /Fp"$(INTDIR)\passhook.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
  143. .c{$(INTDIR)}.obj::
  144. $(CPP) @<<
  145. $(CPP_PROJ) $<
  146. <<
  147. .cpp{$(INTDIR)}.obj::
  148. $(CPP) @<<
  149. $(CPP_PROJ) $<
  150. <<
  151. .cxx{$(INTDIR)}.obj::
  152. $(CPP) @<<
  153. $(CPP_PROJ) $<
  154. <<
  155. .c{$(INTDIR)}.sbr::
  156. $(CPP) @<<
  157. $(CPP_PROJ) $<
  158. <<
  159. .cpp{$(INTDIR)}.sbr::
  160. $(CPP) @<<
  161. $(CPP_PROJ) $<
  162. <<
  163. .cxx{$(INTDIR)}.sbr::
  164. $(CPP) @<<
  165. $(CPP_PROJ) $<
  166. <<
  167. MTL=midl.exe
  168. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
  169. RSC=rc.exe
  170. BSC32=bscmake.exe
  171. BSC32_FLAGS=/nologo /o"$(OUTDIR)\passhook.bsc"
  172. BSC32_SBRS= \
  173. LINK32=link.exe
  174. LINK32_FLAGS=nss3.lib libnspr4.lib 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 /dll /incremental:yes /pdb:"$(OUTDIR)\passhook.pdb" /debug /machine:I386 /def:".\passhook.def" /out:"$(OUTDIR)\passhook.dll" /implib:"$(OUTDIR)\passhook.lib" /pdbtype:sept
  175. DEF_FILE= \
  176. ".\passhook.def"
  177. LINK32_OBJS= \
  178. "$(INTDIR)\passhand.obj" \
  179. "$(INTDIR)\passhook.obj"
  180. "$(OUTDIR)\passhook.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  181. $(LINK32) @<<
  182. $(LINK32_FLAGS) $(LINK32_OBJS)
  183. <<
  184. !ENDIF
  185. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  186. !IF EXISTS("passhook.dep")
  187. !INCLUDE "passhook.dep"
  188. !ELSE
  189. !MESSAGE Warning: cannot find "passhook.dep"
  190. !ENDIF
  191. !ENDIF
  192. !IF "$(CFG)" == "passhook - Win32 Release" || "$(CFG)" == "passhook - Win32 Debug"
  193. SOURCE=..\passhand.cpp
  194. "$(INTDIR)\passhand.obj" : $(SOURCE) "$(INTDIR)"
  195. $(CPP) $(CPP_PROJ) $(SOURCE)
  196. SOURCE=.\passhook.cpp
  197. "$(INTDIR)\passhook.obj" : $(SOURCE) "$(INTDIR)"
  198. !ENDIF