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

MANAGERS = io

rtems_tests_PROGRAMS = stackchk.exe
stackchk_exe_SOURCES = blow.c init.c task1.c system.h

scndir = $(rtems_testsdir)
dist_scn_DATA = stackchk.scn

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

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

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

LINK_OBJS = $(stackchk_exe_OBJECTS) $(stackchk_exe_LDADD)
LINK_LIBS = $(stackchk_exe_LDLIBS)

stackchk.exe$(EXEEXT): $(stackchk_exe_OBJECTS) $(stackchk_exe_DEPENDENCIES)
	@rm -f stackchk.exe$(EXEEXT)
	$(make-exe)

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