From 1c0a6e634b45f74986c82b6e30475609d6d640af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Thu, 14 Feb 2013 23:27:26 +0100 Subject: Introduce AM_CONDITIONAL ATOMIC. --- testsuites/sptests/spatomic01/Makefile.am | 6 ++++-- testsuites/sptests/spatomic02/Makefile.am | 6 ++++-- testsuites/sptests/spatomic03/Makefile.am | 6 ++++-- testsuites/sptests/spatomic04/Makefile.am | 6 ++++-- testsuites/sptests/spatomic05/Makefile.am | 6 ++++-- testsuites/sptests/spatomic06/Makefile.am | 6 ++++-- testsuites/sptests/spatomic07/Makefile.am | 6 ++++-- 7 files changed, 28 insertions(+), 14 deletions(-) (limited to 'testsuites') diff --git a/testsuites/sptests/spatomic01/Makefile.am b/testsuites/sptests/spatomic01/Makefile.am index 760b17b73e..43613ec80c 100644 --- a/testsuites/sptests/spatomic01/Makefile.am +++ b/testsuites/sptests/spatomic01/Makefile.am @@ -1,22 +1,24 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic01 spatomic01_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic01.scn dist_rtems_tests_DATA += spatomic01.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - AM_CPPFLAGS += -I$(top_srcdir)/../support/include +if ATOMIC LINK_OBJS = $(spatomic01_OBJECTS) LINK_LIBS = $(spatomic01_LDLIBS) spatomic01$(EXEEXT): $(spatomic01_OBJECTS) $(spatomic01_DEPENDENCIES) @rm -f spatomic01$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic02/Makefile.am b/testsuites/sptests/spatomic02/Makefile.am index 3c9b1eb67c..cf3e655ae5 100644 --- a/testsuites/sptests/spatomic02/Makefile.am +++ b/testsuites/sptests/spatomic02/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic02 spatomic02_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic02.scn dist_rtems_tests_DATA += spatomic02.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic02_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic02_LDLIBS) spatomic02$(EXEEXT): $(spatomic02_OBJECTS) $(spatomic02_DEPENDENCIES) @rm -f spatomic01$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic03/Makefile.am b/testsuites/sptests/spatomic03/Makefile.am index e9b880b30d..15b3b472f4 100644 --- a/testsuites/sptests/spatomic03/Makefile.am +++ b/testsuites/sptests/spatomic03/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic03 spatomic03_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic03.scn dist_rtems_tests_DATA += spatomic03.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic03_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic03_LDLIBS) spatomic03$(EXEEXT): $(spatomic03_OBJECTS) $(spatomic03_DEPENDENCIES) @rm -f spatomic03$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic04/Makefile.am b/testsuites/sptests/spatomic04/Makefile.am index 6ecc55677e..d03e8b514c 100644 --- a/testsuites/sptests/spatomic04/Makefile.am +++ b/testsuites/sptests/spatomic04/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic04 spatomic04_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic04.scn dist_rtems_tests_DATA += spatomic04.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic04_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic04_LDLIBS) spatomic04$(EXEEXT): $(spatomic04_OBJECTS) $(spatomic04_DEPENDENCIES) @rm -f spatomic04$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic05/Makefile.am b/testsuites/sptests/spatomic05/Makefile.am index bfa459d6e0..cf72b8e7a4 100644 --- a/testsuites/sptests/spatomic05/Makefile.am +++ b/testsuites/sptests/spatomic05/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic05 spatomic05_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic05.scn dist_rtems_tests_DATA += spatomic05.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic05_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic05_LDLIBS) spatomic05$(EXEEXT): $(spatomic05_OBJECTS) $(spatomic05_DEPENDENCIES) @rm -f spatomic05$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic06/Makefile.am b/testsuites/sptests/spatomic06/Makefile.am index 4efc86553b..82150f9fe4 100644 --- a/testsuites/sptests/spatomic06/Makefile.am +++ b/testsuites/sptests/spatomic06/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic06 spatomic06_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic06.scn dist_rtems_tests_DATA += spatomic06.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic06_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic06_LDLIBS) spatomic06$(EXEEXT): $(spatomic06_OBJECTS) $(spatomic06_DEPENDENCIES) @rm -f spatomic06$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am diff --git a/testsuites/sptests/spatomic07/Makefile.am b/testsuites/sptests/spatomic07/Makefile.am index 6b07b29a25..bd63c527e8 100644 --- a/testsuites/sptests/spatomic07/Makefile.am +++ b/testsuites/sptests/spatomic07/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = spatomic07 spatomic07_SOURCES = init.c tasks.c system.h dist_rtems_tests_DATA = spatomic07.scn dist_rtems_tests_DATA += spatomic07.doc +endif include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am - +if ATOMIC AM_CPPFLAGS += -I$(top_srcdir)/../support/include LINK_OBJS = $(spatomic07_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(spatomic07_LDLIBS) spatomic07$(EXEEXT): $(spatomic07_OBJECTS) $(spatomic07_DEPENDENCIES) @rm -f spatomic07$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am -- cgit v1.2.3