forked from OpenDataPlane/odp-dpdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
52 lines (44 loc) · 1.2 KB
/
Makefile.am
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
47
48
49
50
51
52
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
if PLATFORM_IS_LINUX_DPDK
PLATFORM_DIR = platform/linux-dpdk
PLATFORM_DUMPCONF_DIR = platform/linux-dpdk/dumpconfig
PLATFORM_TEST_DIR = platform/linux-dpdk/test
PLATFORM_EXAMPLE_DIR = platform/linux-dpdk/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