source: rtems/c/src/make/directory.cfg @ 116ef2e9

4.115
Last change on this file since 116ef2e9 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# make/directory.cfg
2#
3#   Make(1) configuration file include'd by all directory-level Makefile's.
4#
5#   See also make/main.cfg
6#
7
8# This is a simplified variant of automake-1.4's rule for handling
9# subdirectories
10$(RECURSE_TARGETS):
11        @set fnord $(MAKEFLAGS); amf=$$2; \
12        dot_seen=no; \
13        target=`echo $@ | sed -e s/-recursive// -e s/debug_// `; \
14        list='$(SUBDIRS)'; for subdir in $$list; do \
15          echo "Making $$target in $$subdir"; \
16          local_target="$$target"; \
17          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
18           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
19        done && test -z "$$fail"
20
21
22# mostlyclean-recursive maintainer-clean-recursive:
23clean-recursive \
24distclean-recursive:
25        @set fnord $(MAKEFLAGS); amf=$$2; \
26        dot_seen=no; \
27        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
28          rev="$$subdir $$rev"; \
29          test "$$subdir" = "." && dot_seen=yes; \
30        done; \
31        test "$$dot_seen" = "no" && rev=". $$rev"; \
32        target=`echo $@ | sed s/-recursive//`; \
33        for subdir in $$rev; do \
34          echo "Making $$target in $$subdir"; \
35          if test "$$subdir" = "."; then \
36            local_target="$$target-am"; \
37          else \
38            local_target="$$target"; \
39          fi; \
40          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
42        done && test -z "$$fail"
43
44clean-am: clean-generic
45distclean-am: distclean-generic clean-am
46
47preinstall: preinstall-recursive
48.PHONY: preinstall preinstall-am preinstall-recursive
49
50distclean: distclean-recursive
51        -$(RM) config.status
52
53.PHONY: distclean distclean-am distclean-recursive
54
55clean: clean-recursive
56.PHONY: clean clean-am clean-recursive
57
Note: See TracBrowser for help on using the repository browser.