summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcleanup/Makefile.am
blob: ec4d111c7c5fcc8a2b050251df8cdfb0d68c1a48 (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 = psxcleanup
psxcleanup_SOURCES = psxcleanup.c system.h ../include/pmacros.h

dist_rtems_tests_DATA = psxcleanup.scn

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

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

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

LINK_OBJS = $(psxcleanup_OBJECTS) $(psxcleanup_LDADD)
LINK_LIBS = $(psxcleanup_LDLIBS)

psxcleanup$(EXEEXT): $(psxcleanup_OBJECTS) $(psxcleanup_DEPENDENCIES)
	@rm -f psxcleanup$(EXEEXT)
	$(make-exe)

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