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

MANAGERS = all

noinst_LIBRARIES = lib.a
lib_a_SOURCES = main.c test.c test_cat.c test_extend.c test_write.c ../include/pmacros.h

testsdir = $(libdir)/tests
scndir = $(testsdir)
dist_scn_DATA = psxfile01.scn

OBJS = $(lib_a_OBJECTS)

PGM = ${ARCH}/psxfile01.exe

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

$(PGM): ${ARCH}/$(dirstamp)

AM_CPPFLAGS += -I$(top_srcdir)/include

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

tests_SCRIPTS = $(PGM)

$(PGM): $(OBJS) $(LINK_FILES)
	$(make-exe)

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