home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / ch_4.7 / thin / thin.mak < prev    next >
Encoding:
Text File  |  1999-09-11  |  7.5 KB  |  233 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
  2. # ** DO NOT EDIT **
  3.  
  4. # TARGTYPE "Win32 (x86) Console Application" 0x0103
  5.  
  6. !IF "$(CFG)" == ""
  7. CFG=thin - Win32 Debug
  8. !MESSAGE No configuration specified.  Defaulting to thin - Win32 Debug.
  9. !ENDIF 
  10.  
  11. !IF "$(CFG)" != "thin - Win32 Release" && "$(CFG)" != "thin - Win32 Debug"
  12. !MESSAGE Invalid configuration "$(CFG)" specified.
  13. !MESSAGE You can specify a configuration when running NMAKE on this makefile
  14. !MESSAGE by defining the macro CFG on the command line.  For example:
  15. !MESSAGE 
  16. !MESSAGE NMAKE /f "thin.mak" CFG="thin - Win32 Debug"
  17. !MESSAGE 
  18. !MESSAGE Possible choices for configuration are:
  19. !MESSAGE 
  20. !MESSAGE "thin - Win32 Release" (based on "Win32 (x86) Console Application")
  21. !MESSAGE "thin - Win32 Debug" (based on "Win32 (x86) Console Application")
  22. !MESSAGE 
  23. !ERROR An invalid configuration is specified.
  24. !ENDIF 
  25.  
  26. !IF "$(OS)" == "Windows_NT"
  27. NULL=
  28. !ELSE 
  29. NULL=nul
  30. !ENDIF 
  31. ################################################################################
  32. # Begin Project
  33. # PROP Target_Last_Scanned "thin - Win32 Debug"
  34. CPP=cl.exe
  35. RSC=rc.exe
  36.  
  37. !IF  "$(CFG)" == "thin - Win32 Release"
  38.  
  39. # PROP BASE Use_MFC 0
  40. # PROP BASE Use_Debug_Libraries 0
  41. # PROP BASE Output_Dir "Release"
  42. # PROP BASE Intermediate_Dir "Release"
  43. # PROP BASE Target_Dir ""
  44. # PROP Use_MFC 0
  45. # PROP Use_Debug_Libraries 0
  46. # PROP Output_Dir "Release"
  47. # PROP Intermediate_Dir "Release"
  48. # PROP Target_Dir ""
  49. OUTDIR=.\Release
  50. INTDIR=.\Release
  51. # Begin Custom Macros
  52. ProjDir=.
  53. # End Custom Macros
  54.  
  55. ALL : "$(OUTDIR)\thin.exe" "..\..\bindosr\thin.exe"
  56.  
  57. CLEAN : 
  58.     -@erase "..\..\bindosr\thin.exe"
  59.     -@erase ".\Release\thin.exe"
  60.     -@erase ".\Release\thin.obj"
  61.  
  62. "$(OUTDIR)" :
  63.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  64.  
  65. # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
  66. # ADD CPP /nologo /W3 /GX /O2 /I "." /I " ..\..\libtiff\libtiff" /I " ..\..\libimage" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "__WIN32__" /YX /c
  67. # SUBTRACT CPP /Fr
  68. CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /I " ..\..\libtiff\libtiff" /I\
  69.  " ..\..\libimage" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "__WIN32__"\
  70.  /Fp"$(INTDIR)/thin.pch" /YX /Fo"$(INTDIR)/" /c 
  71. CPP_OBJS=.\Release/
  72. CPP_SBRS=
  73. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  74. # ADD RSC /l 0x409 /d "NDEBUG"
  75. BSC32=bscmake.exe
  76. # ADD BASE BSC32 /nologo
  77. # ADD BSC32 /nologo
  78. BSC32_FLAGS=/nologo /o"$(OUTDIR)/thin.bsc" 
  79. BSC32_SBRS=
  80. LINK32=link.exe
  81. # 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:console /machine:I386
  82. # ADD 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 ..\..\libtiff\libtiff\Release\libtiff.lib ..\..\libimage\Release\libimage.lib ..\..\libip\Release\libip.lib /nologo /subsystem:console /machine:I386
  83. # SUBTRACT LINK32 /pdb:none
  84. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  85.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  86.  odbccp32.lib ..\..\libtiff\libtiff\Release\libtiff.lib\
  87.  ..\..\libimage\Release\libimage.lib ..\..\libip\Release\libip.lib /nologo\
  88.  /subsystem:console /incremental:no /pdb:"$(OUTDIR)/thin.pdb" /machine:I386\
  89.  /out:"$(OUTDIR)/thin.exe" 
  90. LINK32_OBJS= \
  91.     ".\Release\thin.obj"
  92.  
  93. "$(OUTDIR)\thin.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  94.     $(LINK32) @<<
  95.   $(LINK32_FLAGS) $(LINK32_OBJS)
  96. <<
  97.  
  98. # Begin Custom Build
  99. ProjDir=.
  100. InputPath=.\Release\thin.exe
  101. InputName=thin
  102. SOURCE=$(InputPath)
  103.  
  104. "$(ProjDir)\..\..\bindosr\$(InputName).exe" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  105.    copy $(InputPath) $(ProjDir)\..\..\bindosr
  106.  
  107. # End Custom Build
  108.  
  109. !ELSEIF  "$(CFG)" == "thin - Win32 Debug"
  110.  
  111. # PROP BASE Use_MFC 0
  112. # PROP BASE Use_Debug_Libraries 1
  113. # PROP BASE Output_Dir "Debug"
  114. # PROP BASE Intermediate_Dir "Debug"
  115. # PROP BASE Target_Dir ""
  116. # PROP Use_MFC 0
  117. # PROP Use_Debug_Libraries 1
  118. # PROP Output_Dir "Debug"
  119. # PROP Intermediate_Dir "Debug"
  120. # PROP Target_Dir ""
  121. OUTDIR=.\Debug
  122. INTDIR=.\Debug
  123. # Begin Custom Macros
  124. ProjDir=.
  125. # End Custom Macros
  126.  
  127. ALL : "$(OUTDIR)\thin.exe" "..\..\bindosd\thin.exe"
  128.  
  129. CLEAN : 
  130.     -@erase ".\Debug\vc40.pdb"
  131.     -@erase ".\Debug\vc40.idb"
  132.     -@erase ".\Debug\thin.ilk"
  133.     -@erase ".\Debug\thin.obj"
  134.     -@erase ".\Debug\thin.pdb"
  135.     -@erase "..\..\bindosd\thin.exe"
  136.     -@erase ".\Debug\thin.exe"
  137.  
  138. "$(OUTDIR)" :
  139.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  140.  
  141. # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  142. # ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "." /I " ..\..\libtiff\libtiff" /I " ..\..\libimage" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
  143. # SUBTRACT CPP /Fr
  144. CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "." /I " ..\..\libtiff\libtiff" /I\
  145.  " ..\..\libimage" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)/thin.pch"\
  146.  /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c 
  147. CPP_OBJS=.\Debug/
  148. CPP_SBRS=
  149. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  150. # ADD RSC /l 0x409 /d "_DEBUG"
  151. BSC32=bscmake.exe
  152. # ADD BASE BSC32 /nologo
  153. # ADD BSC32 /nologo
  154. BSC32_FLAGS=/nologo /o"$(OUTDIR)/thin.bsc" 
  155. BSC32_SBRS=
  156. LINK32=link.exe
  157. # 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:console /debug /machine:I386
  158. # ADD 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 ..\..\libtiff\libtiff\Debug\libtiff.lib ..\..\libimage\Debug\libimage.lib ..\..\libip\Debug\libip.lib /nologo /subsystem:console /debug /machine:I386
  159. # SUBTRACT LINK32 /pdb:none
  160. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  161.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  162.  odbccp32.lib ..\..\libtiff\libtiff\Debug\libtiff.lib\
  163.  ..\..\libimage\Debug\libimage.lib ..\..\libip\Debug\libip.lib /nologo\
  164.  /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/thin.pdb" /debug\
  165.  /machine:I386 /out:"$(OUTDIR)/thin.exe" 
  166. LINK32_OBJS= \
  167.     ".\Debug\thin.obj"
  168.  
  169. "$(OUTDIR)\thin.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  170.     $(LINK32) @<<
  171.   $(LINK32_FLAGS) $(LINK32_OBJS)
  172. <<
  173.  
  174. # Begin Custom Build
  175. ProjDir=.
  176. InputPath=.\Debug\thin.exe
  177. InputName=thin
  178. SOURCE=$(InputPath)
  179.  
  180. "$(ProjDir)\..\..\bindosd\$(InputName).exe" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  181.    copy $(InputPath) $(ProjDir)\..\..\bindosd
  182.  
  183. # End Custom Build
  184.  
  185. !ENDIF 
  186.  
  187. .c{$(CPP_OBJS)}.obj:
  188.    $(CPP) $(CPP_PROJ) $<  
  189.  
  190. .cpp{$(CPP_OBJS)}.obj:
  191.    $(CPP) $(CPP_PROJ) $<  
  192.  
  193. .cxx{$(CPP_OBJS)}.obj:
  194.    $(CPP) $(CPP_PROJ) $<  
  195.  
  196. .c{$(CPP_SBRS)}.sbr:
  197.    $(CPP) $(CPP_PROJ) $<  
  198.  
  199. .cpp{$(CPP_SBRS)}.sbr:
  200.    $(CPP) $(CPP_PROJ) $<  
  201.  
  202. .cxx{$(CPP_SBRS)}.sbr:
  203.    $(CPP) $(CPP_PROJ) $<  
  204.  
  205. ################################################################################
  206. # Begin Target
  207.  
  208. # Name "thin - Win32 Release"
  209. # Name "thin - Win32 Debug"
  210.  
  211. !IF  "$(CFG)" == "thin - Win32 Release"
  212.  
  213. !ELSEIF  "$(CFG)" == "thin - Win32 Debug"
  214.  
  215. !ENDIF 
  216.  
  217. ################################################################################
  218. # Begin Source File
  219.  
  220. SOURCE=.\thin.c
  221. DEP_CPP_THIN_=\
  222.     ".\..\..\libimage\images.h"\
  223.     ".\..\..\libimage\tiffimage.h"\
  224.     
  225.  
  226. "$(INTDIR)\thin.obj" : $(SOURCE) $(DEP_CPP_THIN_) "$(INTDIR)"
  227.  
  228.  
  229. # End Source File
  230. # End Target
  231. # End Project
  232. ################################################################################
  233.