diff options
124 files changed, 3588 insertions, 2456 deletions
diff --git a/c/src/tests/mptests/mp01/Makefile.am b/c/src/tests/mptests/mp01/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp01/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp01/Makefile.in b/c/src/tests/mptests/mp01/Makefile.in deleted file mode 100644 index 6bbd673a8f..0000000000 --- a/c/src/tests/mptests/mp01/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp01/node1/Makefile.am b/c/src/tests/mptests/mp01/node1/Makefile.am new file mode 100644 index 0000000000..a7933c7c10 --- /dev/null +++ b/c/src/tests/mptests/mp01/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp01/node1/Makefile.in b/c/src/tests/mptests/mp01/node1/Makefile.in deleted file mode 100644 index 88cc7bc1b9..0000000000 --- a/c/src/tests/mptests/mp01/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp01/node2/Makefile.am b/c/src/tests/mptests/mp01/node2/Makefile.am new file mode 100644 index 0000000000..5f7e569bc3 --- /dev/null +++ b/c/src/tests/mptests/mp01/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp01/node2/Makefile.in b/c/src/tests/mptests/mp01/node2/Makefile.in deleted file mode 100644 index 5a92b59b2e..0000000000 --- a/c/src/tests/mptests/mp01/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp02/Makefile.am b/c/src/tests/mptests/mp02/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp02/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp02/Makefile.in b/c/src/tests/mptests/mp02/Makefile.in deleted file mode 100644 index d942393b23..0000000000 --- a/c/src/tests/mptests/mp02/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp02/node1/Makefile.am b/c/src/tests/mptests/mp02/node1/Makefile.am new file mode 100644 index 0000000000..456e248f9f --- /dev/null +++ b/c/src/tests/mptests/mp02/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp02/node1/Makefile.in b/c/src/tests/mptests/mp02/node1/Makefile.in deleted file mode 100644 index c52601c59b..0000000000 --- a/c/src/tests/mptests/mp02/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp02/node2/Makefile.am b/c/src/tests/mptests/mp02/node2/Makefile.am new file mode 100644 index 0000000000..78f27866a1 --- /dev/null +++ b/c/src/tests/mptests/mp02/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp02/node2/Makefile.in b/c/src/tests/mptests/mp02/node2/Makefile.in deleted file mode 100644 index a6aca24924..0000000000 --- a/c/src/tests/mptests/mp02/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp03/Makefile.am b/c/src/tests/mptests/mp03/Makefile.am new file mode 100644 index 0000000000..c467df661d --- /dev/null +++ b/c/src/tests/mptests/mp03/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp03/Makefile.in b/c/src/tests/mptests/mp03/Makefile.in deleted file mode 100644 index ce63ef6e28..0000000000 --- a/c/src/tests/mptests/mp03/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp03/node1/Makefile.am b/c/src/tests/mptests/mp03/node1/Makefile.am new file mode 100644 index 0000000000..cb3323e4a2 --- /dev/null +++ b/c/src/tests/mptests/mp03/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp03/node1/Makefile.in b/c/src/tests/mptests/mp03/node1/Makefile.in deleted file mode 100644 index 34917a23cf..0000000000 --- a/c/src/tests/mptests/mp03/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp03/node2/Makefile.am b/c/src/tests/mptests/mp03/node2/Makefile.am new file mode 100644 index 0000000000..e34c2a9e47 --- /dev/null +++ b/c/src/tests/mptests/mp03/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp04/Makefile.am b/c/src/tests/mptests/mp04/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp04/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp04/Makefile.in b/c/src/tests/mptests/mp04/Makefile.in deleted file mode 100644 index fe4f05da14..0000000000 --- a/c/src/tests/mptests/mp04/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp04/node1/Makefile.am b/c/src/tests/mptests/mp04/node1/Makefile.am new file mode 100644 index 0000000000..45b3944f4c --- /dev/null +++ b/c/src/tests/mptests/mp04/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp04/node2/Makefile.am b/c/src/tests/mptests/mp04/node2/Makefile.am new file mode 100644 index 0000000000..78ba0b3b08 --- /dev/null +++ b/c/src/tests/mptests/mp04/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp04/node2/Makefile.in b/c/src/tests/mptests/mp04/node2/Makefile.in deleted file mode 100644 index a0fce95bba..0000000000 --- a/c/src/tests/mptests/mp04/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp05/Makefile.am b/c/src/tests/mptests/mp05/Makefile.am new file mode 100644 index 0000000000..27564a9335 --- /dev/null +++ b/c/src/tests/mptests/mp05/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp05/Makefile.in b/c/src/tests/mptests/mp05/Makefile.in deleted file mode 100644 index 574101d386..0000000000 --- a/c/src/tests/mptests/mp05/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp05/node1/Makefile.am b/c/src/tests/mptests/mp05/node1/Makefile.am new file mode 100644 index 0000000000..e8d3d0204f --- /dev/null +++ b/c/src/tests/mptests/mp05/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp05/node1/Makefile.in b/c/src/tests/mptests/mp05/node1/Makefile.in deleted file mode 100644 index 7aee677123..0000000000 --- a/c/src/tests/mptests/mp05/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp05/node2/Makefile.am b/c/src/tests/mptests/mp05/node2/Makefile.am new file mode 100644 index 0000000000..a3a6f9dfed --- /dev/null +++ b/c/src/tests/mptests/mp05/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp05/node2/Makefile.in b/c/src/tests/mptests/mp05/node2/Makefile.in deleted file mode 100644 index ece1d73bfe..0000000000 --- a/c/src/tests/mptests/mp05/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp06/Makefile.am b/c/src/tests/mptests/mp06/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp06/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp06/Makefile.in b/c/src/tests/mptests/mp06/Makefile.in deleted file mode 100644 index 7a4000577c..0000000000 --- a/c/src/tests/mptests/mp06/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp06/node1/Makefile.am b/c/src/tests/mptests/mp06/node1/Makefile.am new file mode 100644 index 0000000000..4086ae3e51 --- /dev/null +++ b/c/src/tests/mptests/mp06/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp06/node1/Makefile.in b/c/src/tests/mptests/mp06/node1/Makefile.in deleted file mode 100644 index 7d485705a9..0000000000 --- a/c/src/tests/mptests/mp06/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp06/node2/Makefile.am b/c/src/tests/mptests/mp06/node2/Makefile.am new file mode 100644 index 0000000000..b581f5071b --- /dev/null +++ b/c/src/tests/mptests/mp06/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp06/node2/Makefile.in b/c/src/tests/mptests/mp06/node2/Makefile.in deleted file mode 100644 index 36e40c297c..0000000000 --- a/c/src/tests/mptests/mp06/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp07/Makefile.am b/c/src/tests/mptests/mp07/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp07/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp07/Makefile.in b/c/src/tests/mptests/mp07/Makefile.in deleted file mode 100644 index fa4d60fedf..0000000000 --- a/c/src/tests/mptests/mp07/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp07/node1/Makefile.am b/c/src/tests/mptests/mp07/node1/Makefile.am new file mode 100644 index 0000000000..38ea346bd0 --- /dev/null +++ b/c/src/tests/mptests/mp07/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp07/node1/Makefile.in b/c/src/tests/mptests/mp07/node1/Makefile.in deleted file mode 100644 index 4591a16c5e..0000000000 --- a/c/src/tests/mptests/mp07/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp07/node2/Makefile.am b/c/src/tests/mptests/mp07/node2/Makefile.am new file mode 100644 index 0000000000..f66111437c --- /dev/null +++ b/c/src/tests/mptests/mp07/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp07/node2/Makefile.in b/c/src/tests/mptests/mp07/node2/Makefile.in deleted file mode 100644 index f4f00ae6b6..0000000000 --- a/c/src/tests/mptests/mp07/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp08/Makefile.am b/c/src/tests/mptests/mp08/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/c/src/tests/mptests/mp08/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp08/Makefile.in b/c/src/tests/mptests/mp08/Makefile.in deleted file mode 100644 index de09094999..0000000000 --- a/c/src/tests/mptests/mp08/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp08/node1/Makefile.am b/c/src/tests/mptests/mp08/node1/Makefile.am new file mode 100644 index 0000000000..93c520210b --- /dev/null +++ b/c/src/tests/mptests/mp08/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp08/node1/Makefile.in b/c/src/tests/mptests/mp08/node1/Makefile.in deleted file mode 100644 index 0a62bbc43c..0000000000 --- a/c/src/tests/mptests/mp08/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp08/node2/Makefile.am b/c/src/tests/mptests/mp08/node2/Makefile.am new file mode 100644 index 0000000000..a09d30def6 --- /dev/null +++ b/c/src/tests/mptests/mp08/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp08/node2/Makefile.in b/c/src/tests/mptests/mp08/node2/Makefile.in deleted file mode 100644 index 82d9c4d4f7..0000000000 --- a/c/src/tests/mptests/mp08/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp09/Makefile.am b/c/src/tests/mptests/mp09/Makefile.am new file mode 100644 index 0000000000..f15aa15612 --- /dev/null +++ b/c/src/tests/mptests/mp09/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp09/Makefile.in b/c/src/tests/mptests/mp09/Makefile.in deleted file mode 100644 index 11d0839f32..0000000000 --- a/c/src/tests/mptests/mp09/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp09/node1/Makefile.am b/c/src/tests/mptests/mp09/node1/Makefile.am new file mode 100644 index 0000000000..7407217ef1 --- /dev/null +++ b/c/src/tests/mptests/mp09/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp09/node1/Makefile.in b/c/src/tests/mptests/mp09/node1/Makefile.in deleted file mode 100644 index c9bca4ff1d..0000000000 --- a/c/src/tests/mptests/mp09/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp09/node2/Makefile.am b/c/src/tests/mptests/mp09/node2/Makefile.am new file mode 100644 index 0000000000..e5dad8524c --- /dev/null +++ b/c/src/tests/mptests/mp09/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp09/node2/Makefile.in b/c/src/tests/mptests/mp09/node2/Makefile.in deleted file mode 100644 index abc9384f6b..0000000000 --- a/c/src/tests/mptests/mp09/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp10/Makefile.am b/c/src/tests/mptests/mp10/Makefile.am new file mode 100644 index 0000000000..5ccb6eac78 --- /dev/null +++ b/c/src/tests/mptests/mp10/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp10/Makefile.in b/c/src/tests/mptests/mp10/Makefile.in deleted file mode 100644 index 964f8d7794..0000000000 --- a/c/src/tests/mptests/mp10/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp10/node1/Makefile.am b/c/src/tests/mptests/mp10/node1/Makefile.am new file mode 100644 index 0000000000..fc09ec1a7e --- /dev/null +++ b/c/src/tests/mptests/mp10/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp10/node1/Makefile.in b/c/src/tests/mptests/mp10/node1/Makefile.in deleted file mode 100644 index 439de8d09e..0000000000 --- a/c/src/tests/mptests/mp10/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp10/node2/Makefile.am b/c/src/tests/mptests/mp10/node2/Makefile.am new file mode 100644 index 0000000000..e78f1fec58 --- /dev/null +++ b/c/src/tests/mptests/mp10/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp10/node2/Makefile.in b/c/src/tests/mptests/mp10/node2/Makefile.in deleted file mode 100644 index 37f73a6bb0..0000000000 --- a/c/src/tests/mptests/mp10/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp11/Makefile.am b/c/src/tests/mptests/mp11/Makefile.am new file mode 100644 index 0000000000..b911e9c09c --- /dev/null +++ b/c/src/tests/mptests/mp11/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp11/Makefile.in b/c/src/tests/mptests/mp11/Makefile.in deleted file mode 100644 index 398ce2c180..0000000000 --- a/c/src/tests/mptests/mp11/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp11/node1/Makefile.am b/c/src/tests/mptests/mp11/node1/Makefile.am new file mode 100644 index 0000000000..5e148c6f97 --- /dev/null +++ b/c/src/tests/mptests/mp11/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp11/node1/Makefile.in b/c/src/tests/mptests/mp11/node1/Makefile.in deleted file mode 100644 index 8be819263c..0000000000 --- a/c/src/tests/mptests/mp11/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp11/node2/Makefile.am b/c/src/tests/mptests/mp11/node2/Makefile.am new file mode 100644 index 0000000000..0afc222067 --- /dev/null +++ b/c/src/tests/mptests/mp11/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp11/node2/Makefile.in b/c/src/tests/mptests/mp11/node2/Makefile.in deleted file mode 100644 index 2433cc1306..0000000000 --- a/c/src/tests/mptests/mp11/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp12/Makefile.am b/c/src/tests/mptests/mp12/Makefile.am new file mode 100644 index 0000000000..b911e9c09c --- /dev/null +++ b/c/src/tests/mptests/mp12/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp12/Makefile.in b/c/src/tests/mptests/mp12/Makefile.in deleted file mode 100644 index 6e5ddf2c64..0000000000 --- a/c/src/tests/mptests/mp12/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp12/node1/Makefile.am b/c/src/tests/mptests/mp12/node1/Makefile.am new file mode 100644 index 0000000000..10c343f552 --- /dev/null +++ b/c/src/tests/mptests/mp12/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp12/node1/Makefile.in b/c/src/tests/mptests/mp12/node1/Makefile.in deleted file mode 100644 index 3bfb6f561c..0000000000 --- a/c/src/tests/mptests/mp12/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp12/node2/Makefile.am b/c/src/tests/mptests/mp12/node2/Makefile.am new file mode 100644 index 0000000000..5ab000f371 --- /dev/null +++ b/c/src/tests/mptests/mp12/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp12/node2/Makefile.in b/c/src/tests/mptests/mp12/node2/Makefile.in deleted file mode 100644 index 060844c2c1..0000000000 --- a/c/src/tests/mptests/mp12/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp13/Makefile.am b/c/src/tests/mptests/mp13/Makefile.am new file mode 100644 index 0000000000..7d4d002d1c --- /dev/null +++ b/c/src/tests/mptests/mp13/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp13/Makefile.in b/c/src/tests/mptests/mp13/Makefile.in deleted file mode 100644 index ae4b359a05..0000000000 --- a/c/src/tests/mptests/mp13/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp13/node1/Makefile.am b/c/src/tests/mptests/mp13/node1/Makefile.am new file mode 100644 index 0000000000..74b8617508 --- /dev/null +++ b/c/src/tests/mptests/mp13/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp13/node1/Makefile.in b/c/src/tests/mptests/mp13/node1/Makefile.in deleted file mode 100644 index 31bbc67e88..0000000000 --- a/c/src/tests/mptests/mp13/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp13/node2/Makefile.am b/c/src/tests/mptests/mp13/node2/Makefile.am new file mode 100644 index 0000000000..b215fad6af --- /dev/null +++ b/c/src/tests/mptests/mp13/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp13/node2/Makefile.in b/c/src/tests/mptests/mp13/node2/Makefile.in deleted file mode 100644 index 11cb805a68..0000000000 --- a/c/src/tests/mptests/mp13/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp14/Makefile.am b/c/src/tests/mptests/mp14/Makefile.am new file mode 100644 index 0000000000..db1ff08d1d --- /dev/null +++ b/c/src/tests/mptests/mp14/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp14/Makefile.in b/c/src/tests/mptests/mp14/Makefile.in deleted file mode 100644 index 1b5d888b18..0000000000 --- a/c/src/tests/mptests/mp14/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp14/node1/Makefile.am b/c/src/tests/mptests/mp14/node1/Makefile.am new file mode 100644 index 0000000000..0de7d8b2e6 --- /dev/null +++ b/c/src/tests/mptests/mp14/node1/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp14/node1/Makefile.in b/c/src/tests/mptests/mp14/node1/Makefile.in deleted file mode 100644 index 2ec95c2d24..0000000000 --- a/c/src/tests/mptests/mp14/node1/Makefile.in +++ /dev/null @@ -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 diff --git a/c/src/tests/mptests/mp14/node2/Makefile.am b/c/src/tests/mptests/mp14/node2/Makefile.am new file mode 100644 index 0000000000..34bad0c772 --- /dev/null +++ b/c/src/tests/mptests/mp14/node2/Makefile.am @@ -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 diff --git a/c/src/tests/mptests/mp14/node2/Makefile.in b/c/src/tests/mptests/mp14/node2/Makefile.in deleted file mode 100644 index 4de5504959..0000000000 --- a/c/src/tests/mptests/mp14/node2/Makefile.in +++ /dev/null @@ -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 diff --git a/testsuites/mptests/mp01/Makefile.am b/testsuites/mptests/mp01/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp01/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp01/node1/Makefile.am b/testsuites/mptests/mp01/node1/Makefile.am new file mode 100644 index 0000000000..a7933c7c10 --- /dev/null +++ b/testsuites/mptests/mp01/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp01/node2/Makefile.am b/testsuites/mptests/mp01/node2/Makefile.am new file mode 100644 index 0000000000..5f7e569bc3 --- /dev/null +++ b/testsuites/mptests/mp01/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp02/Makefile.am b/testsuites/mptests/mp02/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp02/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp02/node1/Makefile.am b/testsuites/mptests/mp02/node1/Makefile.am new file mode 100644 index 0000000000..456e248f9f --- /dev/null +++ b/testsuites/mptests/mp02/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp02/node2/Makefile.am b/testsuites/mptests/mp02/node2/Makefile.am new file mode 100644 index 0000000000..78f27866a1 --- /dev/null +++ b/testsuites/mptests/mp02/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp03/Makefile.am b/testsuites/mptests/mp03/Makefile.am new file mode 100644 index 0000000000..c467df661d --- /dev/null +++ b/testsuites/mptests/mp03/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp03/node1/Makefile.am b/testsuites/mptests/mp03/node1/Makefile.am new file mode 100644 index 0000000000..cb3323e4a2 --- /dev/null +++ b/testsuites/mptests/mp03/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp03/node2/Makefile.am b/testsuites/mptests/mp03/node2/Makefile.am new file mode 100644 index 0000000000..e34c2a9e47 --- /dev/null +++ b/testsuites/mptests/mp03/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp04/Makefile.am b/testsuites/mptests/mp04/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp04/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp04/node1/Makefile.am b/testsuites/mptests/mp04/node1/Makefile.am new file mode 100644 index 0000000000..45b3944f4c --- /dev/null +++ b/testsuites/mptests/mp04/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp04/node2/Makefile.am b/testsuites/mptests/mp04/node2/Makefile.am new file mode 100644 index 0000000000..78ba0b3b08 --- /dev/null +++ b/testsuites/mptests/mp04/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp05/Makefile.am b/testsuites/mptests/mp05/Makefile.am new file mode 100644 index 0000000000..27564a9335 --- /dev/null +++ b/testsuites/mptests/mp05/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp05/node1/Makefile.am b/testsuites/mptests/mp05/node1/Makefile.am new file mode 100644 index 0000000000..e8d3d0204f --- /dev/null +++ b/testsuites/mptests/mp05/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp05/node2/Makefile.am b/testsuites/mptests/mp05/node2/Makefile.am new file mode 100644 index 0000000000..a3a6f9dfed --- /dev/null +++ b/testsuites/mptests/mp05/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp06/Makefile.am b/testsuites/mptests/mp06/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp06/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp06/node1/Makefile.am b/testsuites/mptests/mp06/node1/Makefile.am new file mode 100644 index 0000000000..4086ae3e51 --- /dev/null +++ b/testsuites/mptests/mp06/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp06/node2/Makefile.am b/testsuites/mptests/mp06/node2/Makefile.am new file mode 100644 index 0000000000..b581f5071b --- /dev/null +++ b/testsuites/mptests/mp06/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp07/Makefile.am b/testsuites/mptests/mp07/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp07/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp07/node1/Makefile.am b/testsuites/mptests/mp07/node1/Makefile.am new file mode 100644 index 0000000000..38ea346bd0 --- /dev/null +++ b/testsuites/mptests/mp07/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp07/node2/Makefile.am b/testsuites/mptests/mp07/node2/Makefile.am new file mode 100644 index 0000000000..f66111437c --- /dev/null +++ b/testsuites/mptests/mp07/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp08/Makefile.am b/testsuites/mptests/mp08/Makefile.am new file mode 100644 index 0000000000..cdae39f815 --- /dev/null +++ b/testsuites/mptests/mp08/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp08/node1/Makefile.am b/testsuites/mptests/mp08/node1/Makefile.am new file mode 100644 index 0000000000..93c520210b --- /dev/null +++ b/testsuites/mptests/mp08/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp08/node2/Makefile.am b/testsuites/mptests/mp08/node2/Makefile.am new file mode 100644 index 0000000000..a09d30def6 --- /dev/null +++ b/testsuites/mptests/mp08/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp09/Makefile.am b/testsuites/mptests/mp09/Makefile.am new file mode 100644 index 0000000000..f15aa15612 --- /dev/null +++ b/testsuites/mptests/mp09/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp09/node1/Makefile.am b/testsuites/mptests/mp09/node1/Makefile.am new file mode 100644 index 0000000000..7407217ef1 --- /dev/null +++ b/testsuites/mptests/mp09/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp09/node2/Makefile.am b/testsuites/mptests/mp09/node2/Makefile.am new file mode 100644 index 0000000000..e5dad8524c --- /dev/null +++ b/testsuites/mptests/mp09/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp10/Makefile.am b/testsuites/mptests/mp10/Makefile.am new file mode 100644 index 0000000000..5ccb6eac78 --- /dev/null +++ b/testsuites/mptests/mp10/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp10/node1/Makefile.am b/testsuites/mptests/mp10/node1/Makefile.am new file mode 100644 index 0000000000..fc09ec1a7e --- /dev/null +++ b/testsuites/mptests/mp10/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp10/node2/Makefile.am b/testsuites/mptests/mp10/node2/Makefile.am new file mode 100644 index 0000000000..e78f1fec58 --- /dev/null +++ b/testsuites/mptests/mp10/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp11/Makefile.am b/testsuites/mptests/mp11/Makefile.am new file mode 100644 index 0000000000..b911e9c09c --- /dev/null +++ b/testsuites/mptests/mp11/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp11/node1/Makefile.am b/testsuites/mptests/mp11/node1/Makefile.am new file mode 100644 index 0000000000..5e148c6f97 --- /dev/null +++ b/testsuites/mptests/mp11/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp11/node2/Makefile.am b/testsuites/mptests/mp11/node2/Makefile.am new file mode 100644 index 0000000000..0afc222067 --- /dev/null +++ b/testsuites/mptests/mp11/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp12/Makefile.am b/testsuites/mptests/mp12/Makefile.am new file mode 100644 index 0000000000..b911e9c09c --- /dev/null +++ b/testsuites/mptests/mp12/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp12/node1/Makefile.am b/testsuites/mptests/mp12/node1/Makefile.am new file mode 100644 index 0000000000..10c343f552 --- /dev/null +++ b/testsuites/mptests/mp12/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp12/node2/Makefile.am b/testsuites/mptests/mp12/node2/Makefile.am new file mode 100644 index 0000000000..5ab000f371 --- /dev/null +++ b/testsuites/mptests/mp12/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp13/Makefile.am b/testsuites/mptests/mp13/Makefile.am new file mode 100644 index 0000000000..7d4d002d1c --- /dev/null +++ b/testsuites/mptests/mp13/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp13/node1/Makefile.am b/testsuites/mptests/mp13/node1/Makefile.am new file mode 100644 index 0000000000..74b8617508 --- /dev/null +++ b/testsuites/mptests/mp13/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp13/node2/Makefile.am b/testsuites/mptests/mp13/node2/Makefile.am new file mode 100644 index 0000000000..b215fad6af --- /dev/null +++ b/testsuites/mptests/mp13/node2/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp14/Makefile.am b/testsuites/mptests/mp14/Makefile.am new file mode 100644 index 0000000000..db1ff08d1d --- /dev/null +++ b/testsuites/mptests/mp14/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp14/node1/Makefile.am b/testsuites/mptests/mp14/node1/Makefile.am new file mode 100644 index 0000000000..0de7d8b2e6 --- /dev/null +++ b/testsuites/mptests/mp14/node1/Makefile.am @@ -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 diff --git a/testsuites/mptests/mp14/node2/Makefile.am b/testsuites/mptests/mp14/node2/Makefile.am new file mode 100644 index 0000000000..34bad0c772 --- /dev/null +++ b/testsuites/mptests/mp14/node2/Makefile.am @@ -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 |