summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/imfs_fserror/Makefile.am
blob: e85b3b139eb9a2426c93276e978a9a5fb3f6b54c (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
31
32
33
34
35
36
37
##
##  $Id$
##

MANAGERS = all

rtems_tests_PROGRAMS = imfs_fserror
imfs_fserror_SOURCES  =  ../fserror/test.c
imfs_fserror_SOURCES += ../support/fstest_support.c
imfs_fserror_SOURCES += ../support/fstest_support.h
imfs_fserror_SOURCES += ../support/fstest.h
imfs_fserror_SOURCES += ../../psxtests/include/pmacros.h
imfs_fserror_SOURCES += ../imfs_support/fs_support.c
imfs_fserror_SOURCES += ../imfs_support/fs_config.h 

#dist_rtems_tests_DATA = imfs_fserror.scn
#dist_rtems_tests_DATA += imfs_fserror.doc

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

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

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

LINK_OBJS = $(imfs_fserror_OBJECTS) $(imfs_fserror_LDADD)
LINK_LIBS = $(imfs_fserror_LDLIBS)

imfs_fserror$(EXEEXT): $(imfs_fserror_OBJECTS) $(imfs_fserror_DEPENDENCIES)
	@rm -f imfs_fserror$(EXEEXT)
	$(make-exe)

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