forked from Imagelibrary/rtems
Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
This commit is contained in:
12
c/src/tests/mptests/mp01/Makefile.am
Normal file
12
c/src/tests/mptests/mp01/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp01
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp01/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp01/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp01
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp01/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp01
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp01/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp01/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp01
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp01/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp01
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp02/Makefile.am
Normal file
12
c/src/tests/mptests/mp02/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp02
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp02/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp02/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp02
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp02/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp02
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp02/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp02/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp02
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp02/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp02
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp03/Makefile.am
Normal file
12
c/src/tests/mptests/mp03/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h delay.c init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp03
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp03/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp03/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp03
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp timer event
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c delay.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp03/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp03
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp timer event
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 delay
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp03/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp03/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp03
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp timer event
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c delay.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
c/src/tests/mptests/mp04/Makefile.am
Normal file
12
c/src/tests/mptests/mp04/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp04
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp04/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp04/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp04
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
c/src/tests/mptests/mp04/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp04/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp04
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp04/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp04
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp05/Makefile.am
Normal file
12
c/src/tests/mptests/mp05/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h asr.c init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp05
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp05/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp05/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp05
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp signal timer
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c asr.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp05/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp05
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp signal timer
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init asr task1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp05/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp05/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp05
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp signal timer
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c asr.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp05/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp05
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp signal timer
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init asr task1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp06/Makefile.am
Normal file
12
c/src/tests/mptests/mp06/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp06
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp06/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp06/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp06
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp06/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp06
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp06/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp06/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp06
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp06/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp06
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp07/Makefile.am
Normal file
12
c/src/tests/mptests/mp07/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp07
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp07/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp07/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp07
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp07/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp07
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp07/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp07/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp07
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp07/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp07
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp08/Makefile.am
Normal file
12
c/src/tests/mptests/mp08/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp08
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp08/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp08/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp08
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp semaphore
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp08/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp08
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp semaphore
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp08/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp08/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp08
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp semaphore
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp08/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp08
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp semaphore
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp09/Makefile.am
Normal file
12
c/src/tests/mptests/mp09/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c recvmsg.c sendmsg.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp09
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp09/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp09/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp09
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c recvmsg.c sendmsg.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp09/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp09
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 recvmsg sendmsg
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp09/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp09/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp09
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c recvmsg.c sendmsg.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp09/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp09
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 recvmsg sendmsg
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp10/Makefile.am
Normal file
12
c/src/tests/mptests/mp10/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c task2.c task3.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp10
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp10/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp10/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp10
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message semaphore
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c task3.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp10/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp10
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message semaphore
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 task2 task3
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp10/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp10/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp10
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message semaphore
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c task3.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp10/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp10
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message semaphore
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 task2 task3
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp11/Makefile.am
Normal file
12
c/src/tests/mptests/mp11/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp11
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp11/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp11/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp11
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message partition semaphore
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp11/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp11
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message partition semaphore
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp11/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp11/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp11
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message partition semaphore
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp11/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp11
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message partition semaphore
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp12/Makefile.am
Normal file
12
c/src/tests/mptests/mp12/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp12
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp12/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp12/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp12
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp partition
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp12/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp12
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp partition
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp12/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp12/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp12
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp partition
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp12/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp12
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp partition
|
|
||||||
|
|
||||||
# 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 = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp13/Makefile.am
Normal file
12
c/src/tests/mptests/mp13/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c task2.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp13
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
58
c/src/tests/mptests/mp13/node1/Makefile.am
Normal file
58
c/src/tests/mptests/mp13/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp13
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message semaphore
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp13/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp13
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message semaphore
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 task2
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
58
c/src/tests/mptests/mp13/node2/Makefile.am
Normal file
58
c/src/tests/mptests/mp13/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp13
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp message semaphore
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c task2.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp13/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp13
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp message semaphore
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = init task1 task2
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
c/src/tests/mptests/mp14/Makefile.am
Normal file
12
c/src/tests/mptests/mp14/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h delay.c evtask1.c evtmtask.c exit.c init.c msgtask1.c pttask1.c smtask1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ..
|
|
||||||
subdir = mp14
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/directory.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
59
c/src/tests/mptests/mp14/node1/Makefile.am
Normal file
59
c/src/tests/mptests/mp14/node1/Makefile.am
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp14
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event partition semaphore timer message
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = exit.c init.c delay.c evtask1.c evtmtask.c pttask1.c smtask1.c \
|
||||||
|
msgtask1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp14/node1
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp14
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event partition semaphore timer message
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = exit init delay evtask1 evtmtask pttask1 smtask1 msgtask1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
59
c/src/tests/mptests/mp14/node2/Makefile.am
Normal file
59
c/src/tests/mptests/mp14/node2/Makefile.am
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp14
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event partition semaphore timer message
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = exit.c init.c delay.c evtask1.c evtmtask.c pttask1.c smtask1.c \
|
||||||
|
msgtask1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
|
||||||
top_builddir = ../..
|
|
||||||
subdir = mp14/node2
|
|
||||||
|
|
||||||
RTEMS_ROOT = @RTEMS_ROOT@
|
|
||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp14
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event partition semaphore timer message
|
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
|
||||||
C_PIECES = exit init delay evtask1 evtmtask pttask1 smtask1 msgtask1
|
|
||||||
C_FILES = $(C_PIECES:%=%.c)
|
|
||||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
PRINT_SRCS = $(DOCS)
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
||||||
|
|
||||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
|
||||||
PACKHEX = @PACKHEX@
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
|
||||||
|
|
||||||
INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)
|
|
||||||
|
|
||||||
$(INSTALLDIRS):
|
|
||||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFINES += -DNODE_NUMBER=$(NODE)
|
|
||||||
CPPFLAGS += -I.
|
|
||||||
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_CHANGE) $(srcdir)/$(TEST).scn \
|
|
||||||
$(PROJECT_RELEASE)/tests/screens/mptests/node$(NODE)/$(TEST).scn
|
|
||||||
|
|
||||||
${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
|
|
||||||
12
testsuites/mptests/mp01/Makefile.am
Normal file
12
testsuites/mptests/mp01/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp01/node1/Makefile.am
Normal file
58
testsuites/mptests/mp01/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp01
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp01/node2/Makefile.am
Normal file
58
testsuites/mptests/mp01/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp01
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
testsuites/mptests/mp02/Makefile.am
Normal file
12
testsuites/mptests/mp02/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp02/node1/Makefile.am
Normal file
58
testsuites/mptests/mp02/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp02
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp02/node2/Makefile.am
Normal file
58
testsuites/mptests/mp02/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp02
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
testsuites/mptests/mp03/Makefile.am
Normal file
12
testsuites/mptests/mp03/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h delay.c init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp03/node1/Makefile.am
Normal file
58
testsuites/mptests/mp03/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp03
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp timer event
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c task1.c delay.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp03/node2/Makefile.am
Normal file
58
testsuites/mptests/mp03/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp03
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp timer event
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c delay.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
testsuites/mptests/mp04/Makefile.am
Normal file
12
testsuites/mptests/mp04/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp04/node1/Makefile.am
Normal file
58
testsuites/mptests/mp04/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp04
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp04/node2/Makefile.am
Normal file
58
testsuites/mptests/mp04/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp04
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
testsuites/mptests/mp05/Makefile.am
Normal file
12
testsuites/mptests/mp05/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h asr.c init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp05/node1/Makefile.am
Normal file
58
testsuites/mptests/mp05/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp05
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp signal timer
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c asr.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp05/node2/Makefile.am
Normal file
58
testsuites/mptests/mp05/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp05
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp signal timer
|
||||||
|
|
||||||
|
# C source names, if any, go here -- minus the .c
|
||||||
|
C_FILES = init.c asr.c task1.c
|
||||||
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
|
H_FILES = system.h
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
12
testsuites/mptests/mp06/Makefile.am
Normal file
12
testsuites/mptests/mp06/Makefile.am
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
SUBDIRS = node1 node2
|
||||||
|
|
||||||
|
EXTRA_DIST = system.h init.c task1.c
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp06/node1/Makefile.am
Normal file
58
testsuites/mptests/mp06/node1/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 1
|
||||||
|
TEST = mp06
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
58
testsuites/mptests/mp06/node2/Makefile.am
Normal file
58
testsuites/mptests/mp06/node2/Makefile.am
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
##
|
||||||
|
## $Id$
|
||||||
|
##
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
VPATH = @srcdir@:@srcdir@/..
|
||||||
|
|
||||||
|
NODE = 2
|
||||||
|
TEST = mp06
|
||||||
|
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
||||||
|
|
||||||
|
MANAGERS = io mp event timer
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
DOCTYPES = doc scn
|
||||||
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
||||||
|
|
||||||
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
||||||
|
OBJS = $(C_O_FILES)
|
||||||
|
|
||||||
|
PRINT_SRCS = $(DOCS)
|
||||||
|
|
||||||
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
|
include $(top_srcdir)/mptests.am
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
|
||||||
|
#
|
||||||
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
|
#
|
||||||
|
|
||||||
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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'
|
||||||
|
#
|
||||||
|
|
||||||
|
${PGM}: $(OBJS) $(LINK_FILES)
|
||||||
|
$(make-exe)
|
||||||
|
|
||||||
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||||
|
else
|
||||||
|
all-local:
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = $(DOCS)
|
||||||
|
|
||||||
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user