source: rtems/testsuites/sptests/spatomic04/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: 605 bytes
Line 
1if ATOMIC
2rtems_tests_PROGRAMS = spatomic04
3spatomic04_SOURCES = init.c tasks.c system.h
4
5dist_rtems_tests_DATA = spatomic04.scn
6dist_rtems_tests_DATA += spatomic04.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 = $(spatomic04_OBJECTS)
17LINK_LIBS = $(spatomic04_LDLIBS)
18
19spatomic04$(EXEEXT): $(spatomic04_OBJECTS) $(spatomic04_DEPENDENCIES)
20        @rm -f spatomic04$(EXEEXT)
21        $(make-exe)
22endif
23
24include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.