diff options
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/tools')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/tools/Makefile.am | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/unix/posix/tools/Makefile.am b/c/src/lib/libbsp/unix/posix/tools/Makefile.am index 63929b60fc..6b498aa16a 100644 --- a/c/src/lib/libbsp/unix/posix/tools/Makefile.am +++ b/c/src/lib/libbsp/unix/posix/tools/Makefile.am @@ -7,15 +7,31 @@ ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal if PERL perl_scripts = shmdump semdump +PERL_TMPINSTALL_FILES = $(PROJECT_ROOT)/posix/tests/shmdump \ + $(PROJECT_ROOT)/posix/tests/semdump endif -noinst_SCRIPTS=runtest looptest $(perl_scripts) +noinst_SCRIPTS = runtest looptest $(perl_scripts) + +$(PROJECT_ROOT)/posix/tests: + $(mkinstalldirs) $@ + +$(PROJECT_ROOT)/posix/tests/runtest: runtest + $(INSTALL_SCRIPT) $< $@ + +$(PROJECT_ROOT)/posix/tests/looptest: looptest + $(INSTALL_SCRIPT) $< $@ + +$(PROJECT_ROOT)/posix/tests/shmdump: shmdump + $(INSTALL_SCRIPT) $< $@ + +$(PROJECT_ROOT)/posix/tests/semdump: semdump + $(INSTALL_SCRIPT) $< $@ + +TMPINSTALL_FILES += $(PROJECT_ROOT)/posix/tests \ + $(PROJECT_ROOT)/posix/tests/runtest $(PROJECT_ROOT)/posix/tests/looptest ## HACK: install to build-tree -all-local: $(SCRIPTS) - $(mkinstalldirs) $(PROJECT_ROOT)/posix/tests - for i in $(SCRIPTS); do \ - $(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/posix/tests ; \ - done +all-local: $(TMPINSTALL_FILES) $(PERL_TMPINSTALL_FILES) -include $(top_srcdir)/../../../../../../../automake/local.am +include $(top_srcdir)/../../../../../../../automake/host.am |