diff options
Diffstat (limited to 'testsuites/automake/subdirs.am')
-rw-r--r-- | testsuites/automake/subdirs.am | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/testsuites/automake/subdirs.am b/testsuites/automake/subdirs.am deleted file mode 100644 index a566774bab..0000000000 --- a/testsuites/automake/subdirs.am +++ /dev/null @@ -1,28 +0,0 @@ -## Borrowed from automake/subdir.am which borrowed automake-1.4 and adapted to RTEMS - -## NOTE: This is a temporary work-around until automake is removed from RTEMS. -## It is a hack within many hacks and is designed to keep the source as clean -## as possible. - -define TESTDIR -.PHONY: $1 -$1: - @+set fnord $(MAKEFLAGS); \ - if test "$(1)" != "."; then \ - target=`echo $(MAKECMDGOALS) | sed s/-recursive//`; \ - if test "$$$$target" = "all-local-am"; then \ - target="all-am"; \ - fi; \ - if test "$$$$target" = "all-local"; then \ - target="all"; \ - fi; \ - echo "Making $$$$target in $(1)"; \ - cd $(1); \ - $(MAKE) $(AM_MAKEFLAGS) TEST_FLAGS="$$$$test_FLAGS" $$$$target; \ - fi; -endef - -$(foreach T,$(_SUBDIRS),$(eval $(call TESTDIR,$(strip $(T))))) - -all-local: $(_SUBDIRS) -clean-local: $(_SUBDIRS) |