summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp11/Makefile.am
blob: 28b327733c5969237ec91c7b5ffcb61dccc20325 (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
29
30
##
## $Id$
##

MANAGERS = io event timer

rtems_tests_PROGRAMS = sp11.exe
sp11_exe_SOURCES = init.c task1.c task2.c timer.c system.h

scndir = $(rtems_testsdir)
dist_scn_DATA = sp11.scn
docdir = $(rtems_testsdir)
dist_doc_DATA = sp11.doc

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

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

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

LINK_OBJS = $(sp11_exe_OBJECTS) $(sp11_exe_LDADD)
LINK_LIBS = $(sp11_exe_LDLIBS)

sp11.exe$(EXEEXT): $(sp11_exe_OBJECTS) $(sp11_exe_DEPENDENCIES)
	@rm -f sp11.exe$(EXEEXT)
	$(make-exe)

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