summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm20/Makefile.am
blob: 7427527f12edf055d4fdc5647a2922274c805b8a (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 partition region semaphore

rtems_tests_PROGRAMS = tm20
tm20_SOURCES = task1.c system.h ../include/timesys.h \
    ../../support/src/tmtests_empty_function.c

dist_rtems_tests_DATA = tm20.doc

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

tm20_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 = $(tm20_OBJECTS) $(tm20_LDADD)
LINK_LIBS = $(tm20_LDLIBS)

tm20$(EXEEXT): $(tm20_OBJECTS) $(tm20_DEPENDENCIES)
	@rm -f tm20$(EXEEXT)
	$(make-exe)

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