summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp09
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-11 08:22:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-11 08:22:25 +0000
commit685e9cd368514b24ae8662c9717b26d99e5e6e01 (patch)
treeb228d262f089dc11be485e87aa84befc7666513e /testsuites/mptests/mp09
parent2005-11-11 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-685e9cd368514b24ae8662c9717b26d99e5e6e01.tar.bz2
Expand mptests.am.
Diffstat (limited to 'testsuites/mptests/mp09')
-rw-r--r--testsuites/mptests/mp09/node1/Makefile.am23
-rw-r--r--testsuites/mptests/mp09/node2/Makefile.am23
2 files changed, 44 insertions, 2 deletions
diff --git a/testsuites/mptests/mp09/node1/Makefile.am b/testsuites/mptests/mp09/node1/Makefile.am
index 38996c1793..95253efda2 100644
--- a/testsuites/mptests/mp09/node1/Makefile.am
+++ b/testsuites/mptests/mp09/node1/Makefile.am
@@ -19,7 +19,28 @@ OBJS = $(lib_a_OBJECTS)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-include $(top_srcdir)/mptests.am
+
+project_bspdir=$(PROJECT_ROOT)
+
+$(project_bspdir)/tests/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests
+ @: > $(project_bspdir)/tests/$(dirstamp)
+
+$(project_bspdir)/tests/$(TEST)-node$(NODE).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
+ $(INSTALL_PROGRAM) $< $@
+
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests/screens/mptests/node$(NODE)
+ @: > $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp)
+
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp)
+ $(INSTALL_DATA) $< $@
+
+TMPINSTALL_FILES = \
+$(project_bspdir)/tests/$(TEST)-node$(NODE).exe \
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn
+
+$(PGM): ${ARCH}/$(dirstamp)
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
diff --git a/testsuites/mptests/mp09/node2/Makefile.am b/testsuites/mptests/mp09/node2/Makefile.am
index 58a99f158f..a7c5837f85 100644
--- a/testsuites/mptests/mp09/node2/Makefile.am
+++ b/testsuites/mptests/mp09/node2/Makefile.am
@@ -19,7 +19,28 @@ OBJS = $(lib_a_OBJECTS)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-include $(top_srcdir)/mptests.am
+
+project_bspdir=$(PROJECT_ROOT)
+
+$(project_bspdir)/tests/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests
+ @: > $(project_bspdir)/tests/$(dirstamp)
+
+$(project_bspdir)/tests/$(TEST)-node$(NODE).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
+ $(INSTALL_PROGRAM) $< $@
+
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp):
+ @$(mkdir_p) $(project_bspdir)/tests/screens/mptests/node$(NODE)
+ @: > $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp)
+
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp)
+ $(INSTALL_DATA) $< $@
+
+TMPINSTALL_FILES = \
+$(project_bspdir)/tests/$(TEST)-node$(NODE).exe \
+$(project_bspdir)/tests/screens/mptests/node$(NODE)/$(TEST).scn
+
+$(PGM): ${ARCH}/$(dirstamp)
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..