forked from Imagelibrary/rtems
Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
This commit is contained in:
@@ -5,7 +5,10 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||||
|
|
||||||
SUBDIRS = cpuuse malloctest putenvtest monitor rtmonuse stackchk termios rtems++
|
SUBDIRS = cpuuse malloctest putenvtest monitor rtmonuse stackchk termios \
|
||||||
|
rtems++
|
||||||
|
|
||||||
|
EXTRA_DIST = libtests.am
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
42
c/src/tests/libtests/cpuuse/Makefile.am
Normal file
42
c/src/tests/libtests/cpuuse/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = cpuuse
|
||||||
|
|
||||||
|
MANAGERS = io rate_monotonic
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c task3.c tswitch.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = cpuuse
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = cpuuse
|
|
||||||
|
|
||||||
MANAGERS = io rate_monotonic
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 task2 task3 tswitch
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
11
c/src/tests/libtests/libtests.am
Normal file
11
c/src/tests/libtests/libtests.am
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
|
||||||
|
|
||||||
|
$(project_bspdir)/tests:
|
||||||
|
@$(mkinstalldirs) $@
|
||||||
|
|
||||||
|
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
|
||||||
|
$(INSTALL_PROGRAM) $< $@
|
||||||
|
|
||||||
|
TMPINSTALL_FILES += \
|
||||||
|
$(project_bspdir)/tests \
|
||||||
|
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe
|
||||||
42
c/src/tests/libtests/malloctest/Makefile.am
Normal file
42
c/src/tests/libtests/malloctest/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = malloctest
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
||||||
|
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = malloctest
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = malloctest
|
|
||||||
|
|
||||||
MANAGERS = io
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES =
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
|
||||||
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
43
c/src/tests/libtests/monitor/Makefile.am
Normal file
43
c/src/tests/libtests/monitor/Makefile.am
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = monitor
|
||||||
|
|
||||||
|
MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
|
||||||
|
ext
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = #$(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = monitor
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = monitor
|
|
||||||
|
|
||||||
MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
|
|
||||||
ext
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = #$(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
42
c/src/tests/libtests/putenvtest/Makefile.am
Normal file
42
c/src/tests/libtests/putenvtest/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = putenvtest
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES =
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
||||||
|
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = putenvtest
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = putenvtest
|
|
||||||
|
|
||||||
MANAGERS = io
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES =
|
|
||||||
|
|
||||||
DOCTYPES =
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
|
||||||
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
48
c/src/tests/libtests/rtems++/Makefile.am
Normal file
48
c/src/tests/libtests/rtems++/Makefile.am
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = rtems++
|
||||||
|
|
||||||
|
MANAGERS = event io msg sem signal timer rate_monotonic
|
||||||
|
|
||||||
|
# C++ source names, if any, go here -- minus the .cc
|
||||||
|
CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc
|
||||||
|
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = System.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn doc
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(CC_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
LD_LIBS += $(CPLUS_LD_LIBS)
|
||||||
|
|
||||||
|
if HAS_CXX
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(CC_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = rtems++
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = rtems++
|
|
||||||
|
|
||||||
MANAGERS = event io msg sem signal timer rate_monotonic
|
|
||||||
|
|
||||||
# C++ source names, if any, go here -- minus the .cc
|
|
||||||
CC_PIECES = Init Task1 Task2 Task3
|
|
||||||
CC_FILES = @HAS_CXX_TRUE@$(CC_PIECES:%=%.cc)
|
|
||||||
CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = System.h
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(CC_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS += $(CPLUS_LD_LIBS)
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: @HAS_CXX_TRUE@${ARCH} $(SRCS) $(PGM)
|
|
||||||
@HAS_CXX_TRUE@ $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
42
c/src/tests/libtests/rtmonuse/Makefile.am
Normal file
42
c/src/tests/libtests/rtmonuse/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = rtmonuse
|
||||||
|
|
||||||
|
MANAGERS = io rate_monotonic
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c getall.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = rtmonuse
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = rtmonuse
|
|
||||||
|
|
||||||
MANAGERS = io rate_monotonic
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init getall task1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
42
c/src/tests/libtests/stackchk/Makefile.am
Normal file
42
c/src/tests/libtests/stackchk/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = stackchk
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = blow.c init.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = stackchk
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
TEST = stackchk
|
|
||||||
|
|
||||||
MANAGERS = io
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = blow init task1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(TEST).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
43
c/src/tests/libtests/termios/Makefile.am
Normal file
43
c/src/tests/libtests/termios/Makefile.am
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
SAMPLE = termios
|
||||||
|
PGM = ${ARCH}/$(SAMPLE).exe
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES =
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(SAMPLE).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = termios
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
SAMPLE = termios
|
|
||||||
PGM = ${ARCH}/$(SAMPLE).exe
|
|
||||||
|
|
||||||
MANAGERS = io
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES =
|
|
||||||
|
|
||||||
DOCTYPES =
|
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
PGM = ${ARCH}/$(SAMPLE).exe
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES +=
|
|
||||||
CPPFLAGS +=
|
|
||||||
CFLAGS +=
|
|
||||||
|
|
||||||
LD_PATHS +=
|
|
||||||
LD_LIBS +=
|
|
||||||
LDFLAGS +=
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add your list of files to delete here. The config files
|
|
||||||
# already know how to delete some stuff, so you may want
|
|
||||||
# to just run 'make clean' first to see what gets missed.
|
|
||||||
# 'make clobber' already includes 'make clean'
|
|
||||||
#
|
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
|
||||||
CLOBBER_ADDITIONS +=
|
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
|
|
||||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples
|
|
||||||
|
|
||||||
${PGM}: $(OBJS) $(LINK_FILES)
|
|
||||||
$(make-exe)
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
@@ -5,7 +5,10 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||||
|
|
||||||
SUBDIRS = cpuuse malloctest putenvtest monitor rtmonuse stackchk termios rtems++
|
SUBDIRS = cpuuse malloctest putenvtest monitor rtmonuse stackchk termios \
|
||||||
|
rtems++
|
||||||
|
|
||||||
|
EXTRA_DIST = libtests.am
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
42
testsuites/libtests/cpuuse/Makefile.am
Normal file
42
testsuites/libtests/cpuuse/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = cpuuse
|
||||||
|
|
||||||
|
MANAGERS = io rate_monotonic
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c task3.c tswitch.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
11
testsuites/libtests/libtests.am
Normal file
11
testsuites/libtests/libtests.am
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
|
||||||
|
|
||||||
|
$(project_bspdir)/tests:
|
||||||
|
@$(mkinstalldirs) $@
|
||||||
|
|
||||||
|
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
|
||||||
|
$(INSTALL_PROGRAM) $< $@
|
||||||
|
|
||||||
|
TMPINSTALL_FILES += \
|
||||||
|
$(project_bspdir)/tests \
|
||||||
|
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe
|
||||||
42
testsuites/libtests/malloctest/Makefile.am
Normal file
42
testsuites/libtests/malloctest/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = malloctest
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
||||||
|
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
43
testsuites/libtests/monitor/Makefile.am
Normal file
43
testsuites/libtests/monitor/Makefile.am
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = monitor
|
||||||
|
|
||||||
|
MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
|
||||||
|
ext
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = #$(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
42
testsuites/libtests/putenvtest/Makefile.am
Normal file
42
testsuites/libtests/putenvtest/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = putenvtest
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES =
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
||||||
|
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
48
testsuites/libtests/rtems++/Makefile.am
Normal file
48
testsuites/libtests/rtems++/Makefile.am
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = rtems++
|
||||||
|
|
||||||
|
MANAGERS = event io msg sem signal timer rate_monotonic
|
||||||
|
|
||||||
|
# C++ source names, if any, go here -- minus the .cc
|
||||||
|
CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc
|
||||||
|
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = System.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn doc
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(CC_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
LD_LIBS += $(CPLUS_LD_LIBS)
|
||||||
|
|
||||||
|
if HAS_CXX
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(CC_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
42
testsuites/libtests/rtmonuse/Makefile.am
Normal file
42
testsuites/libtests/rtmonuse/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = rtmonuse
|
||||||
|
|
||||||
|
MANAGERS = io rate_monotonic
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c getall.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
42
testsuites/libtests/stackchk/Makefile.am
Normal file
42
testsuites/libtests/stackchk/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
TEST = stackchk
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = blow.c init.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES = scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(TEST).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
43
testsuites/libtests/termios/Makefile.am
Normal file
43
testsuites/libtests/termios/Makefile.am
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
SAMPLE = termios
|
||||||
|
PGM = ${ARCH}/$(SAMPLE).exe
|
||||||
|
|
||||||
|
MANAGERS = io
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES =
|
||||||
|
noinst_HEADERS =$(H_FILES)
|
||||||
|
|
||||||
|
DOCTYPES =
|
||||||
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
PGM = ${ARCH}/$(SAMPLE).exe
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/libtests.am
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
Reference in New Issue
Block a user