home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / FL_ProfilerGCP_mak________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Text File  |  2001-07-31  |  4.1 KB  |  152 lines

  1. ###############################################################################
  2. ##
  3. ## Microsoft CLR Profiler Sample (ProfilerGCP) Makefile
  4. ##
  5. ###############################################################################
  6.  
  7.  
  8. ###############################################################################
  9. ##
  10. ## General
  11. ##
  12. ###############################################################################
  13. !IF "$(OS)" == "Windows_NT"
  14. NULL=
  15. !ELSE 
  16. NULL=nul
  17. !ENDIF 
  18.  
  19. SOURCE=.
  20.  
  21. OUTDIR= $(SOURCE)\Debug
  22. INTDIR= $(SOURCE)\Debug
  23.  
  24.  
  25. ###############################################################################
  26. ##
  27. ## Tools (compiler, linker, etc)
  28. ##
  29. ###############################################################################
  30. _LINKER= link.exe
  31. _COMPILER= cl.exe
  32.  
  33.  
  34. ###############################################################################
  35. ##
  36. ## Win32 Libs
  37. ##
  38. ###############################################################################
  39. WIN32_SDK_LIBS= \
  40.     "uuid.lib"        \
  41.     "ole32.lib"      \
  42.     "libcpd.lib"     \
  43.     "user32.lib"     \
  44.     "oleaut32.lib"   \
  45.     "advapi32.lib"   \
  46.     "kernel32.lib"   
  47.  
  48.  
  49. ###############################################################################
  50. ##
  51. ## CLR Libs
  52. ##
  53. ###############################################################################
  54. CLR_LIBS= \
  55.     "corguids.lib"
  56.     
  57.     
  58. ###############################################################################
  59. ##
  60. ## Profiler obj Files
  61. ##
  62. ###############################################################################
  63. OBJS= \
  64.     "$(INTDIR)\ProfilerGCP.obj"        
  65.  
  66.  
  67. ###############################################################################
  68. ##
  69. ## Compiler Macros
  70. ##
  71. ###############################################################################
  72. _MACROS= \
  73.     /D "_WIN32"                     \
  74.     /D "_DEBUG"                     \
  75.     /D "UNICODE"                    \
  76.     /D "_UNICODE"                   \
  77.     /D "_SAMPLES_"                  \
  78.     /D "WIN32_LEAN_AND_MEAN"
  79.  
  80.  
  81. ###############################################################################
  82. ##
  83. ## Compiler/Linker Flags
  84. ##
  85. ###############################################################################
  86. _CFLAGS= \
  87.    $(_MACROS) /I..\include /nologo /Gz /GX /MTd /W3 /Zi /Od /Gy \
  88.    /Fp"$(INTDIR)\ProfilerGCP.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  89.  
  90. _LFLAGS= \
  91.     /nologo /dll /def:"$(SOURCE)\ProfilerGCP.def" /incremental:no /machine:I386 \
  92.     /out:"$(OUTDIR)\ProfilerGCP.dll" 
  93.  
  94.  
  95. ###############################################################################
  96. ##
  97. ## Build Profiler DLL
  98. ##
  99. ###############################################################################
  100. ALL : "$(OUTDIR)\ProfilerGCP.dll"
  101.  
  102.  
  103. ###############################################################################
  104. ##
  105. ## Output Directory
  106. ##
  107. ###############################################################################
  108. "$(OUTDIR)":
  109.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  110.  
  111.  
  112. ###############################################################################
  113. ##
  114. ## Compiler/Linker Rules
  115. ##
  116. ###############################################################################
  117. .cpp{$(INTDIR)}.obj::
  118.    $(_COMPILER) @<<
  119.    $(_CFLAGS) $< 
  120. <<
  121.  
  122. "$(OUTDIR)\ProfilerGCP.dll": "$(OUTDIR)" $(OBJS)
  123.     $(_LINKER) @<<
  124.   $(WIN32_SDK_LIBS) $(CLR_LIBS) $(_LFLAGS) $(OBJS)
  125. <<
  126.  
  127.  
  128. ###############################################################################
  129. ##
  130. ## Clean
  131. ##
  132. ###############################################################################
  133. CLEAN :
  134.     -@erase "$(INTDIR)\vc60.idb"
  135.     -@erase "$(INTDIR)\vc60.pdb"
  136.     -@erase "$(OUTDIR)\ProfilerGCP.dll"
  137.     -@erase "$(OUTDIR)\ProfilerGCP.exp"
  138.     -@erase "$(OUTDIR)\ProfilerGCP.ilk"
  139.     -@erase "$(OUTDIR)\ProfilerGCP.lib"
  140.     -@erase "$(OUTDIR)\ProfilerGCP.pdb"
  141.     -@erase "$(INTDIR)\ProfilerGCP.obj"
  142.  
  143.  
  144. ###############################################################################
  145. ##
  146. ## Profiler Sources
  147. ##
  148. ###############################################################################
  149. "$(INTDIR)\ProfilerGCP.obj":        $(SOURCE)\ProfilerGCP.cpp          "$(INTDIR)"
  150.  
  151. ## End of File
  152.