summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/Makefile.am
blob: 71e2805c77aa9cb295e0272443bd1263b7823a5d (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
29
30
##
##  Makefile.am,v 1.9 2002/08/11 05:18:59 ralf Exp
##

MANAGERS = io message semaphore

if LIBCHIP

rtems_tests_PROGRAMS = fileio.exe
fileio_exe_SOURCES = init.c system.h

dist_rtems_tests_DATA = fileio.doc
endif

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

if LIBCHIP
fileio_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

LINK_OBJS = $(fileio_exe_OBJECTS) $(fileio_exe_LDADD)
LINK_LIBS = $(fileio_exe_LDLIBS)

fileio.exe$(EXEEXT): $(fileio_exe_OBJECTS) $(fileio_exe_DEPENDENCIES)
	@rm -f fileio.exe$(EXEEXT)
	$(make-exe)
endif

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