summaryrefslogtreecommitdiffstats
path: root/rtems-test-template/tmtest/Makefile.am
blob: f58f8e889d9c0856fd2edde5192ce90472af83df (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 rate_monotonic semaphore

rtems_tests_PROGRAMS = @LOWER@
@LOWER@_SOURCES  = init.c
@LOWER@_SOURCES += ../include/timesys.h
@LOWER@_SOURCES += ../../support/src/tmtests_empty_function.c
@LOWER@_SOURCES += ../../support/src/tmtests_support.c

dist_rtems_tests_DATA = @LOWER@.doc

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

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

LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
LINK_LIBS = $(@LOWER@_LDLIBS)

@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
	@rm -f @LOWER@$(EXEEXT)
	$(make-exe)

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