Convert to using *_PROGRAMS.

This commit is contained in:
Ralf Corsepius
2005-11-13 06:46:05 +00:00
parent 3290efc759
commit a6b588d649
114 changed files with 951 additions and 1348 deletions

View File

@@ -4,28 +4,25 @@
MANAGERS = io rate_monotonic
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h
rtems_tests_PROGRAMS = cpuuse.exe
cpuuse_exe_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h
testsdir = $(libdir)/tests
scndir = $(testsdir)
scndir = $(rtems_testsdir)
dist_scn_DATA = cpuuse.scn
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/cpuuse.exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
cpuuse_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(cpuuse_exe_OBJECTS) $(cpuuse_exe_LDADD)
LINK_LIBS = $(cpuuse_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
cpuuse.exe$(EXEEXT): $(cpuuse_exe_OBJECTS) $(cpuuse_exe_DEPENDENCIES)
@rm -f cpuuse.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -4,28 +4,25 @@
MANAGERS = io
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c task1.c system.h
rtems_tests_PROGRAMS = malloctest.exe
malloctest_exe_SOURCES = init.c task1.c system.h
testsdir = $(libdir)/tests
scndir = $(testsdir)
scndir = $(rtems_testsdir)
dist_scn_DATA = malloctest.scn
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/malloctest.exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
malloctest_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(malloctest_exe_OBJECTS) $(malloctest_exe_LDADD)
LINK_LIBS = $(malloctest_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
malloctest.exe$(EXEEXT): $(malloctest_exe_OBJECTS) $(malloctest_exe_DEPENDENCIES)
@rm -f malloctest.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -5,26 +5,22 @@
MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
ext
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c system.h
testsdir = $(libdir)/tests
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/monitor.exe
rtems_tests_PROGRAMS = monitor.exe
monitor_exe_SOURCES = init.c system.h
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
monitor_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(monitor_exe_OBJECTS) $(monitor_exe_LDADD)
LINK_LIBS = $(monitor_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
monitor.exe$(EXEEXT): $(monitor_exe_OBJECTS) $(monitor_exe_DEPENDENCIES)
@rm -f monitor.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -4,26 +4,22 @@
MANAGERS = io
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c
testsdir = $(libdir)/tests
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/putenvtest.exe
rtems_tests_PROGRAMS = putenvtest.exe
putenvtest_exe_SOURCES = init.c
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
putenvtest_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(putenvtest_exe_OBJECTS) $(putenvtest_exe_LDADD)
LINK_LIBS = $(putenvtest_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
putenvtest.exe$(EXEEXT): $(putenvtest_exe_OBJECTS) $(putenvtest_exe_DEPENDENCIES)
@rm -f putenvtest.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -5,31 +5,30 @@
MANAGERS = event io msg sem signal timer rate_monotonic
if HAS_CXX
noinst_LIBRARIES = lib.a
lib_a_SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h
rtems_tests_PROGRAMS = rtems++.exe
rtems___exe_SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h
endif
testsdir = $(libdir)/tests
scndir = $(testsdir)
scndir = $(rtems_testsdir)
dist_scn_DATA = rtems++.scn
docdir = $(testsdir)
docdir = $(rtems_testsdir)
dist_doc_DATA = rtems++.doc
PGM = ${ARCH}/rtems++.exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
if HAS_CXX
LD_LIBS = -lrtems++
rtems___exe_LDLIBS = -lrtems++
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
rtems___exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
$(PGM): ${ARCH}/$(dirstamp)
LINK_OBJS = $(rtems___exe_OBJECTS) $(rtems___exe_LDADD)
LINK_LIBS = $(rtems___exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
rtems++.exe$(EXEEXT): $(rtems___exe_OBJECTS) $(rtems___exe_DEPENDENCIES)
@rm -f rtems++.exe$(EXEEXT)
$(make-cxx-exe)
endif

View File

@@ -4,28 +4,25 @@
MANAGERS = io rate_monotonic
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c getall.c task1.c system.h
rtems_tests_PROGRAMS = rtmonuse.exe
rtmonuse_exe_SOURCES = init.c getall.c task1.c system.h
testsdir = $(libdir)/tests
scndir = $(testsdir)
scndir = $(rtems_testsdir)
dist_scn_DATA = rtmonuse.scn
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/rtmonuse.exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
rtmonuse_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(rtmonuse_exe_OBJECTS) $(rtmonuse_exe_LDADD)
LINK_LIBS = $(rtmonuse_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
rtmonuse.exe$(EXEEXT): $(rtmonuse_exe_OBJECTS) $(rtmonuse_exe_DEPENDENCIES)
@rm -f rtmonuse.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -4,28 +4,25 @@
MANAGERS = io
noinst_LIBRARIES = lib.a
lib_a_SOURCES = blow.c init.c task1.c system.h
rtems_tests_PROGRAMS = stackchk.exe
stackchk_exe_SOURCES = blow.c init.c task1.c system.h
testsdir = $(libdir)/tests
scndir = $(testsdir)
scndir = $(rtems_testsdir)
dist_scn_DATA = stackchk.scn
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/stackchk.exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
stackchk_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(stackchk_exe_OBJECTS) $(stackchk_exe_LDADD)
LINK_LIBS = $(stackchk_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
stackchk.exe$(EXEEXT): $(stackchk_exe_OBJECTS) $(stackchk_exe_DEPENDENCIES)
@rm -f stackchk.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am

View File

@@ -4,26 +4,22 @@
MANAGERS = io
noinst_LIBRARIES = lib.a
lib_a_SOURCES = init.c
testsdir = $(libdir)/tests
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/termios.exe
rtems_tests_PROGRAMS = termios.exe
termios_exe_SOURCES = init.c
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
$(PGM): ${ARCH}/$(dirstamp)
termios_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
tests_SCRIPTS = $(PGM)
LINK_OBJS = $(termios_exe_OBJECTS) $(termios_exe_LDADD)
LINK_LIBS = $(termios_exe_LDLIBS)
$(PGM): $(OBJS) $(LINK_FILES)
termios.exe$(EXEEXT): $(termios_exe_OBJECTS) $(termios_exe_DEPENDENCIES)
@rm -f termios.exe$(EXEEXT)
$(make-exe)
include $(top_srcdir)/../automake/local.am