diff options
author | WeiY <wei.a.yang@gmail.com> | 2013-07-15 23:31:13 +0800 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-17 13:07:33 +0200 |
commit | 2e7f57986576cf19b20f0fa8a9e8edd810215c73 (patch) | |
tree | a9090f44c914871b4c9a6958ec7df51e4adad46d /testsuites/smptests/smpatomic05/Makefile.am | |
parent | smpatomic test case update (diff) | |
download | rtems-2e7f57986576cf19b20f0fa8a9e8edd810215c73.tar.bz2 |
stdatomic.h support check when configure
Diffstat (limited to 'testsuites/smptests/smpatomic05/Makefile.am')
-rw-r--r-- | testsuites/smptests/smpatomic05/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/smptests/smpatomic05/Makefile.am b/testsuites/smptests/smpatomic05/Makefile.am index b9c4f7f325..f9df60d4b2 100644 --- a/testsuites/smptests/smpatomic05/Makefile.am +++ b/testsuites/smptests/smpatomic05/Makefile.am @@ -1,15 +1,16 @@ - +if ATOMIC rtems_tests_PROGRAMS = smpatomic05 smpatomic05_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c dist_rtems_tests_DATA = smpatomic05.scn dist_rtems_tests_DATA += smpatomic05.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 = $(smpatomic05_OBJECTS) @@ -18,5 +19,6 @@ LINK_LIBS = $(smpatomic05_LDLIBS) smpatomic05$(EXEEXT): $(smpatomic05_OBJECTS) $(smpatomic05_DEPENDENCIES) @rm -f smpatomic05$(EXEEXT) $(make-exe) +endif include $(top_srcdir)/../automake/local.am |