source: rtems/testsuites/sptests/spatomic02/Makefile.am @ 1c0a6e63

4.115
Last change on this file since 1c0a6e63 was 1c0a6e63, checked in by Ralf Corsépius <ralf.corsepius@…>, on 02/14/13 at 22:27:26

Introduce AM_CONDITIONAL ATOMIC.

  • Property mode set to 100644
File size: 604 bytes
Line 
1if ATOMIC
2rtems_tests_PROGRAMS = spatomic02
3spatomic02_SOURCES = init.c tasks.c system.h
4
5dist_rtems_tests_DATA = spatomic02.scn
6dist_rtems_tests_DATA += spatomic02.doc
7endif
8
9include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
10include $(top_srcdir)/../automake/compile.am
11include $(top_srcdir)/../automake/leaf.am
12
13if ATOMIC
14AM_CPPFLAGS += -I$(top_srcdir)/../support/include
15
16LINK_OBJS = $(spatomic02_OBJECTS)
17LINK_LIBS = $(spatomic02_LDLIBS)
18
19spatomic02$(EXEEXT): $(spatomic02_OBJECTS) $(spatomic02_DEPENDENCIES)
20        @rm -f spatomic01$(EXEEXT)
21        $(make-exe)
22endif
23
24include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.