home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / automake-1.1e-bin.lha / share / automake / subdirs.am < prev    next >
Encoding:
Text File  |  1996-10-12  |  1.8 KB  |  39 lines

  1. ## automake - create Makefile.in from Makefile.am
  2. ## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
  3.  
  4. ## This program is free software; you can redistribute it and/or modify
  5. ## it under the terms of the GNU General Public License as published by
  6. ## the Free Software Foundation; either version 2, or (at your option)
  7. ## any later version.
  8.  
  9. ## This program is distributed in the hope that it will be useful,
  10. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ## GNU General Public License for more details.
  13.  
  14. ## You should have received a copy of the GNU General Public License
  15. ## along with this program; if not, write to the Free Software
  16. ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  17. ## 02111-1307, USA.
  18. # This directory's subdirectories are mostly independent; you can cd
  19. # into them and run `make' without going through this Makefile.
  20. # To change the values of `make' variables: instead of editing Makefiles,
  21. # (1) if the variable is set in `config.status', edit `config.status'
  22. #     (which will cause the Makefiles to be regenerated when you run `make');
  23. # (2) otherwise, pass the desired values on the `make' command line.
  24.  
  25. @SET_MAKE@
  26.  
  27. all-recursive install-data-recursive install-exec-recursive \
  28. installdirs-recursive install-recursive uninstall-recursive \
  29. check-recursive installcheck-recursive info-recursive dvi-recursive \
  30. mostlyclean-recursive clean-recursive distclean-recursive \
  31. maintainer-clean-recursive:
  32.     for subdir in $(SUBDIRS); do        \
  33.       target=`echo $@ | sed s/-recursive//`; \
  34.       (cd $$subdir && $(MAKE) $$target)    \
  35. ## This trick allows "-k" to keep its natural meaning when running a
  36. ## recursive rule.
  37.        || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
  38.     done && test -z "$$fail"
  39.