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 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spatomic01') 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 -- cgit v1.2.3