home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Languages / Python / python-14-src / PC / example_nt / example.mak < prev    next >
Encoding:
NMAKE  |  1997-01-17  |  8.3 KB  |  286 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Format Version 4.00
  2. # ** DO NOT EDIT **
  3.  
  4. # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
  5.  
  6. !IF "$(CFG)" == ""
  7. CFG=example - Win32 Debug
  8. !MESSAGE No configuration specified.  Defaulting to example - Win32 Debug.
  9. !ENDIF 
  10.  
  11. !IF "$(CFG)" != "example - Win32 Release" && "$(CFG)" !=\
  12.  "example - Win32 Debug"
  13. !MESSAGE Invalid configuration "$(CFG)" specified.
  14. !MESSAGE You can specify a configuration when running NMAKE on this makefile
  15. !MESSAGE by defining the macro CFG on the command line.  For example:
  16. !MESSAGE 
  17. !MESSAGE NMAKE /f "example.mak" CFG="example - Win32 Debug"
  18. !MESSAGE 
  19. !MESSAGE Possible choices for configuration are:
  20. !MESSAGE 
  21. !MESSAGE "example - Win32 Release" (based on\
  22.  "Win32 (x86) Dynamic-Link Library")
  23. !MESSAGE "example - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
  24. !MESSAGE 
  25. !ERROR An invalid configuration is specified.
  26. !ENDIF 
  27.  
  28. !IF "$(OS)" == "Windows_NT"
  29. NULL=
  30. !ELSE 
  31. NULL=nul
  32. !ENDIF 
  33. ################################################################################
  34. # Begin Project
  35. # PROP Target_Last_Scanned "example - Win32 Debug"
  36. CPP=cl.exe
  37. RSC=rc.exe
  38. MTL=mktyplib.exe
  39.  
  40. !IF  "$(CFG)" == "example - Win32 Release"
  41.  
  42. # PROP BASE Use_MFC 0
  43. # PROP BASE Use_Debug_Libraries 0
  44. # PROP BASE Output_Dir "Release"
  45. # PROP BASE Intermediate_Dir "Release"
  46. # PROP BASE Target_Dir ""
  47. # PROP Use_MFC 0
  48. # PROP Use_Debug_Libraries 0
  49. # PROP Output_Dir "Release"
  50. # PROP Intermediate_Dir "Release"
  51. # PROP Target_Dir ""
  52. OUTDIR=.\Release
  53. INTDIR=.\Release
  54.  
  55. ALL : "$(OUTDIR)\example.dll"
  56.  
  57. CLEAN : 
  58.     -@erase ".\Release\example.dll"
  59.     -@erase ".\Release\example.obj"
  60.     -@erase ".\Release\example.lib"
  61.     -@erase ".\Release\example.exp"
  62.  
  63. "$(OUTDIR)" :
  64.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  65.  
  66. # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
  67. # ADD CPP /nologo /MT /W3 /GX /O2 /I "../Include" /I "../PC" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
  68. CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "../Include" /I "../PC" /D "WIN32" /D\
  69.  "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)/example.pch" /YX /Fo"$(INTDIR)/" /c 
  70. CPP_OBJS=.\Release/
  71. CPP_SBRS=
  72. # ADD BASE MTL /nologo /D "NDEBUG" /win32
  73. # ADD MTL /nologo /D "NDEBUG" /win32
  74. MTL_PROJ=/nologo /D "NDEBUG" /win32 
  75. # ADD BASE RSC /l 0x409 /d "NDEBUG"
  76. # ADD RSC /l 0x409 /d "NDEBUG"
  77. BSC32=bscmake.exe
  78. # ADD BASE BSC32 /nologo
  79. # ADD BSC32 /nologo
  80. BSC32_FLAGS=/nologo /o"$(OUTDIR)/example.bsc" 
  81. BSC32_SBRS=
  82. LINK32=link.exe
  83. # 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
  84. # 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 /nologo /subsystem:windows /dll /machine:I386
  85. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  86.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  87.  odbccp32.lib /nologo /subsystem:windows /dll /incremental:no\
  88.  /pdb:"$(OUTDIR)/example.pdb" /machine:I386 /def:".\example.def"\
  89.  /out:"$(OUTDIR)/example.dll" /implib:"$(OUTDIR)/example.lib" 
  90. DEF_FILE= \
  91.     ".\example.def"
  92. LINK32_OBJS= \
  93.     "$(INTDIR)/example.obj" \
  94.     "..\vc40\python14.lib"
  95.  
  96. "$(OUTDIR)\example.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  97.     $(LINK32) @<<
  98.   $(LINK32_FLAGS) $(LINK32_OBJS)
  99. <<
  100.  
  101. !ELSEIF  "$(CFG)" == "example - Win32 Debug"
  102.  
  103. # PROP BASE Use_MFC 0
  104. # PROP BASE Use_Debug_Libraries 1
  105. # PROP BASE Output_Dir "Debug"
  106. # PROP BASE Intermediate_Dir "Debug"
  107. # PROP BASE Target_Dir ""
  108. # PROP Use_MFC 0
  109. # PROP Use_Debug_Libraries 1
  110. # PROP Output_Dir "Debug"
  111. # PROP Intermediate_Dir "Debug"
  112. # PROP Target_Dir ""
  113. OUTDIR=.\Debug
  114. INTDIR=.\Debug
  115.  
  116. ALL : "$(OUTDIR)\example.dll"
  117.  
  118. CLEAN : 
  119.     -@erase ".\Debug\example.dll"
  120.     -@erase ".\Debug\example.obj"
  121.     -@erase ".\Debug\example.ilk"
  122.     -@erase ".\Debug\example.lib"
  123.     -@erase ".\Debug\example.exp"
  124.     -@erase ".\Debug\example.pdb"
  125.     -@erase ".\Debug\vc40.pdb"
  126.     -@erase ".\Debug\vc40.idb"
  127.  
  128. "$(OUTDIR)" :
  129.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  130.  
  131. # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
  132. # ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "../Include" /I "../PC" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
  133. CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "../Include" /I "../PC" /D "WIN32"\
  134.  /D "_DEBUG" /D "_WINDOWS" /Fp"$(INTDIR)/example.pch" /YX /Fo"$(INTDIR)/"\
  135.  /Fd"$(INTDIR)/" /c 
  136. CPP_OBJS=.\Debug/
  137. CPP_SBRS=
  138. # ADD BASE MTL /nologo /D "_DEBUG" /win32
  139. # ADD MTL /nologo /D "_DEBUG" /win32
  140. MTL_PROJ=/nologo /D "_DEBUG" /win32 
  141. # ADD BASE RSC /l 0x409 /d "_DEBUG"
  142. # ADD RSC /l 0x409 /d "_DEBUG"
  143. BSC32=bscmake.exe
  144. # ADD BASE BSC32 /nologo
  145. # ADD BSC32 /nologo
  146. BSC32_FLAGS=/nologo /o"$(OUTDIR)/example.bsc" 
  147. BSC32_SBRS=
  148. LINK32=link.exe
  149. # 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
  150. # 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 /nologo /subsystem:windows /dll /debug /machine:I386
  151. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  152.  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
  153.  odbccp32.lib /nologo /subsystem:windows /dll /incremental:yes\
  154.  /pdb:"$(OUTDIR)/example.pdb" /debug /machine:I386 /def:".\example.def"\
  155.  /out:"$(OUTDIR)/example.dll" /implib:"$(OUTDIR)/example.lib" 
  156. DEF_FILE= \
  157.     ".\example.def"
  158. LINK32_OBJS= \
  159.     "$(INTDIR)/example.obj" \
  160.     "..\vc40\python14.lib"
  161.  
  162. "$(OUTDIR)\example.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  163.     $(LINK32) @<<
  164.   $(LINK32_FLAGS) $(LINK32_OBJS)
  165. <<
  166.  
  167. !ENDIF 
  168.  
  169. .c{$(CPP_OBJS)}.obj:
  170.    $(CPP) $(CPP_PROJ) $<  
  171.  
  172. .cpp{$(CPP_OBJS)}.obj:
  173.    $(CPP) $(CPP_PROJ) $<  
  174.  
  175. .cxx{$(CPP_OBJS)}.obj:
  176.    $(CPP) $(CPP_PROJ) $<  
  177.  
  178. .c{$(CPP_SBRS)}.sbr:
  179.    $(CPP) $(CPP_PROJ) $<  
  180.  
  181. .cpp{$(CPP_SBRS)}.sbr:
  182.    $(CPP) $(CPP_PROJ) $<  
  183.  
  184. .cxx{$(CPP_SBRS)}.sbr:
  185.    $(CPP) $(CPP_PROJ) $<  
  186.  
  187. ################################################################################
  188. # Begin Target
  189.  
  190. # Name "example - Win32 Release"
  191. # Name "example - Win32 Debug"
  192.  
  193. !IF  "$(CFG)" == "example - Win32 Release"
  194.  
  195. !ELSEIF  "$(CFG)" == "example - Win32 Debug"
  196.  
  197. !ENDIF 
  198.  
  199. ################################################################################
  200. # Begin Source File
  201.  
  202. SOURCE=.\example.c
  203. DEP_CPP_EXAMP=\
  204.     ".\../Include\Python.h"\
  205.     "..\Include\allobjects.h"\
  206.     ".\../PC\config.h"\
  207.     "..\Include\myproto.h"\
  208.     "..\Include\object.h"\
  209.     "..\Include\objimpl.h"\
  210.     "..\Include\pydebug.h"\
  211.     "..\Include\accessobject.h"\
  212.     "..\Include\intobject.h"\
  213.     "..\Include\longobject.h"\
  214.     "..\Include\floatobject.h"\
  215.     "..\Include\complexobject.h"\
  216.     "..\Include\rangeobject.h"\
  217.     "..\Include\stringobject.h"\
  218.     "..\Include\tupleobject.h"\
  219.     "..\Include\listobject.h"\
  220.     "..\Include\mappingobject.h"\
  221.     "..\Include\methodobject.h"\
  222.     "..\Include\moduleobject.h"\
  223.     "..\Include\funcobject.h"\
  224.     "..\Include\classobject.h"\
  225.     "..\Include\fileobject.h"\
  226.     "..\Include\cobject.h"\
  227.     "..\Include\traceback.h"\
  228.     "..\Include\sliceobject.h"\
  229.     "..\Include\pyerrors.h"\
  230.     "..\Include\mymalloc.h"\
  231.     "..\Include\modsupport.h"\
  232.     "..\Include\ceval.h"\
  233.     "..\Include\pythonrun.h"\
  234.     "..\Include\sysmodule.h"\
  235.     "..\Include\intrcheck.h"\
  236.     "..\Include\import.h"\
  237.     "..\Include\bltinmodule.h"\
  238.     "..\Include\abstract.h"\
  239.     "..\Include\rename2.h"\
  240.     "..\Include\thread.h"\
  241.     
  242.  
  243. "$(INTDIR)\example.obj" : $(SOURCE) $(DEP_CPP_EXAMP) "$(INTDIR)"
  244.  
  245.  
  246. # End Source File
  247. ################################################################################
  248. # Begin Source File
  249.  
  250. SOURCE=.\example.def
  251.  
  252. !IF  "$(CFG)" == "example - Win32 Release"
  253.  
  254. !ELSEIF  "$(CFG)" == "example - Win32 Debug"
  255.  
  256. !ENDIF 
  257.  
  258. # End Source File
  259. ################################################################################
  260. # Begin Source File
  261.  
  262. SOURCE=..\vc40\python14.lib
  263.  
  264. !IF  "$(CFG)" == "example - Win32 Release"
  265.  
  266. !ELSEIF  "$(CFG)" == "example - Win32 Debug"
  267.  
  268. !ENDIF 
  269.  
  270. # End Source File
  271. ################################################################################
  272. # Begin Source File
  273.  
  274. SOURCE=.\readme.txt
  275.  
  276. !IF  "$(CFG)" == "example - Win32 Release"
  277.  
  278. !ELSEIF  "$(CFG)" == "example - Win32 Debug"
  279.  
  280. !ENDIF 
  281.  
  282. # End Source File
  283. # End Target
  284. # End Project
  285. ################################################################################
  286.