summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmount/Makefile.am
blob: 205297f5c97b6e15cb3e1a6a8afb51878b95e9e9 (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 = psxmount
psxmount_SOURCES = main.c test.c ../include/pmacros.h

dist_rtems_tests_DATA = psxmount.scn

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

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

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

LINK_OBJS = $(psxmount_OBJECTS) $(psxmount_LDADD)
LINK_LIBS = $(psxmount_LDLIBS)

psxmount$(EXEEXT): $(psxmount_OBJECTS) $(psxmount_DEPENDENCIES)
	@rm -f psxmount$(EXEEXT)
	$(make-exe)

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