summaryrefslogtreecommitdiff
path: root/rtems-test-template/spfatal/Makefile.am
blob: dbb16e6f25c62be9670ae7fef7f840084db7a2c9 (plain)
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 = all

rtems_tests_PROGRAMS = @LOWER@
@LOWER@_SOURCES = ../spfatal_support/init.c \
    ../spfatal_support/system.h testcase.h

dist_rtems_tests_DATA = @LOWER@.scn
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

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