summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/cdtest/Makefile.am
blob: 70268279722e16b58c54dd9c33212d6b1008de24 (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 = cdtest.exe
cdtest_exe_SOURCES = init.c main.cc system.h

scndir = $(rtems_testsdir)
dist_scn_DATA = cdtest.scn

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

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

# AM_CPPFLAGS += -DRTEMS_TEST_IO_STREAM

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

LINK_OBJS = $(cdtest_exe_OBJECTS) $(cdtest_exe_LDADD)
LINK_LIBS = $(cdtest_exe_LDLIBS)

cdtest.exe$(EXEEXT): $(cdtest_exe_OBJECTS) $(cdtest_exe_DEPENDENCIES)
	@rm -f cdtest.exe$(EXEEXT)
	$(make-cxx-exe)

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