aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: f651e9cacaed45324f6533563ef60a2ff9beed3d (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
ACLOCAL_AMFLAGS=-I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides	\
			       --enable-helper-linux	\
			       --with-testdir

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

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

if WITH_EXAMPLES
SUBDIRS += example
endif

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

@DX_RULES@

EXTRA_DIST = bootstrap CHANGELOG config/README config/odp-$(with_platform).conf

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