summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmthread02/Makefile.am
blob: c39e2c0aa5d7181c90030d635290529d9f82697d (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 = psxtmthread02
psxtmthread02_SOURCES  = init.c
psxtmthread02_SOURCES += ../../tmtests/include/timesys.h
psxtmthread02_SOURCES += ../../support/src/tmtests_empty_function.c
psxtmthread02_SOURCES += ../../support/src/tmtests_support.c

dist_rtems_tests_DATA = psxtmthread02.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 = $(psxtmthread02_OBJECTS) $(psxtmthread02_LDADD)
LINK_LIBS = $(psxtmthread02_LDLIBS)

psxtmthread02$(EXEEXT): $(psxtmthread02_OBJECTS) $(psxtmthread02_DEPENDENCIES)
	@rm -f psxtmthread02$(EXEEXT)
	$(make-exe)

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