summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm21/Makefile.am
blob: c5a50e954286d79b7bec212e881f2318fd865726 (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 dpmem message partition region semaphore rate_monotonic timer

rtems_tests_PROGRAMS = tm21.exe
tm21_exe_SOURCES = task1.c system.h ../include/timesys.h

docdir = $(rtems_testsdir)
dist_doc_DATA = tm21.doc

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

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

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

LINK_OBJS = $(tm21_exe_OBJECTS) $(tm21_exe_LDADD)
LINK_LIBS = $(tm21_exe_LDLIBS)

tm21.exe$(EXEEXT): $(tm21_exe_OBJECTS) $(tm21_exe_DEPENDENCIES)
	@rm -f tm21.exe$(EXEEXT)
	$(make-exe)

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