summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp22/Makefile.am
blob: bc092b9979162d71ecdca7f9fd34e2d82bcbc632 (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
25
26
27
28
##
## $Id$
##

MANAGERS = io timer semaphore clock

rtems_tests_PROGRAMS = sp22
sp22_SOURCES = init.c prtime.c delay.c task1.c system.h

dist_rtems_tests_DATA = sp22.scn
dist_rtems_tests_DATA += sp22.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

sp22_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(sp22_OBJECTS) $(sp22_LDADD)
LINK_LIBS = $(sp22_LDLIBS)

sp22$(EXEEXT): $(sp22_OBJECTS) $(sp22_DEPENDENCIES)
	@rm -f sp22$(EXEEXT)
	$(make-exe)

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