summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/hello/Makefile.am
blob: 883d6856ee4a929b55fd6da7573e9826192c5bbb (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
##
##  $Id$
##

MANAGERS = io

rtems_tests_PROGRAMS = hello.exe
hello_exe_SOURCES = init.c system.h

dist_rtems_tests_DATA = hello.scn
dist_rtems_tests_DATA += hello.doc

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

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

LINK_OBJS = $(hello_exe_OBJECTS) $(hello_exe_LDADD)
LINK_LIBS = $(hello_exe_LDLIBS)

hello.exe$(EXEEXT): $(hello_exe_OBJECTS) $(hello_exe_DEPENDENCIES)
	@rm -f hello.exe$(EXEEXT)
	$(make-exe)

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