forked from p4lang/behavioral-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
63 lines (50 loc) · 1.21 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
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
endif
SUBDIRS = $(MAYBE_THRIFT) third_party src include \
$(MAYBE_TESTS) $(MAYBE_TARGETS) tools $(MAYBE_PDFIXED) $(MAYBE_PI)
# 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
# 'travis' files, used by install_deps.sh to install some dependencies
EXTRA_DIST += \
travis/check-nnpy.py \
travis/common.sh \
travis/install-nanomsg.sh \
travis/install-nnpy.sh \
travis/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