summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r--testsuites/psxtests/psx01/Makefile.am20
-rw-r--r--testsuites/psxtests/psx02/Makefile.am20
-rw-r--r--testsuites/psxtests/psx03/Makefile.am20
-rw-r--r--testsuites/psxtests/psx04/Makefile.am20
-rw-r--r--testsuites/psxtests/psx05/Makefile.am20
-rw-r--r--testsuites/psxtests/psx06/Makefile.am20
-rw-r--r--testsuites/psxtests/psx07/Makefile.am20
-rw-r--r--testsuites/psxtests/psx08/Makefile.am20
-rw-r--r--testsuites/psxtests/psx09/Makefile.am20
-rw-r--r--testsuites/psxtests/psx10/Makefile.am20
-rw-r--r--testsuites/psxtests/psx11/Makefile.am20
-rw-r--r--testsuites/psxtests/psx12/Makefile.am20
-rw-r--r--testsuites/psxtests/psx13/Makefile.am20
-rw-r--r--testsuites/psxtests/psxcancel/Makefile.am20
-rw-r--r--testsuites/psxtests/psxchroot01/Makefile.am20
-rw-r--r--testsuites/psxtests/psxfile01/Makefile.am20
-rw-r--r--testsuites/psxtests/psxhdrs/Makefile.am6
-rw-r--r--testsuites/psxtests/psxmount/Makefile.am20
-rw-r--r--testsuites/psxtests/psxmsgq01/Makefile.am20
-rw-r--r--testsuites/psxtests/psxreaddir/Makefile.am20
-rw-r--r--testsuites/psxtests/psxsem01/Makefile.am20
-rw-r--r--testsuites/psxtests/psxstat/Makefile.am20
-rw-r--r--testsuites/psxtests/psxtime/Makefile.am19
-rw-r--r--testsuites/psxtests/psxtimer/Makefile.am20
24 files changed, 184 insertions, 281 deletions
diff --git a/testsuites/psxtests/psx01/Makefile.am b/testsuites/psxtests/psx01/Makefile.am
index 8ae52652e7..4f2650c935 100644
--- a/testsuites/psxtests/psx01/Makefile.am
+++ b/testsuites/psxtests/psx01/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx01.exe
+psx01_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx01_exe_OBJECTS) $(psx01_exe_LDADD)
+LINK_LIBS = $(psx01_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx01.exe$(EXEEXT): $(psx01_exe_OBJECTS) $(psx01_exe_DEPENDENCIES)
+ @rm -f psx01.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx02/Makefile.am b/testsuites/psxtests/psx02/Makefile.am
index 81f73c4776..00bc7d6c0f 100644
--- a/testsuites/psxtests/psx02/Makefile.am
+++ b/testsuites/psxtests/psx02/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx02.exe
+psx02_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx02_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx02_exe_OBJECTS) $(psx02_exe_LDADD)
+LINK_LIBS = $(psx02_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx02.exe$(EXEEXT): $(psx02_exe_OBJECTS) $(psx02_exe_DEPENDENCIES)
+ @rm -f psx02.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx03/Makefile.am b/testsuites/psxtests/psx03/Makefile.am
index 2829ec1f8c..ad0c059a72 100644
--- a/testsuites/psxtests/psx03/Makefile.am
+++ b/testsuites/psxtests/psx03/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx03.exe
+psx03_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx03_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx03_exe_OBJECTS) $(psx03_exe_LDADD)
+LINK_LIBS = $(psx03_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx03.exe$(EXEEXT): $(psx03_exe_OBJECTS) $(psx03_exe_DEPENDENCIES)
+ @rm -f psx03.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx04/Makefile.am b/testsuites/psxtests/psx04/Makefile.am
index aed2764356..0d16db7f65 100644
--- a/testsuites/psxtests/psx04/Makefile.am
+++ b/testsuites/psxtests/psx04/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx04.exe
+psx04_exe_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx04_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx04_exe_OBJECTS) $(psx04_exe_LDADD)
+LINK_LIBS = $(psx04_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx04.exe$(EXEEXT): $(psx04_exe_OBJECTS) $(psx04_exe_DEPENDENCIES)
+ @rm -f psx04.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx05/Makefile.am b/testsuites/psxtests/psx05/Makefile.am
index 75fd488728..0b783f9a23 100644
--- a/testsuites/psxtests/psx05/Makefile.am
+++ b/testsuites/psxtests/psx05/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx05.exe
+psx05_exe_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx05_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx05_exe_OBJECTS) $(psx05_exe_LDADD)
+LINK_LIBS = $(psx05_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx05.exe$(EXEEXT): $(psx05_exe_OBJECTS) $(psx05_exe_DEPENDENCIES)
+ @rm -f psx05.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx06/Makefile.am b/testsuites/psxtests/psx06/Makefile.am
index 2c1a376b14..dbf8daa346 100644
--- a/testsuites/psxtests/psx06/Makefile.am
+++ b/testsuites/psxtests/psx06/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c task2.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx06.exe
+psx06_exe_SOURCES = init.c task.c task2.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx06_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx06_exe_OBJECTS) $(psx06_exe_LDADD)
+LINK_LIBS = $(psx06_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx06.exe$(EXEEXT): $(psx06_exe_OBJECTS) $(psx06_exe_DEPENDENCIES)
+ @rm -f psx06.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx07/Makefile.am b/testsuites/psxtests/psx07/Makefile.am
index 61a33fbb37..785cc529b0 100644
--- a/testsuites/psxtests/psx07/Makefile.am
+++ b/testsuites/psxtests/psx07/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx07.exe
+psx07_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx07_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx07_exe_OBJECTS) $(psx07_exe_LDADD)
+LINK_LIBS = $(psx07_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx07.exe$(EXEEXT): $(psx07_exe_OBJECTS) $(psx07_exe_DEPENDENCIES)
+ @rm -f psx07.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx08/Makefile.am b/testsuites/psxtests/psx08/Makefile.am
index 5a2d16533c..c7726a2150 100644
--- a/testsuites/psxtests/psx08/Makefile.am
+++ b/testsuites/psxtests/psx08/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx08.exe
+psx08_exe_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx08_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx08_exe_OBJECTS) $(psx08_exe_LDADD)
+LINK_LIBS = $(psx08_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx08.exe$(EXEEXT): $(psx08_exe_OBJECTS) $(psx08_exe_DEPENDENCIES)
+ @rm -f psx08.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx09/Makefile.am b/testsuites/psxtests/psx09/Makefile.am
index 32897b9f54..9b62afeda6 100644
--- a/testsuites/psxtests/psx09/Makefile.am
+++ b/testsuites/psxtests/psx09/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx09.exe
+psx09_exe_SOURCES = init.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx09_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx09_exe_OBJECTS) $(psx09_exe_LDADD)
+LINK_LIBS = $(psx09_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx09.exe$(EXEEXT): $(psx09_exe_OBJECTS) $(psx09_exe_DEPENDENCIES)
+ @rm -f psx09.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx10/Makefile.am b/testsuites/psxtests/psx10/Makefile.am
index 48a22ef5b3..2685bbdc26 100644
--- a/testsuites/psxtests/psx10/Makefile.am
+++ b/testsuites/psxtests/psx10/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx10.exe
+psx10_exe_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx10_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx10_exe_OBJECTS) $(psx10_exe_LDADD)
+LINK_LIBS = $(psx10_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx10.exe$(EXEEXT): $(psx10_exe_OBJECTS) $(psx10_exe_DEPENDENCIES)
+ @rm -f psx10.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx11/Makefile.am b/testsuites/psxtests/psx11/Makefile.am
index e90abbe9a8..67a43ab9d9 100644
--- a/testsuites/psxtests/psx11/Makefile.am
+++ b/testsuites/psxtests/psx11/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx11.exe
+psx11_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx11_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx11_exe_OBJECTS) $(psx11_exe_LDADD)
+LINK_LIBS = $(psx11_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx11.exe$(EXEEXT): $(psx11_exe_OBJECTS) $(psx11_exe_DEPENDENCIES)
+ @rm -f psx11.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx12/Makefile.am b/testsuites/psxtests/psx12/Makefile.am
index 360cd916dc..b5e6c19fe6 100644
--- a/testsuites/psxtests/psx12/Makefile.am
+++ b/testsuites/psxtests/psx12/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psx12.exe
+psx12_exe_SOURCES = init.c task.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx12_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx12_exe_OBJECTS) $(psx12_exe_LDADD)
+LINK_LIBS = $(psx12_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx12.exe$(EXEEXT): $(psx12_exe_OBJECTS) $(psx12_exe_DEPENDENCIES)
+ @rm -f psx12.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psx13/Makefile.am b/testsuites/psxtests/psx13/Makefile.am
index cf215e755f..732a72ef35 100644
--- a/testsuites/psxtests/psx13/Makefile.am
+++ b/testsuites/psxtests/psx13/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psx13.exe
+psx13_exe_SOURCES = main.c test.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psx13_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psx13_exe_OBJECTS) $(psx13_exe_LDADD)
+LINK_LIBS = $(psx13_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psx13.exe$(EXEEXT): $(psx13_exe_OBJECTS) $(psx13_exe_DEPENDENCIES)
+ @rm -f psx13.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxcancel/Makefile.am b/testsuites/psxtests/psxcancel/Makefile.am
index 9cb672f468..18fa58c3f7 100644
--- a/testsuites/psxtests/psxcancel/Makefile.am
+++ b/testsuites/psxtests/psxcancel/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psxcancel.exe
+psxcancel_exe_SOURCES = init.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxcancel_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxcancel_exe_OBJECTS) $(psxcancel_exe_LDADD)
+LINK_LIBS = $(psxcancel_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxcancel.exe$(EXEEXT): $(psxcancel_exe_OBJECTS) $(psxcancel_exe_DEPENDENCIES)
+ @rm -f psxcancel.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxchroot01/Makefile.am b/testsuites/psxtests/psxchroot01/Makefile.am
index b046a166b7..28637a1a2c 100644
--- a/testsuites/psxtests/psxchroot01/Makefile.am
+++ b/testsuites/psxtests/psxchroot01/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psxchroot01.exe
+psxchroot01_exe_SOURCES = main.c test.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxchroot01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxchroot01_exe_OBJECTS) $(psxchroot01_exe_LDADD)
+LINK_LIBS = $(psxchroot01_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxchroot01.exe$(EXEEXT): $(psxchroot01_exe_OBJECTS) $(psxchroot01_exe_DEPENDENCIES)
+ @rm -f psxchroot01.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxfile01/Makefile.am b/testsuites/psxtests/psxfile01/Makefile.am
index ec2a15faee..d6c0665e63 100644
--- a/testsuites/psxtests/psxfile01/Makefile.am
+++ b/testsuites/psxtests/psxfile01/Makefile.am
@@ -4,30 +4,26 @@
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
+rtems_tests_PROGRAMS = psxfile01.exe
+psxfile01_exe_SOURCES = main.c test.c test_cat.c test_extend.c test_write.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxfile01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxfile01_exe_OBJECTS) $(psxfile01_exe_LDADD)
+LINK_LIBS = $(psxfile01_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxfile01.exe$(EXEEXT): $(psxfile01_exe_OBJECTS) $(psxfile01_exe_DEPENDENCIES)
+ @rm -f psxfile01.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxhdrs/Makefile.am b/testsuites/psxtests/psxhdrs/Makefile.am
index 6b380d143f..696fba07d9 100644
--- a/testsuites/psxtests/psxhdrs/Makefile.am
+++ b/testsuites/psxtests/psxhdrs/Makefile.am
@@ -25,14 +25,8 @@ lib_a_SOURCES = clock01.c clock02.c clock03.c clock04.c clock05.c clock06.c \
time08.c time09.c time10.c time11.c time12.c time13.c timer01.c \
timer02.c timer03.c timer04.c timer05.c timer06.c timer07.c
-OBJS = $(lib_a_OBJECTS)
-
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
-all-local: ${OBJS}
-
-EXTRA_DIST =
-
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxmount/Makefile.am b/testsuites/psxtests/psxmount/Makefile.am
index 941f077b02..cd9b4af0b5 100644
--- a/testsuites/psxtests/psxmount/Makefile.am
+++ b/testsuites/psxtests/psxmount/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psxmount.exe
+psxmount_exe_SOURCES = main.c test.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxmount_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxmount_exe_OBJECTS) $(psxmount_exe_LDADD)
+LINK_LIBS = $(psxmount_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxmount.exe$(EXEEXT): $(psxmount_exe_OBJECTS) $(psxmount_exe_DEPENDENCIES)
+ @rm -f psxmount.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxmsgq01/Makefile.am b/testsuites/psxtests/psxmsgq01/Makefile.am
index 63701d95a4..11de0a1e4f 100644
--- a/testsuites/psxtests/psxmsgq01/Makefile.am
+++ b/testsuites/psxtests/psxmsgq01/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psxmsgq01.exe
+psxmsgq01_exe_SOURCES = init.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxmsgq01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxmsgq01_exe_OBJECTS) $(psxmsgq01_exe_LDADD)
+LINK_LIBS = $(psxmsgq01_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxmsgq01.exe$(EXEEXT): $(psxmsgq01_exe_OBJECTS) $(psxmsgq01_exe_DEPENDENCIES)
+ @rm -f psxmsgq01.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxreaddir/Makefile.am b/testsuites/psxtests/psxreaddir/Makefile.am
index 54ea43d016..68cc17c511 100644
--- a/testsuites/psxtests/psxreaddir/Makefile.am
+++ b/testsuites/psxtests/psxreaddir/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psxreaddir.exe
+psxreaddir_exe_SOURCES = main.c test.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxreaddir_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxreaddir_exe_OBJECTS) $(psxreaddir_exe_LDADD)
+LINK_LIBS = $(psxreaddir_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxreaddir.exe$(EXEEXT): $(psxreaddir_exe_OBJECTS) $(psxreaddir_exe_DEPENDENCIES)
+ @rm -f psxreaddir.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxsem01/Makefile.am b/testsuites/psxtests/psxsem01/Makefile.am
index 696d9b35a2..40a4ad66a7 100644
--- a/testsuites/psxtests/psxsem01/Makefile.am
+++ b/testsuites/psxtests/psxsem01/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = init.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psxsem01.exe
+psxsem01_exe_SOURCES = init.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxsem01_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxsem01_exe_OBJECTS) $(psxsem01_exe_LDADD)
+LINK_LIBS = $(psxsem01_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxsem01.exe$(EXEEXT): $(psxsem01_exe_OBJECTS) $(psxsem01_exe_DEPENDENCIES)
+ @rm -f psxsem01.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxstat/Makefile.am b/testsuites/psxtests/psxstat/Makefile.am
index 2824cf4bde..e86c6435a1 100644
--- a/testsuites/psxtests/psxstat/Makefile.am
+++ b/testsuites/psxtests/psxstat/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c ../include/pmacros.h
+rtems_tests_PROGRAMS = psxstat.exe
+psxstat_exe_SOURCES = main.c test.c ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxstat_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxstat_exe_OBJECTS) $(psxstat_exe_LDADD)
+LINK_LIBS = $(psxstat_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxstat.exe$(EXEEXT): $(psxstat_exe_OBJECTS) $(psxstat_exe_DEPENDENCIES)
+ @rm -f psxstat.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxtime/Makefile.am b/testsuites/psxtests/psxtime/Makefile.am
index 7db672bf86..927403a979 100644
--- a/testsuites/psxtests/psxtime/Makefile.am
+++ b/testsuites/psxtests/psxtime/Makefile.am
@@ -4,28 +4,25 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = main.c test.c
+rtems_tests_PROGRAMS = psxtime.exe
+psxtime_exe_SOURCES = main.c test.c
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxtime_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxtime_exe_OBJECTS) $(psxtime_exe_LDADD)
+LINK_LIBS = $(psxtime_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxtime.exe$(EXEEXT): $(psxtime_exe_OBJECTS) $(psxtime_exe_DEPENDENCIES)
+ @rm -f psxtime.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/psxtests/psxtimer/Makefile.am b/testsuites/psxtests/psxtimer/Makefile.am
index e5503720c3..8b92a5858a 100644
--- a/testsuites/psxtests/psxtimer/Makefile.am
+++ b/testsuites/psxtests/psxtimer/Makefile.am
@@ -4,30 +4,26 @@
MANAGERS = all
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = psxtimer.c system.h ../include/pmacros.h
+rtems_tests_PROGRAMS = psxtimer.exe
+psxtimer_exe_SOURCES = psxtimer.c system.h ../include/pmacros.h
-testsdir = $(libdir)/tests
-scndir = $(testsdir)
+scndir = $(rtems_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
-$(PGM): ${ARCH}/$(dirstamp)
+psxtimer_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/include
-
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-tests_SCRIPTS = $(PGM)
+LINK_OBJS = $(psxtimer_exe_OBJECTS) $(psxtimer_exe_LDADD)
+LINK_LIBS = $(psxtimer_exe_LDLIBS)
-$(PGM): $(OBJS) $(LINK_FILES)
+psxtimer.exe$(EXEEXT): $(psxtimer_exe_OBJECTS) $(psxtimer_exe_DEPENDENCIES)
+ @rm -f psxtimer.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am