summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/Makefile.am
blob: ecaaaa570f144c9bc007a94b109645955a2ff732 (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
28
29
30
31
##
##  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

docdir = $(rtems_testsdir)
dist_doc_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