home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 October / PCWorld_2002-10_cd.bin / Software / Topware / fprint / fpdk400.exe / samples / msvc / callback / fpcall.mak < prev    next >
Text File  |  2000-11-02  |  5KB  |  176 lines

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