summaryrefslogtreecommitdiffstats
path: root/c/src/tests/Makefile.in
blob: 438c72f8db165dbb83e17e5464b9d4bb31c2ce3c (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
#
#  $Id$
#

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

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

all: README

# mptests are the multiprocessing test suite
# We only build them if HAS_MP was defined
MP_TESTS_yes_V = mptests
MP_TESTS = $(MP_TESTS_$(HAS_MP)_V)

# psxtests are the POSIX API test suite
# We only build them if HAS_POSIX_API was defined
POSIX_TESTS_yes_V = psxtests
POSIX_TESTS = $(POSIX_TESTS_$(HAS_POSIX_API)_V)
 
# wildcard on this lets ALL test suites be optional
SUB_DIRS=$(wildcard tools support samples libtests \
         sptests $(MP_TESTS) $(POSIX_TESTS) tmtests)

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