home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_83________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-18  |  1.1 KB  |  31 lines

  1. !IFNDEF NETSAMPLEPATH
  2. !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
  3. !ENDIF
  4.  
  5. #--------------------------------------------------
  6. _NAMESPACE = ""
  7. !include $(NETSAMPLEPATH)\QuickStart\master.mak
  8. #--------------------------------------------------
  9. TARGETS = $(_OUTDIR)\DataService.dll
  10. SOURCES = DataService.Asmx.cs DataServiceClient.Aspx.cs "Web References\localhost\DataService.cs"
  11. CLEANUP = $(_OUTDIR)\DataService.dll \
  12.   $(_OUTDIR)\DataService.pdb \
  13.   "Web References\localhost\DataService.cs"
  14. #--------------------------------------------------
  15. _IMPORTS=/r:System.dll /r:System.Web.Services.dll /r:System.XML.dll /r:System.Web.dll /r:System.Data.dll /r:System.Drawing.dll
  16. _OUTDIR=.\bin
  17.  
  18. #--------------------------------------------------
  19. all : $(TARGETS)
  20.   rem Sample $(MAKEDIR)
  21.  
  22. $(TARGETS) : $(SOURCES)
  23.   if not exist $(_OUTDIR) md $(_OUTDIR)
  24.   $(_CS) $(_CS_DLL_FLAGS) $(_IMPORTS) /out:$@ $** $(_WIN32RES) $(_KEYFILE)
  25.  
  26. clean :
  27.     for %i in ( $(CLEANUP) ) do if exist %i del %i
  28.     if exist obj $(_RMDIR) obj
  29.     if exist bin $(_RMDIR) bin
  30. #--------------------------------------------------
  31.