summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/rtems++/Makefile.am
blob: 9e528cb2f84f30c029b122cf111a9019561d7ba2 (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
##
## $Id$
##


if HAS_CXX
rtems_tests_PROGRAMS = rtems++
rtems___SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h
endif

dist_rtems_tests_DATA = rtems++.scn
dist_rtems_tests_DATA += rtems++.doc

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

if HAS_CXX
rtems___LDLIBS = -lrtems++
AM_CPPFLAGS += -I$(top_srcdir)/../support/include


LINK_OBJS = $(rtems___OBJECTS)
LINK_LIBS = $(rtems___LDLIBS)

rtems++$(EXEEXT): $(rtems___OBJECTS) $(rtems___DEPENDENCIES)
	@rm -f rtems++$(EXEEXT)
	$(make-cxx-exe)
endif

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