From 3bb5d9449078c07fa99b593b78cdcc2165badcdd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Nov 2005 14:33:33 +0000 Subject: Rework. --- testsuites/itrontests/itrontask04/Makefile.am | 39 ++++++--------------------- 1 file changed, 8 insertions(+), 31 deletions(-) (limited to 'testsuites/itrontests/itrontask04/Makefile.am') diff --git a/testsuites/itrontests/itrontask04/Makefile.am b/testsuites/itrontests/itrontask04/Makefile.am index 54ad92fc56..9672582ba1 100644 --- a/testsuites/itrontests/itrontask04/Makefile.am +++ b/testsuites/itrontests/itrontask04/Makefile.am @@ -9,48 +9,25 @@ MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task1.c task2.c task3.c system.h -DOCS = itrontask04.doc itrontask04.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = itrontask04.scn +docdir = $(testsdir) +dist_doc_DATA = itrontask04.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/itrontask04.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/itrontests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/itrontests - @: > $(project_bspdir)/tests/screens/itrontests/$(dirstamp) - -$(project_bspdir)/tests/screens/itrontests/itrontask04.scn: itrontask04.scn $(project_bspdir)/tests/screens/itrontests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = \ -$(project_bspdir)/tests/itrontask04.exe \ -$(project_bspdir)/tests/screens/itrontests/itrontask04.scn - $(PGM): ${ARCH}/$(dirstamp) - - AM_CPPFLAGS += -I$(top_srcdir)/../support/include -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(TMPINSTALL_FILES) - -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