Edit

kc3-lang/automake/subdirs.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1995-11-12 22:22:09
    Hash : 8b782c88
    Message : (TAGS): Include $(CONFIG_HEADER) when making tags.

  • subdirs.am
  • # This directory's subdirectories are mostly independent; you can cd
    # into them and run `make' without going through this Makefile.
    # To change the values of `make' variables: instead of editing Makefiles,
    # (1) if the variable is set in `config.status', edit `config.status'
    #     (which will cause the Makefiles to be regenerated when you run `make');
    # (2) otherwise, pass the desired values on the `make' command line.
    
    @SET_MAKE@
    
    all install install-info uninstall check info dvi id ID::
    	for subdir in $(SUBDIRS); do \
    	  echo making $@ in $$subdir ; \
    	  (cd $$subdir; $(MAKE) $@); \
    	done
    
    tags TAGS::
    	tags=;					\
    	for subdir in $(SUBDIRS); do		\
    	  (cd $$subdir && $(MAKE) TAGS);	\
    	  if test -f $$subdir/TAGS; then	\
    	    tags="$$tags -i $$subdir/TAGS";	\
    	  fi;					\
    	done;					\
    	etags $$tags $(CONFIG_HEADER)
    
    mostlyclean: mostlyclean-recursive mostlyclean-local
    
    clean: clean-recursive clean-local
    
    distclean: distclean-recursive
    	$(MAKE) distclean-local
    	       
    maintainer-clean: maintainer-clean-recursive
    	@echo "This command is intended for maintainers to use;"
    	@echo "it deletes files that may require special tools to rebuild."
    	$(MAKE) realclean-local
    
    mostlyclean-recursive clean-recursive distclean-recursive maintainer-clean-recursive:
    	for subdir in $(SUBDIRS); do \
    	  (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`); \
    	done
    
    mostlyclean-local:
    
    clean-local: mostlyclean-local
    
    distclean-local: clean-local
    	rm -f Makefile config.cache config.log config.status
    	rm -f ${CONFIG_HEADER} stamp-h
    
    maintainer-clean-local: distclean-local
    	rm -f TAGS
    
    
    # Tell versions [3.59,3.63) of GNU make to not export all variables.
    # Otherwise a system limit (for SysV at least) may be exceeded.
    .NOEXPORT: