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

  1. !IFNDEF NETSAMPLEPATH
  2. !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
  3. !ENDIF
  4.  
  5. !include $(NETSAMPLEPATH)\QuickStart\master.mak
  6.  
  7.  
  8. #--------------------------------------------------
  9. TARGETS = $(_OUTDIR)\TemplateControlSamplesJS.dll
  10. SOURCES = Template1.js Repeater1.js Repeater2.js RepeaterItem.js RepeaterItemCollection.js
  11. CLEANUP = $(_OUTDIR)\TemplateControlSamplesJS.dll \
  12.   $(_OUTDIR)\TemplateControlSamplesJS.pdb
  13. #--------------------------------------------------
  14. _IMPORTS=/r:System.Web.dll /r:System.dll
  15. _OUTDIR=$(NETSAMPLEPATH)\QuickStart\ASPPlus\Bin
  16.  
  17. #--------------------------------------------------
  18. all : $(TARGETS)
  19.   rem Sample $(MAKEDIR)
  20.  
  21. $(_OUTDIR)\TemplateControlSamplesJS.dll : $(SOURCES)
  22.   if not exist $(_OUTDIR) md $(_OUTDIR)
  23.   $(_JS) $(_JS_DLL_FLAGS) $(_IMPORTS) /out:$@ $(SOURCES) $(NETSAMPLEPATH)\QuickStart\QSVersion.js $(_WIN32RES) $(_KEYFILE)
  24.  
  25. clean :
  26.   for %i in ( $(CLEANUP) ) do if exist %i del %i
  27. #--------------------------------------------------
  28.