From c4ea5efc613cad9bfb0c56c250a2f26b69249688 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Nov 1999 14:19:26 +0000 Subject: Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius which (among other things) converted the mptests to automake. --- testsuites/mptests/mp10/node2/Makefile.am | 58 +++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 testsuites/mptests/mp10/node2/Makefile.am (limited to 'testsuites/mptests/mp10/node2/Makefile.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 -- cgit v1.2.3