home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume23 / crack / part01 / Scripts / crack.mf < prev    next >
Encoding:
Text File  |  1991-09-22  |  786 b   |  40 lines

  1. ###
  2. # This program written by ADE Muffett (aem@aber.ac.uk), August 1991,
  3. # as part of the 'Crack' password cracking package.
  4. ###
  5.  
  6. ###
  7. # Add other dictionaries here, absolute path, or relative to $CRACK_HOME
  8. #
  9. DICTSRC=    /usr/dict/words DictSrc/*
  10.  
  11. ###
  12. # Not-so configurable bitz...
  13. ###
  14. PPDRIVER=    Scripts/do_dicts
  15. SRCDIR=        Sources
  16. DICTDIR=    Dicts
  17. DS=        $(DICTDIR)/dictstamp
  18.  
  19. dictstamp:    $(DS)
  20.  
  21. ###
  22. # You could have a dependency here, but it would make an awfful mess of
  23. # using wildcards
  24. $(DS):
  25.         @echo Using Sources '$(DICTSRC)'
  26.         $(PPDRIVER) $$CRACK_ARCH $(DICTSRC)
  27.         touch $(DS)
  28.  
  29. cleanprogs:
  30.         -( cd $(SRCDIR) && make clean )
  31.  
  32. clean:        cleanprogs
  33.         -rm -f Runtime/die.* Runtime/pnt.* dict.? tmp.* nohup.out
  34.  
  35. spotless:    clean
  36.         -( cd $(DICTDIR) && rm dict* )
  37.         -rm -f out.*
  38.         -Scripts/mrgfbk
  39.  
  40.