From 2e7f57986576cf19b20f0fa8a9e8edd810215c73 Mon Sep 17 00:00:00 2001 From: WeiY Date: Mon, 15 Jul 2013 23:31:13 +0800 Subject: stdatomic.h support check when configure --- testsuites/smptests/smpatomic01/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/smptests/smpatomic01/Makefile.am') diff --git a/testsuites/smptests/smpatomic01/Makefile.am b/testsuites/smptests/smpatomic01/Makefile.am index c7af886f73..cc2e1fce8f 100644 --- a/testsuites/smptests/smpatomic01/Makefile.am +++ b/testsuites/smptests/smpatomic01/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = smpatomic01 smpatomic01_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c dist_rtems_tests_DATA = smpatomic01.scn dist_rtems_tests_DATA += smpatomic01.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 = $(smpatomic01_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(smpatomic01_LDLIBS) smpatomic01$(EXEEXT): $(smpatomic01_OBJECTS) $(smpatomic01_DEPENDENCIES) @rm -f smpatomic01$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am -- cgit v1.2.3