summaryrefslogtreecommitdiffstats
path: root/rtems-test-template/psxtmtest_unblocking_nopreempt/Makefile.am
blob: ec853b394246db678c401db9749bee9daa6eb497 (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
MANAGERS = all

rtems_tests_PROGRAMS = @LOWER@
@LOWER@_SOURCES  = init.c
@LOWER@_SOURCES += ../../tmtests/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)/../tmtests/include
AM_CPPFLAGS += -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