home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / oledb / sampclnt / sampclnt.mak < prev    next >
Encoding:
Text File  |  1998-03-12  |  11.1 KB  |  511 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on sampclnt.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=sampclnt - Win32 x86 Debug
  4. !MESSAGE No configuration specified. Defaulting to sampclnt - Win32 x86 Debug.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "sampclnt - Win32 x86 Debug" && "$(CFG)" !=\
  8.  "sampclnt - Win32 x86 Release" && "$(CFG)" !=\
  9.  "sampclnt - Win32 (ALPHA) axp Debug" && "$(CFG)" !=\
  10.  "sampclnt - Win32 (ALPHA) axp Release"
  11. !MESSAGE Invalid configuration "$(CFG)" specified.
  12. !MESSAGE You can specify a configuration when running NMAKE
  13. !MESSAGE by defining the macro CFG on the command line. For example:
  14. !MESSAGE 
  15. !MESSAGE NMAKE /f "sampclnt.mak" CFG="sampclnt - Win32 x86 Debug"
  16. !MESSAGE 
  17. !MESSAGE Possible choices for configuration are:
  18. !MESSAGE 
  19. !MESSAGE "sampclnt - Win32 x86 Debug" (based on\
  20.  "Win32 (x86) Console Application")
  21. !MESSAGE "sampclnt - Win32 x86 Release" (based on\
  22.  "Win32 (x86) Console Application")
  23. !MESSAGE "sampclnt - Win32 (ALPHA) axp Debug" (based on\
  24.  "Win32 (ALPHA) Console Application")
  25. !MESSAGE "sampclnt - Win32 (ALPHA) axp Release" (based on\
  26.  "Win32 (ALPHA) Console Application")
  27. !MESSAGE 
  28. !ERROR An invalid configuration is specified.
  29. !ENDIF 
  30.  
  31. !IF "$(OS)" == "Windows_NT"
  32. NULL=
  33. !ELSE 
  34. NULL=nul
  35. !ENDIF 
  36.  
  37. !IF  "$(CFG)" == "sampclnt - Win32 x86 Debug"
  38.  
  39. OUTDIR=.\x86_debu
  40. INTDIR=.\x86_debu
  41. # Begin Custom Macros
  42. OutDir=.\.\x86_debu
  43. # End Custom Macros
  44.  
  45. !IF "$(RECURSE)" == "0" 
  46.  
  47. ALL : "$(OUTDIR)\sampclnt.exe"
  48.  
  49. !ELSE 
  50.  
  51. ALL : "$(OUTDIR)\sampclnt.exe"
  52.  
  53. !ENDIF 
  54.  
  55. CLEAN :
  56.     -@erase "$(INTDIR)\dump.obj"
  57.     -@erase "$(INTDIR)\sampclnt.obj"
  58.     -@erase "$(INTDIR)\sampclnt.res"
  59.     -@erase "$(INTDIR)\vc50.idb"
  60.     -@erase "$(INTDIR)\vc50.pdb"
  61.     -@erase "$(OUTDIR)\sampclnt.exe"
  62.     -@erase "$(OUTDIR)\sampclnt.ilk"
  63.     -@erase "$(OUTDIR)\sampclnt.pdb"
  64.  
  65. "$(OUTDIR)" :
  66.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  67.  
  68. CPP=cl.exe
  69. CPP_PROJ=/nologo /MLd /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG"\
  70.  /D "_CONSOLE" /Fp"$(INTDIR)\sampclnt.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\
  71.  /FD /c 
  72. CPP_OBJS=.\x86_debu/
  73. CPP_SBRS=.
  74.  
  75. .c{$(CPP_OBJS)}.obj::
  76.    $(CPP) @<<
  77.    $(CPP_PROJ) $< 
  78. <<
  79.  
  80. .cpp{$(CPP_OBJS)}.obj::
  81.    $(CPP) @<<
  82.    $(CPP_PROJ) $< 
  83. <<
  84.  
  85. .cxx{$(CPP_OBJS)}.obj::
  86.    $(CPP) @<<
  87.    $(CPP_PROJ) $< 
  88. <<
  89.  
  90. .c{$(CPP_SBRS)}.sbr::
  91.    $(CPP) @<<
  92.    $(CPP_PROJ) $< 
  93. <<
  94.  
  95. .cpp{$(CPP_SBRS)}.sbr::
  96.    $(CPP) @<<
  97.    $(CPP_PROJ) $< 
  98. <<
  99.  
  100. .cxx{$(CPP_SBRS)}.sbr::
  101.    $(CPP) @<<
  102.    $(CPP_PROJ) $< 
  103. <<
  104.  
  105. RSC=rc.exe
  106. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\sampclnt.res" /d "_DEBUG" 
  107. BSC32=bscmake.exe
  108. BSC32_FLAGS=/nologo /o"$(OUTDIR)\sampclnt.bsc" 
  109. BSC32_SBRS= \
  110.     
  111. LINK32=link.exe
  112. LINK32_FLAGS=oledb.lib kernel32.lib user32.lib gdi32.lib winspool.lib\
  113.  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\
  114.  /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\sampclnt.pdb" /debug\
  115.  /machine:I386 /out:"$(OUTDIR)\sampclnt.exe"\
  116.  /libpath:"..\..\LIB\$(PROCESSOR_ARCHITECTURE)" 
  117. LINK32_OBJS= \
  118.     "$(INTDIR)\dump.obj" \
  119.     "$(INTDIR)\sampclnt.obj" \
  120.     "$(INTDIR)\sampclnt.res"
  121.  
  122. "$(OUTDIR)\sampclnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  123.     $(LINK32) @<<
  124.   $(LINK32_FLAGS) $(LINK32_OBJS)
  125. <<
  126.  
  127. !ELSEIF  "$(CFG)" == "sampclnt - Win32 x86 Release"
  128.  
  129. OUTDIR=.\x86_Rele
  130. INTDIR=.\x86_Rele
  131. # Begin Custom Macros
  132. OutDir=.\.\x86_Rele
  133. # End Custom Macros
  134.  
  135. !IF "$(RECURSE)" == "0" 
  136.  
  137. ALL : "$(OUTDIR)\sampclnt.exe"
  138.  
  139. !ELSE 
  140.  
  141. ALL : "$(OUTDIR)\sampclnt.exe"
  142.  
  143. !ENDIF 
  144.  
  145. CLEAN :
  146.     -@erase "$(INTDIR)\dump.obj"
  147.     -@erase "$(INTDIR)\sampclnt.obj"
  148.     -@erase "$(INTDIR)\sampclnt.res"
  149.     -@erase "$(INTDIR)\vc50.idb"
  150.     -@erase "$(OUTDIR)\sampclnt.exe"
  151.     -@erase "$(OUTDIR)\sampclnt.ilk"
  152.  
  153. "$(OUTDIR)" :
  154.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  155.  
  156. CPP=cl.exe
  157. CPP_PROJ=/nologo /MD /W3 /Gi /O2 /I "..\..\include" /D "WIN32" /D "_CONSOLE"\
  158.  /Fp"$(INTDIR)\sampclnt.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  159. CPP_OBJS=.\x86_Rele/
  160. CPP_SBRS=.
  161.  
  162. .c{$(CPP_OBJS)}.obj::
  163.    $(CPP) @<<
  164.    $(CPP_PROJ) $< 
  165. <<
  166.  
  167. .cpp{$(CPP_OBJS)}.obj::
  168.    $(CPP) @<<
  169.    $(CPP_PROJ) $< 
  170. <<
  171.  
  172. .cxx{$(CPP_OBJS)}.obj::
  173.    $(CPP) @<<
  174.    $(CPP_PROJ) $< 
  175. <<
  176.  
  177. .c{$(CPP_SBRS)}.sbr::
  178.    $(CPP) @<<
  179.    $(CPP_PROJ) $< 
  180. <<
  181.  
  182. .cpp{$(CPP_SBRS)}.sbr::
  183.    $(CPP) @<<
  184.    $(CPP_PROJ) $< 
  185. <<
  186.  
  187. .cxx{$(CPP_SBRS)}.sbr::
  188.    $(CPP) @<<
  189.    $(CPP_PROJ) $< 
  190. <<
  191.  
  192. RSC=rc.exe
  193. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\sampclnt.res" 
  194. BSC32=bscmake.exe
  195. BSC32_FLAGS=/nologo /o"$(OUTDIR)\sampclnt.bsc" 
  196. BSC32_SBRS= \
  197.     
  198. LINK32=link.exe
  199. LINK32_FLAGS=oledb.lib kernel32.lib user32.lib gdi32.lib winspool.lib\
  200.  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\
  201.  /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\sampclnt.pdb" /machine:I386\
  202.  /out:"$(OUTDIR)\sampclnt.exe" /libpath:"..\..\LIB\$(PROCESSOR_ARCHITECTURE)" 
  203. LINK32_OBJS= \
  204.     "$(INTDIR)\dump.obj" \
  205.     "$(INTDIR)\sampclnt.obj" \
  206.     "$(INTDIR)\sampclnt.res"
  207.  
  208. "$(OUTDIR)\sampclnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  209.     $(LINK32) @<<
  210.   $(LINK32_FLAGS) $(LINK32_OBJS)
  211. <<
  212.  
  213. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Debug"
  214.  
  215. OUTDIR=.\axp_Debu
  216. INTDIR=.\axp_Debu
  217. # Begin Custom Macros
  218. OutDir=.\.\axp_Debu
  219. # End Custom Macros
  220.  
  221. !IF "$(RECURSE)" == "0" 
  222.  
  223. ALL : "$(OUTDIR)\sampclnt.exe"
  224.  
  225. !ELSE 
  226.  
  227. ALL : "$(OUTDIR)\sampclnt.exe"
  228.  
  229. !ENDIF 
  230.  
  231. CLEAN :
  232.     -@erase "$(INTDIR)\dump.obj"
  233.     -@erase "$(INTDIR)\sampclnt.obj"
  234.     -@erase "$(INTDIR)\sampclnt.res"
  235.     -@erase "$(INTDIR)\vc50.idb"
  236.     -@erase "$(INTDIR)\vc50.pdb"
  237.     -@erase "$(OUTDIR)\sampclnt.exe"
  238.     -@erase "$(OUTDIR)\sampclnt.pdb"
  239.  
  240. "$(OUTDIR)" :
  241.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  242.  
  243. CPP=cl.exe
  244. CPP_PROJ=/nologo /Gt0 /W3 /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D\
  245.  "_CONSOLE" /Fp"$(INTDIR)\sampclnt.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\
  246.  /FD /c 
  247. CPP_OBJS=.\axp_Debu/
  248. CPP_SBRS=.
  249.  
  250. .c{$(CPP_OBJS)}.obj::
  251.    $(CPP) @<<
  252.    $(CPP_PROJ) $< 
  253. <<
  254.  
  255. .cpp{$(CPP_OBJS)}.obj::
  256.    $(CPP) @<<
  257.    $(CPP_PROJ) $< 
  258. <<
  259.  
  260. .cxx{$(CPP_OBJS)}.obj::
  261.    $(CPP) @<<
  262.    $(CPP_PROJ) $< 
  263. <<
  264.  
  265. .c{$(CPP_SBRS)}.sbr::
  266.    $(CPP) @<<
  267.    $(CPP_PROJ) $< 
  268. <<
  269.  
  270. .cpp{$(CPP_SBRS)}.sbr::
  271.    $(CPP) @<<
  272.    $(CPP_PROJ) $< 
  273. <<
  274.  
  275. .cxx{$(CPP_SBRS)}.sbr::
  276.    $(CPP) @<<
  277.    $(CPP_PROJ) $< 
  278. <<
  279.  
  280. RSC=rc.exe
  281. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\sampclnt.res" /d "_DEBUG" 
  282. BSC32=bscmake.exe
  283. BSC32_FLAGS=/nologo /o"$(OUTDIR)\sampclnt.bsc" 
  284. BSC32_SBRS= \
  285.     
  286. LINK32=link.exe
  287. LINK32_FLAGS=oledb.lib kernel32.lib user32.lib gdi32.lib winspool.lib\
  288.  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\
  289.  /subsystem:console /pdb:"$(OUTDIR)\sampclnt.pdb" /debug /machine:ALPHA\
  290.  /out:"$(OUTDIR)\sampclnt.exe" /libpath:"..\..\LIB\$(PROCESSOR_ARCHITECTURE)" 
  291. LINK32_OBJS= \
  292.     "$(INTDIR)\dump.obj" \
  293.     "$(INTDIR)\sampclnt.obj" \
  294.     "$(INTDIR)\sampclnt.res"
  295.  
  296. "$(OUTDIR)\sampclnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  297.     $(LINK32) @<<
  298.   $(LINK32_FLAGS) $(LINK32_OBJS)
  299. <<
  300.  
  301. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Release"
  302.  
  303. OUTDIR=.\axp_Rele
  304. INTDIR=.\axp_Rele
  305. # Begin Custom Macros
  306. OutDir=.\.\axp_Rele
  307. # End Custom Macros
  308.  
  309. !IF "$(RECURSE)" == "0" 
  310.  
  311. ALL : "$(OUTDIR)\sampclnt.exe"
  312.  
  313. !ELSE 
  314.  
  315. ALL : "$(OUTDIR)\sampclnt.exe"
  316.  
  317. !ENDIF 
  318.  
  319. CLEAN :
  320.     -@erase "$(INTDIR)\dump.obj"
  321.     -@erase "$(INTDIR)\sampclnt.obj"
  322.     -@erase "$(INTDIR)\sampclnt.res"
  323.     -@erase "$(INTDIR)\vc50.idb"
  324.     -@erase "$(OUTDIR)\sampclnt.exe"
  325.  
  326. "$(OUTDIR)" :
  327.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  328.  
  329. CPP=cl.exe
  330. CPP_PROJ=/nologo /MD /Gt0 /W3 /O2 /I "..\..\include" /D "WIN32" /D "_CONSOLE"\
  331.  /Fp"$(INTDIR)\sampclnt.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  332. CPP_OBJS=.\axp_Rele/
  333. CPP_SBRS=.
  334.  
  335. .c{$(CPP_OBJS)}.obj::
  336.    $(CPP) @<<
  337.    $(CPP_PROJ) $< 
  338. <<
  339.  
  340. .cpp{$(CPP_OBJS)}.obj::
  341.    $(CPP) @<<
  342.    $(CPP_PROJ) $< 
  343. <<
  344.  
  345. .cxx{$(CPP_OBJS)}.obj::
  346.    $(CPP) @<<
  347.    $(CPP_PROJ) $< 
  348. <<
  349.  
  350. .c{$(CPP_SBRS)}.sbr::
  351.    $(CPP) @<<
  352.    $(CPP_PROJ) $< 
  353. <<
  354.  
  355. .cpp{$(CPP_SBRS)}.sbr::
  356.    $(CPP) @<<
  357.    $(CPP_PROJ) $< 
  358. <<
  359.  
  360. .cxx{$(CPP_SBRS)}.sbr::
  361.    $(CPP) @<<
  362.    $(CPP_PROJ) $< 
  363. <<
  364.  
  365. RSC=rc.exe
  366. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\sampclnt.res" /d "_DEBUG" 
  367. BSC32=bscmake.exe
  368. BSC32_FLAGS=/nologo /o"$(OUTDIR)\sampclnt.bsc" 
  369. BSC32_SBRS= \
  370.     
  371. LINK32=link.exe
  372. LINK32_FLAGS=odbc32.lib odbccp32.lib oledb.lib kernel32.lib user32.lib\
  373.  gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib\
  374.  oleaut32.lib uuid.lib /nologo /subsystem:console /pdb:"$(OUTDIR)\sampclnt.pdb"\
  375.  /machine:ALPHA /out:"$(OUTDIR)\sampclnt.exe"\
  376.  /libpath:"..\..\LIB\$(PROCESSOR_ARCHITECTURE)" 
  377. LINK32_OBJS= \
  378.     "$(INTDIR)\dump.obj" \
  379.     "$(INTDIR)\sampclnt.obj" \
  380.     "$(INTDIR)\sampclnt.res"
  381.  
  382. "$(OUTDIR)\sampclnt.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  383.     $(LINK32) @<<
  384.   $(LINK32_FLAGS) $(LINK32_OBJS)
  385. <<
  386.  
  387. !ENDIF 
  388.  
  389.  
  390. !IF "$(CFG)" == "sampclnt - Win32 x86 Debug" || "$(CFG)" ==\
  391.  "sampclnt - Win32 x86 Release" || "$(CFG)" ==\
  392.  "sampclnt - Win32 (ALPHA) axp Debug" || "$(CFG)" ==\
  393.  "sampclnt - Win32 (ALPHA) axp Release"
  394. SOURCE=.\dump.cpp
  395.  
  396. !IF  "$(CFG)" == "sampclnt - Win32 x86 Debug"
  397.  
  398. DEP_CPP_DUMP_=\
  399.     ".\sampclnt.h"\
  400.     {$(INCLUDE)}"oledb.h"\
  401.     {$(INCLUDE)}"oledberr.h"\
  402.     {$(INCLUDE)}"transact.h"\
  403.     
  404.  
  405. "$(INTDIR)\dump.obj" : $(SOURCE) $(DEP_CPP_DUMP_) "$(INTDIR)"
  406.  
  407.  
  408. !ELSEIF  "$(CFG)" == "sampclnt - Win32 x86 Release"
  409.  
  410. DEP_CPP_DUMP_=\
  411.     ".\sampclnt.h"\
  412.     {$(INCLUDE)}"oledb.h"\
  413.     {$(INCLUDE)}"oledberr.h"\
  414.     {$(INCLUDE)}"transact.h"\
  415.     
  416.  
  417. "$(INTDIR)\dump.obj" : $(SOURCE) $(DEP_CPP_DUMP_) "$(INTDIR)"
  418.  
  419.  
  420. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Debug"
  421.  
  422. DEP_CPP_DUMP_=\
  423.     ".\sampclnt.h"\
  424.     {$(INCLUDE)}"oledb.h"\
  425.     {$(INCLUDE)}"oledberr.h"\
  426.     {$(INCLUDE)}"transact.h"\
  427.     
  428.  
  429. "$(INTDIR)\dump.obj" : $(SOURCE) $(DEP_CPP_DUMP_) "$(INTDIR)"
  430.  
  431.  
  432. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Release"
  433.  
  434. DEP_CPP_DUMP_=\
  435.     ".\sampclnt.h"\
  436.     {$(INCLUDE)}"oledb.h"\
  437.     {$(INCLUDE)}"oledberr.h"\
  438.     {$(INCLUDE)}"transact.h"\
  439.     
  440.  
  441. "$(INTDIR)\dump.obj" : $(SOURCE) $(DEP_CPP_DUMP_) "$(INTDIR)"
  442.  
  443.  
  444. !ENDIF 
  445.  
  446. SOURCE=.\sampclnt.cpp
  447.  
  448. !IF  "$(CFG)" == "sampclnt - Win32 x86 Debug"
  449.  
  450. DEP_CPP_SAMPC=\
  451.     ".\sampclnt.h"\
  452.     {$(INCLUDE)}"oledb.h"\
  453.     {$(INCLUDE)}"oledberr.h"\
  454.     {$(INCLUDE)}"transact.h"\
  455.     
  456.  
  457. "$(INTDIR)\sampclnt.obj" : $(SOURCE) $(DEP_CPP_SAMPC) "$(INTDIR)"
  458.  
  459.  
  460. !ELSEIF  "$(CFG)" == "sampclnt - Win32 x86 Release"
  461.  
  462. DEP_CPP_SAMPC=\
  463.     ".\sampclnt.h"\
  464.     {$(INCLUDE)}"oledb.h"\
  465.     {$(INCLUDE)}"oledberr.h"\
  466.     {$(INCLUDE)}"transact.h"\
  467.     
  468.  
  469. "$(INTDIR)\sampclnt.obj" : $(SOURCE) $(DEP_CPP_SAMPC) "$(INTDIR)"
  470.  
  471.  
  472. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Debug"
  473.  
  474. DEP_CPP_SAMPC=\
  475.     ".\sampclnt.h"\
  476.     {$(INCLUDE)}"oledb.h"\
  477.     {$(INCLUDE)}"oledberr.h"\
  478.     {$(INCLUDE)}"transact.h"\
  479.     
  480.  
  481. "$(INTDIR)\sampclnt.obj" : $(SOURCE) $(DEP_CPP_SAMPC) "$(INTDIR)"
  482.  
  483.  
  484. !ELSEIF  "$(CFG)" == "sampclnt - Win32 (ALPHA) axp Release"
  485.  
  486. DEP_CPP_SAMPC=\
  487.     ".\sampclnt.h"\
  488.     {$(INCLUDE)}"oledb.h"\
  489.     {$(INCLUDE)}"oledberr.h"\
  490.     {$(INCLUDE)}"transact.h"\
  491.     
  492.  
  493. "$(INTDIR)\sampclnt.obj" : $(SOURCE) $(DEP_CPP_SAMPC) "$(INTDIR)"
  494.  
  495.  
  496. !ENDIF 
  497.  
  498. SOURCE=.\sampclnt.rc
  499. DEP_RSC_SAMPCL=\
  500.     ".\sampclnt.rc2"\
  501.     ".\sampver.h"\
  502.     
  503.  
  504. "$(INTDIR)\sampclnt.res" : $(SOURCE) $(DEP_RSC_SAMPCL) "$(INTDIR)"
  505.     $(RSC) $(RSC_PROJ) $(SOURCE)
  506.  
  507.  
  508.  
  509. !ENDIF 
  510.  
  511.