From 3bb5d9449078c07fa99b593b78cdcc2165badcdd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Nov 2005 14:33:33 +0000 Subject: Rework. --- testsuites/tmtests/tm16/Makefile.am | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'testsuites/tmtests/tm16/Makefile.am') diff --git a/testsuites/tmtests/tm16/Makefile.am b/testsuites/tmtests/tm16/Makefile.am index ed2360afca..d554d24c8b 100644 --- a/testsuites/tmtests/tm16/Makefile.am +++ b/testsuites/tmtests/tm16/Makefile.am @@ -2,49 +2,33 @@ ## $Id$ ## - MANAGERS = io event noinst_LIBRARIES = lib.a lib_a_SOURCES = task1.c system.h ../include/timesys.h -DOCS = tm16.doc +testsdir = $(libdir)/tests +docdir = $(testsdir) +dist_doc_DATA = tm16.doc OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/tm16.exe 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/tm16.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/tm16.exe - $(PGM): ${ARCH}/$(dirstamp) - OPERATION_COUNT = @OPERATION_COUNT@ AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT) AM_CPPFLAGS += -I$(top_srcdir)/../support/include -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(TMPINSTALL_FILES) +tests_SCRIPTS = $(PGM) -EXTRA_DIST = $(DOCS) - -CLEANFILES = $(TMPINSTALL_FILES) +$(PGM): $(OBJS) $(LINK_FILES) + $(make-exe) include $(top_srcdir)/../automake/local.am -- cgit v1.2.3