From 564dcf4213507906c21e698cd89d510d73bc7f91 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Nov 2005 14:41:53 +0000 Subject: Rework. --- testsuites/mptests/mp07/node2/Makefile.am | 42 ++++++------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) (limited to 'testsuites/mptests/mp07/node2/Makefile.am') diff --git a/testsuites/mptests/mp07/node2/Makefile.am b/testsuites/mptests/mp07/node2/Makefile.am index 5198142adc..167f51a937 100644 --- a/testsuites/mptests/mp07/node2/Makefile.am +++ b/testsuites/mptests/mp07/node2/Makefile.am @@ -9,53 +9,27 @@ MANAGERS = io mp event timer noinst_LIBRARIES = lib.a lib_a_SOURCES = ../init.c ../task1.c ../system.h -DOCS = mp07-node2.doc mp07-node2.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = mp07-node2.scn +docdir = $(testsdir) +dist_doc_DATA = mp07-node2.doc OBJS = $(lib_a_OBJECTS) - include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am -project_bspdir=$(PROJECT_ROOT) - -$(project_bspdir)/tests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests - @: > $(project_bspdir)/tests/$(dirstamp) - -$(project_bspdir)/tests/mp07-node2.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/mptests/node2/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/mptests/node2 - @: > $(project_bspdir)/tests/screens/mptests/node2/$(dirstamp) - -$(project_bspdir)/tests/screens/mptests/node2/mp07-node2.scn: mp07-node2.scn $(project_bspdir)/tests/screens/mptests/node2/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/mp07-node2.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/mptests/node2/mp07-node2.scn - $(PGM): ${ARCH}/$(dirstamp) AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. -if HAS_MP - - AM_CPPFLAGS += -I$(top_srcdir)/../support/include -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(TMPINSTALL_FILES) -else -all-local: -endif - -EXTRA_DIST = $(DOCS) +tests_SCRIPTS = $(PGM) -CLEANFILES = $(TMPINSTALL_FILES) +$(PGM): $(OBJS) $(LINK_FILES) + $(make-exe) include $(top_srcdir)/../automake/local.am -- cgit v1.2.3