From 3bb5d9449078c07fa99b593b78cdcc2165badcdd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Nov 2005 14:33:33 +0000 Subject: Rework. --- testsuites/psxtests/psx01/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx02/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx03/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx04/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx05/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx06/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx07/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx08/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx09/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx10/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx11/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx12/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psx13/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxcancel/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxchroot01/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxfile01/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxmount/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxmsgq01/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxreaddir/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxsem01/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxstat/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxtime/Makefile.am | 36 +++++------------------------ testsuites/psxtests/psxtimer/Makefile.am | 36 +++++------------------------ 23 files changed, 138 insertions(+), 690 deletions(-) (limited to 'testsuites/psxtests') diff --git a/testsuites/psxtests/psx01/Makefile.am b/testsuites/psxtests/psx01/Makefile.am index 14a400468d..8ae52652e7 100644 --- a/testsuites/psxtests/psx01/Makefile.am +++ b/testsuites/psxtests/psx01/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx01.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx01.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx01.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/psx01.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx01.scn: psx01.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx01.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx01.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx02/Makefile.am b/testsuites/psxtests/psx02/Makefile.am index 9a30041ff8..81f73c4776 100644 --- a/testsuites/psxtests/psx02/Makefile.am +++ b/testsuites/psxtests/psx02/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx02.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx02.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx02.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/psx02.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx02.scn: psx02.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx02.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx02.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx03/Makefile.am b/testsuites/psxtests/psx03/Makefile.am index 50b2422e2c..2829ec1f8c 100644 --- a/testsuites/psxtests/psx03/Makefile.am +++ b/testsuites/psxtests/psx03/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx03.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx03.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx03.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/psx03.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx03.scn: psx03.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx03.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx03.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx04/Makefile.am b/testsuites/psxtests/psx04/Makefile.am index 115f1d254d..aed2764356 100644 --- a/testsuites/psxtests/psx04/Makefile.am +++ b/testsuites/psxtests/psx04/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h -DOCS = psx04.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx04.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx04.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/psx04.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx04.scn: psx04.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx04.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx04.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx05/Makefile.am b/testsuites/psxtests/psx05/Makefile.am index 22d25351fb..75fd488728 100644 --- a/testsuites/psxtests/psx05/Makefile.am +++ b/testsuites/psxtests/psx05/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h -DOCS = psx05.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx05.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx05.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/psx05.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx05.scn: psx05.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx05.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx05.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx06/Makefile.am b/testsuites/psxtests/psx06/Makefile.am index 28b17351e7..2c1a376b14 100644 --- a/testsuites/psxtests/psx06/Makefile.am +++ b/testsuites/psxtests/psx06/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c task2.c system.h ../include/pmacros.h -DOCS = psx06.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx06.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx06.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/psx06.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx06.scn: psx06.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx06.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx06.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx07/Makefile.am b/testsuites/psxtests/psx07/Makefile.am index df667945ed..61a33fbb37 100644 --- a/testsuites/psxtests/psx07/Makefile.am +++ b/testsuites/psxtests/psx07/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx07.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx07.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx07.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/psx07.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx07.scn: psx07.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx07.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx07.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx08/Makefile.am b/testsuites/psxtests/psx08/Makefile.am index 4c424c9187..5a2d16533c 100644 --- a/testsuites/psxtests/psx08/Makefile.am +++ b/testsuites/psxtests/psx08/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h -DOCS = psx08.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx08.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx08.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/psx08.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx08.scn: psx08.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx08.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx08.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx09/Makefile.am b/testsuites/psxtests/psx09/Makefile.am index 0aa2621336..32897b9f54 100644 --- a/testsuites/psxtests/psx09/Makefile.am +++ b/testsuites/psxtests/psx09/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c system.h ../include/pmacros.h -DOCS = psx09.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx09.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx09.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/psx09.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx09.scn: psx09.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx09.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx09.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx10/Makefile.am b/testsuites/psxtests/psx10/Makefile.am index cd21edbe08..48a22ef5b3 100644 --- a/testsuites/psxtests/psx10/Makefile.am +++ b/testsuites/psxtests/psx10/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h -DOCS = psx10.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx10.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx10.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/psx10.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx10.scn: psx10.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx10.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx10.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx11/Makefile.am b/testsuites/psxtests/psx11/Makefile.am index af36df8a80..e90abbe9a8 100644 --- a/testsuites/psxtests/psx11/Makefile.am +++ b/testsuites/psxtests/psx11/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx11.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx11.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx11.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/psx11.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx11.scn: psx11.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx11.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx11.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx12/Makefile.am b/testsuites/psxtests/psx12/Makefile.am index 4cf2a464b3..360cd916dc 100644 --- a/testsuites/psxtests/psx12/Makefile.am +++ b/testsuites/psxtests/psx12/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h -DOCS = psx12.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx12.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx12.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/psx12.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx12.scn: psx12.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx12.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx12.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psx13/Makefile.am b/testsuites/psxtests/psx13/Makefile.am index 968b959926..cf215e755f 100644 --- a/testsuites/psxtests/psx13/Makefile.am +++ b/testsuites/psxtests/psx13/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psx13.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psx13.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psx13.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/psx13.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psx13.scn: psx13.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psx13.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psx13.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxcancel/Makefile.am b/testsuites/psxtests/psxcancel/Makefile.am index 6b7b3efdef..9cb672f468 100644 --- a/testsuites/psxtests/psxcancel/Makefile.am +++ b/testsuites/psxtests/psxcancel/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c ../include/pmacros.h -DOCS = psxcancel.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxcancel.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxcancel.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/psxcancel.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxcancel.scn: psxcancel.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxcancel.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxcancel.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxchroot01/Makefile.am b/testsuites/psxtests/psxchroot01/Makefile.am index cc351e9bac..b046a166b7 100644 --- a/testsuites/psxtests/psxchroot01/Makefile.am +++ b/testsuites/psxtests/psxchroot01/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psxchroot01.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxchroot01.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxchroot01.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/psxchroot01.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxchroot01.scn: psxchroot01.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxchroot01.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxchroot01.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxfile01/Makefile.am b/testsuites/psxtests/psxfile01/Makefile.am index 5d94b75607..ec2a15faee 100644 --- a/testsuites/psxtests/psxfile01/Makefile.am +++ b/testsuites/psxtests/psxfile01/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c test_cat.c test_extend.c test_write.c ../include/pmacros.h -DOCS = psxfile01.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxfile01.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxfile01.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/psxfile01.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxfile01.scn: psxfile01.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxfile01.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxfile01.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxmount/Makefile.am b/testsuites/psxtests/psxmount/Makefile.am index 41f94cbc61..941f077b02 100644 --- a/testsuites/psxtests/psxmount/Makefile.am +++ b/testsuites/psxtests/psxmount/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psxmount.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxmount.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxmount.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/psxmount.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxmount.scn: psxmount.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxmount.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxmount.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxmsgq01/Makefile.am b/testsuites/psxtests/psxmsgq01/Makefile.am index e1d9fedfe5..63701d95a4 100644 --- a/testsuites/psxtests/psxmsgq01/Makefile.am +++ b/testsuites/psxtests/psxmsgq01/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c system.h ../include/pmacros.h -DOCS = psxmsgq01.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxmsgq01.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxmsgq01.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/psxmsgq01.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxmsgq01.scn: psxmsgq01.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxmsgq01.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxmsgq01.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxreaddir/Makefile.am b/testsuites/psxtests/psxreaddir/Makefile.am index cc677f98cf..54ea43d016 100644 --- a/testsuites/psxtests/psxreaddir/Makefile.am +++ b/testsuites/psxtests/psxreaddir/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psxreaddir.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxreaddir.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxreaddir.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/psxreaddir.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxreaddir.scn: psxreaddir.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxreaddir.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxreaddir.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxsem01/Makefile.am b/testsuites/psxtests/psxsem01/Makefile.am index 1cef336f6a..696d9b35a2 100644 --- a/testsuites/psxtests/psxsem01/Makefile.am +++ b/testsuites/psxtests/psxsem01/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c system.h ../include/pmacros.h -DOCS = psxsem01.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxsem01.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxsem01.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/psxsem01.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxsem01.scn: psxsem01.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxsem01.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxsem01.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxstat/Makefile.am b/testsuites/psxtests/psxstat/Makefile.am index 4960733f9b..2824cf4bde 100644 --- a/testsuites/psxtests/psxstat/Makefile.am +++ b/testsuites/psxtests/psxstat/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psxstat.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxstat.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxstat.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/psxstat.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxstat.scn: psxstat.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxstat.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxstat.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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 diff --git a/testsuites/psxtests/psxtime/Makefile.am b/testsuites/psxtests/psxtime/Makefile.am index 309f08970e..7db672bf86 100644 --- a/testsuites/psxtests/psxtime/Makefile.am +++ b/testsuites/psxtests/psxtime/Makefile.am @@ -2,54 +2,30 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c -DOCS = psxtime.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxtime.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxtime.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/psxtime.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxtime.scn: psxtime.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxtime.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxtime.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 diff --git a/testsuites/psxtests/psxtimer/Makefile.am b/testsuites/psxtests/psxtimer/Makefile.am index c1089712f1..e5503720c3 100644 --- a/testsuites/psxtests/psxtimer/Makefile.am +++ b/testsuites/psxtests/psxtimer/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = psxtimer.c system.h ../include/pmacros.h -DOCS = psxtimer.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxtimer.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxtimer.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/psxtimer.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxtimer.scn: psxtimer.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxtimer.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxtimer.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include 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