aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 8b65244c18acc6d168ca0ca335055a88d3a85604 (plain)
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
41
42
43
44
45
46
ACLOCAL_AMFLAGS=-I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides	\
			       --enable-helper-linux

if PLATFORM_IS_LINUX_GENERIC
PLATFORM_DIR = platform/linux-generic
PLATFORM_DUMPCONF_DIR = platform/linux-generic/dumpconfig
PLATFORM_TEST_DIR = platform/linux-generic/test
PLATFORM_EXAMPLE_DIR = platform/linux-generic/example
endif

SUBDIRS = \
	  include \
	  $(PLATFORM_DIR) \
	  $(PLATFORM_DUMPCONF_DIR) \
	  helper \
	  doc

# Tests are run in this SUBDIRS order. The intention is to run validation tests first,
# then example/performance/platform specific tests.
if WITH_TESTS
SUBDIRS += test/common
SUBDIRS += test/miscellaneous
SUBDIRS += test/validation
endif

if WITH_EXAMPLES
SUBDIRS += example
SUBDIRS += $(PLATFORM_EXAMPLE_DIR)
endif

if WITH_TESTS
SUBDIRS += test/performance
SUBDIRS += helper/test
SUBDIRS += $(PLATFORM_TEST_DIR)
endif

@DX_RULES@

EXTRA_DIST = bootstrap CHANGELOG config/README

distcheck-hook:
	if test -n "$(DX_CLEANFILES)" ; \
	then \
		$(MAKE) doxygen-doc ; \
	fi