summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/cpuuse/Makefile.am
blob: 0b31a92d46f276858fb358096a332873858973bf (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
##
## $Id$
##

MANAGERS = io rate_monotonic semaphore extension

rtems_tests_PROGRAMS = cpuuse
cpuuse_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h

dist_rtems_tests_DATA = cpuuse.scn

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

cpuuse_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

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

LINK_OBJS = $(cpuuse_OBJECTS) $(cpuuse_LDADD)
LINK_LIBS = $(cpuuse_LDLIBS)

cpuuse$(EXEEXT): $(cpuuse_OBJECTS) $(cpuuse_DEPENDENCIES)
	@rm -f cpuuse$(EXEEXT)
	$(make-exe)

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