summaryrefslogtreecommitdiffstats
path: root/c/src/tests/samples/Makefile.in
blob: afbd53cc2b840df6f2f92735729793d42b9d0e9f (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
32
33
34
35
36
37
38
39
40
#
#  $Id$
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ../../../..
subdir = c/src/tests/samples

INSTALL = @INSTALL@

RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
PROJECT_ROOT = @PROJECT_ROOT@

VPATH = @srcdir@

include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg

# cdtest is a C++ constructor/destructor test
# We only build it if HAS_CPLUSCPLUS was defined

CPLUSPLUS_TESTS_yes_V = cdtest
CPLUSPLUS_TESTS = $(CPLUSPLUS_TESTS_$(HAS_CPLUSPLUS)_V)

# base_mp is a sample multiprocessing test
# We only build it if HAS_MP was defined

MP_TESTS_yes_V = base_mp
MP_TESTS = $(MP_TESTS_$(HAS_MP)_V)

FP_TESTS = paranoia

SUB_DIRS=hello ticker base_sp unlimited \
	 $(MP_TESTS) $(CPLUSPLUS_TESTS) $(FP_TESTS)

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status