diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/tools/generic/Makefile.am | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/testsuites/tools/generic/Makefile.am b/testsuites/tools/generic/Makefile.am index 7406624ef4..ef28bd6ca2 100644 --- a/testsuites/tools/generic/Makefile.am +++ b/testsuites/tools/generic/Makefile.am @@ -5,12 +5,25 @@ AUTOMAKE_OPTIONS = foreign 1.4 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -noinst_SCRIPTS=difftest sorttimes +noinst_SCRIPTS = difftest sorttimes + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +PREINSTALL_DIRS = $(project_bspdir)/tests +PREINSTALL_FILES = \ + $(project_bspdir)/tests/difftest \ + $(project_bspdir)/tests/sorttimes + +$(PREINSTALL_DIRS): + @$(mkinstalldirs) $@ + +$(project_bspdir)/tests/difftest: difftest + $(INSTALL_SCRIPT) $< $@ + +$(project_bspdir)/tests/sorttimes: sorttimes + $(INSTALL_SCRIPT) $< $@ # HACK: install to build-tree -all-local: $(SCRIPTS) - $(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) difftest $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) sorttimes $(PROJECT_ROOT)/@RTEMS_BSP@/tests +all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) include $(top_srcdir)/../../../../../automake/local.am |