-
Notifications
You must be signed in to change notification settings - Fork 330
/
Makefile.am
65 lines (52 loc) · 1.27 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
53
54
55
56
57
58
59
60
61
62
63
64
65
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
if COND_TARGETS
MAYBE_TARGETS = targets
endif
if COND_PDFIXED
MAYBE_PDFIXED = pdfixed
endif
if COND_THRIFT
MAYBE_THRIFT = thrift_src
MAYBE_TESTS = tests
endif
if COND_PI
MAYBE_PI = PI services
endif
# simple_switch depends on libbmpi so PI needs to appear first
SUBDIRS = $(MAYBE_THRIFT) third_party src include \
$(MAYBE_TESTS) $(MAYBE_PI) $(MAYBE_TARGETS) tools $(MAYBE_PDFIXED)
# I am leaving all style-related files (cpplint) out of dist on purpose, maybe
# will add them later if needed
EXTRA_DIST = \
Doxyfile \
Doxymain.md \
LICENSE \
README.md \
install_deps.sh \
autogen.sh
# 'ci' files, used by install_deps.sh to install some dependencies
EXTRA_DIST += \
ci/check-nnpy.py \
ci/common.sh \
ci/install-nanomsg.sh \
ci/install-nnpy.sh \
ci/install-thrift.sh
# mininet directory
EXTRA_DIST += \
mininet/1sw_demo.py \
mininet/p4_mininet.py \
mininet/stress_test_ipv4.py.in \
mininet/simple_router.p4 \
mininet/simple_router.json \
mininet/stress_test_commands.txt
# docs directory
EXTRA_DIST += \
docs/JSON_format.md
EXTRA_DIST += \
VERSION
dist-hook:
@if test -f $(srcdir)/VERSION-build; then \
cp $(srcdir)/VERSION-build $(distdir); \
else :; \
fi
AM_DISTCHECK_CONFIGURE_FLAGS = --with-pdfixed --with-stress-tests