summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpatomic05/Makefile.am
blob: f9df60d4b2f21a15919d97b839c1632d9e997bfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
LINK_LIBS = $(smpatomic05_LDLIBS)

smpatomic05$(EXEEXT): $(smpatomic05_OBJECTS) $(smpatomic05_DEPENDENCIES)
	@rm -f smpatomic05$(EXEEXT)
	$(make-exe)
endif

include $(top_srcdir)/../automake/local.am