forked from libpcpnatpmp/libpcpnatpmp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
98 lines (82 loc) · 2.35 KB
/
Makefile.am
File metadata and controls
98 lines (82 loc) · 2.35 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
ACLOCAL_AMFLAGS = -I m4
if BUILD_CLI_CLIENT
APP_DIR = cli-client
endif
if BUILD_SERVER
SERVER_DIR = test-server
endif
PCP_CPPFLAGS = -I$(top_srcdir)/lib/include -I$(top_srcdir)/lib/src/net -I$(top_srcdir)/lib/src
PCP_CFLAGS = -Wall -Werror -Wno-error=strict-aliasing
GCOVLIB =
if GCOV
PCP_CFLAGS += -ggdb3 -O0 --coverage --no-inline
GCOVLIB += -lgcov
endif
if PROF
PCP_CFLAGS += -ggdb3 -O0 -pg
endif
if DEBUG
PCP_CFLAGS += -ggdb3 -O0
PCP_CPPFLAGS += -DDEBUG -DPCP_MAX_LOG_LEVEL=5
else
PCP_CPPFLAGS += -DNDEBUG
endif
export GCOVLIB
export PCP_CFLAGS
export PCP_CPPFLAGS
SUBDIRS = lib \
tests \
$(APP_DIR) \
$(SERVER_DIR)
EXTRA_DIST = tests/test_flow_notify.sh \
tests/test_version_negotiation.sh \
tests/test_pcp_client_map_opcode.sh \
tests/test_pcp_client_peer_opcode.sh \
tests/test_server_restart.sh \
tests/test_get_dscp.sh \
tests/test_lifetime_renewal.sh \
autogen.sh \
tests/test_pcp_cli_client.sh \
tests/test_pcp_server.sh \
tests/test_flow_md.sh \
tests/test_server_reping.sh \
INSTALL.md \
README.md \
cli-client/README.md \
test-server/README.md \
scapy/README.md \
COPYING
if PCP_USE_IPV6_SOCKET
DPCP_USE_IPV6_SOCKET=1
endif
TESTS_ENVIRONMENT = PATH=cli-client/:test-server/:lib/:tests/:$(PATH)\
PCP_USE_IPV6_SOCKET=$(DPCP_USE_IPV6_SOCKET)
if PCP_EXPERIMENTAL
PCP_EXPERIMENTAL_TESTS = tests/test_flow_md.sh
else
PCP_EXPERIMENTAL_TESTS =
endif
if PCP_SADSCP
PCP_SADSCP_TESTS = tests/test_get_dscp.sh
else
PCP_SADSCP_TESTS =
endif
TESTS = tests/test_flow_notify.sh \
tests/test_version_negotiation.sh \
tests/test_pcp_client_map_opcode.sh \
tests/test_pcp_client_peer_opcode.sh \
tests/test_server_restart.sh \
tests/test_lifetime_renewal.sh \
tests/test_event_handler \
tests/test_gw \
tests/test_ping_gws \
tests/test_pcp_client_db \
tests/test_pcp_api \
tests/test_pcp_cli_client.sh \
tests/test_pcp_server.sh \
tests/test_sock_ntop \
tests/test_pcp_logger \
tests/test_pcp_msg \
tests/test_server_reping.sh \
$(PCP_SADSCP_TESTS) \
$(PCP_EXPERIMENTAL_TESTS)