6 CLEANDIRS
= $(SUBDIRS
) tests
8 .PHONY
: all all-recursive
11 all-recursive
: $(SUBDIRS
)
12 @list
='$^'; for
dir in
$$list; do \
13 echo
-e
"\\n... Building $$dir"; \
14 $(SUBMAKE
) -C
$$dir || exit
1; \
17 .PHONY
: deps deps-recursive
20 deps-recursive
: $(SUBDIRS
)
21 @list
='$^'; for
dir in
$$list; do \
22 echo
-e
"\\n... Generating dependency information for $$dir"; \
23 $(SUBMAKE
) -C
$$dir deps || exit
1; \
26 .PHONY
: install install-local install-recursive
27 install: install-local install-recursive
28 install-local
: install-bin
30 install-bin
: eruntime-config
31 @
dir='$(DESTDIR)$(bindir)'; \
32 $(INSTALL_DIR
) $(DESTDIR
)$(bindir) || exit
1; \
33 list
='$^'; for bin in
$$list; do \
34 echo
"Installing $$bin..."; \
35 $(INSTALL_BIN
) $$bin $$dir || exit
1; \
38 install-recursive
: $(SUBDIRS
)
39 @list
='$^'; for
dir in
$$list; do \
40 echo
-e
"\\n... Installing from $$dir"; \
41 $(SUBMAKE
) -C
$$dir install || exit
1; \
46 @echo
-e
"\\n... Building tests"; \
47 $(SUBMAKE
) -C tests
all || exit
1; \
48 echo
-e
"\\n... Running tests"; \
49 $(SUBMAKE
) -C tests
check
51 .PHONY
: clean clean-recursive
52 clean: clean-recursive
54 clean-recursive
: $(CLEANDIRS
)
56 for
dir in
$$list; do \
57 echo
-e
"\\n... Cleaning $$dir"; \
58 $(SUBMAKE
) -C
$$dir clean || exit
1; \
61 # vim: ts=8 sw=8 noet fdm=marker tw=80