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

MANAGERS = all

rtems_tests_PROGRAMS = psxspin01
psxspin01_SOURCES = main.c test.c ../include/pmacros.h

scndir = $(rtems_testsdir)
dist_scn_DATA = psxspin01.scn

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

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

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

LINK_OBJS = $(psxspin01_OBJECTS) $(psxspin01_LDADD)
LINK_LIBS = $(psxspin01_LDLIBS)

psxspin01$(EXEEXT): $(psxspin01_OBJECTS) \
    $(psxspin01_DEPENDENCIES)
	@rm -f psxspin01$(EXEEXT)
	$(make-exe)

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