#
|
#
|
# directory.cfg,v 1.9 1999/11/22 13:36:46 joel Exp
|
# directory.cfg,v 1.9 1999/11/22 13:36:46 joel Exp
|
#
|
#
|
# make/directory.cfg
|
# make/directory.cfg
|
#
|
#
|
# Make(1) configuration file include'd by all directory-level Makefile's.
|
# Make(1) configuration file include'd by all directory-level Makefile's.
|
#
|
#
|
# See also make/main.cfg
|
# See also make/main.cfg
|
#
|
#
|
|
|
# This is a simplified variant of automake-1.4's rule for handling
|
# This is a simplified variant of automake-1.4's rule for handling
|
# subdirectories
|
# subdirectories
|
$(RECURSE_TARGETS):
|
$(RECURSE_TARGETS):
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
dot_seen=no; \
|
dot_seen=no; \
|
target=`echo $@ | sed -e s/-recursive// -e s/debug_// -e s/profile_// `; \
|
target=`echo $@ | sed -e s/-recursive// -e s/debug_// -e s/profile_// `; \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
local_target="$$target"; \
|
local_target="$$target"; \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
done && test -z "$$fail"
|
done && test -z "$$fail"
|
|
|
|
|
# mostlyclean-recursive maintainer-clean-recursive:
|
# mostlyclean-recursive maintainer-clean-recursive:
|
clean-recursive \
|
clean-recursive \
|
distclean-recursive:
|
distclean-recursive:
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
dot_seen=no; \
|
dot_seen=no; \
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
rev="$$subdir $$rev"; \
|
rev="$$subdir $$rev"; \
|
test "$$subdir" = "." && dot_seen=yes; \
|
test "$$subdir" = "." && dot_seen=yes; \
|
done; \
|
done; \
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
for subdir in $$rev; do \
|
for subdir in $$rev; do \
|
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
if test "$$subdir" = "."; then \
|
if test "$$subdir" = "."; then \
|
local_target="$$target-am"; \
|
local_target="$$target-am"; \
|
else \
|
else \
|
local_target="$$target"; \
|
local_target="$$target"; \
|
fi; \
|
fi; \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
done && test -z "$$fail"
|
done && test -z "$$fail"
|
|
|
clean-am: clean-generic
|
clean-am: clean-generic
|
distclean-am: distclean-generic clean-am
|
distclean-am: distclean-generic clean-am
|
|
|
preinstall: preinstall-recursive
|
preinstall: preinstall-recursive
|
.PHONY: preinstall preinstall-am preinstall-recursive
|
.PHONY: preinstall preinstall-am preinstall-recursive
|
|
|
distclean: distclean-recursive
|
distclean: distclean-recursive
|
-$(RM) config.status
|
-$(RM) config.status
|
|
|
.PHONY: distclean distclean-am distclean-recursive
|
.PHONY: distclean distclean-am distclean-recursive
|
|
|
clean: clean-recursive
|
clean: clean-recursive
|
.PHONY: clean clean-am clean-recursive
|
.PHONY: clean clean-am clean-recursive
|
|
|
|
|