summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/Makefile.am
blob: 519d7b81b1b7389b3f4fb883641a84461a9fe4b9 (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
##
## $Id$
##

MANAGERS = all

rtems_tests_PROGRAMS = psxfile01
psxfile01_SOURCES = main.c test.c test_cat.c test_extend.c test_write.c ../include/pmacros.h

dist_rtems_tests_DATA = psxfile01.scn

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

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

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

LINK_OBJS = $(psxfile01_OBJECTS) $(psxfile01_LDADD)
LINK_LIBS = $(psxfile01_LDLIBS)

psxfile01$(EXEEXT): $(psxfile01_OBJECTS) $(psxfile01_DEPENDENCIES)
	@rm -f psxfile01$(EXEEXT)
	$(make-exe)

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