summaryrefslogtreecommitdiffstats
path: root/testsuites/rhealstone/rhtaskswitch/Makefile.am
blob: 26ca7333200f05964629e9b8cb4ada456412c0cf (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
MANAGERS = all

rtems_tests_PROGRAMS = rhtaskswitch
rhtaskswitch_SOURCES  = taskswitch.c
rhtaskswitch_SOURCES += ../../tmtests/include/timesys.h

dist_rtems_tests_DATA = rhtaskswitch.adoc

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

AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(rhtaskswitch_OBJECTS) $(rhtaskswitch_LDADD)
LINK_LIBS = $(rhtaskswitch_LDLIBS)

rhtaskswitch$(EXEEXT): $(rhtaskswitch_OBJECTS) $(rhtaskswitch_DEPENDENCIES)
	@rm -f rhtaskswitch$(EXEEXT)
	$(make-exe)

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