home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_685________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-27  |  618 b   |  30 lines

  1. #
  2. #  ASPXToADO makefile
  3.  
  4. # Edit this to identify the installed location of msado15.dll
  5. !ifndef ADOLOCATION
  6. !ifndef COMMONPROGRAMFILES
  7. !error Set ADOLOCATION environment variable to point to the location of msado15.dll
  8. !else
  9. ADOLOCATION=$(COMMONPROGRAMFILES)\System\ado
  10. !endif
  11. !endif
  12.  
  13. # Set bin directory.
  14. _BIN=.\bin
  15. _ADODB=$(_BIN)\ADODB.DLL
  16. #
  17.  
  18. all:    $(_ADODB)
  19.  
  20. $(_ADODB):
  21.     cscript CreateVRoot.vbs -q    
  22.     if not exist $(_BIN) md $(_BIN)
  23.     tlbimp "$(ADOLOCATION)\msado15.dll" /silent /out:$@
  24.  
  25.  
  26. clean:
  27.     -@if exist $(_ADODB) erase $(_ADODB) /S /Q
  28.     cscript CreateVRoot.vbs -u -q
  29.