forked from cernekee/ocproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
142 lines (133 loc) · 4.79 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
AUTOMAKE_OPTIONS = foreign subdir-objects
AM_CFLAGS = @WFLAGS@ -Dunix -DIPv4 \
-I$(srcdir)/lwip/src \
-I$(srcdir)/lwip/src/include \
-I$(srcdir)/lwip/src/include/ipv4 \
-I$(srcdir)/lwip/src/include/ipv6 \
-I$(srcdir)/contrib/ports/unix/include \
-I$(srcdir)/src
LWIP_SOURCES := \
lwip/src/include/lwip/api.h \
lwip/src/include/lwip/api_msg.h \
lwip/src/include/lwip/arch.h \
lwip/src/include/lwip/debug.h \
lwip/src/include/lwip/def.h \
lwip/src/include/lwip/dhcp.h \
lwip/src/include/lwip/dns.h \
lwip/src/include/lwip/err.h \
lwip/src/include/lwip/inet_chksum.h \
lwip/src/include/lwip/init.h \
lwip/src/include/lwip/ip.h \
lwip/src/include/lwip/ip_addr.h \
lwip/src/include/lwip/mem.h \
lwip/src/include/lwip/memp.h \
lwip/src/include/lwip/memp_std.h \
lwip/src/include/lwip/netbuf.h \
lwip/src/include/lwip/netdb.h \
lwip/src/include/lwip/netifapi.h \
lwip/src/include/lwip/netif.h \
lwip/src/include/lwip/opt.h \
lwip/src/include/lwip/pbuf.h \
lwip/src/include/lwip/pppapi.h \
lwip/src/include/lwip/raw.h \
lwip/src/include/lwip/sio.h \
lwip/src/include/lwip/snmp_asn1.h \
lwip/src/include/lwip/snmp.h \
lwip/src/include/lwip/snmp_msg.h \
lwip/src/include/lwip/snmp_structs.h \
lwip/src/include/lwip/sockets.h \
lwip/src/include/lwip/stats.h \
lwip/src/include/lwip/sys.h \
lwip/src/include/lwip/tcp.h \
lwip/src/include/lwip/tcp_impl.h \
lwip/src/include/lwip/tcpip.h \
lwip/src/include/lwip/timers.h \
lwip/src/include/lwip/udp.h \
lwip/src/include/netif/etharp.h \
lwip/src/include/netif/slipif.h \
lwip/src/include/netif/ppp/ppp.h \
lwip/src/include/netif/ppp/pppoe.h \
lwip/src/include/netif/ppp/pppol2tp.h \
lwip/src/core/def.c \
lwip/src/core/dns.c \
lwip/src/core/inet_chksum.c \
lwip/src/core/init.c \
lwip/src/core/mem.c \
lwip/src/core/memp.c \
lwip/src/core/netif.c \
lwip/src/core/pbuf.c \
lwip/src/core/stats.c \
lwip/src/core/sys.c \
lwip/src/core/tcp.c \
lwip/src/core/tcp_in.c \
lwip/src/core/tcp_out.c \
lwip/src/core/timers.c \
lwip/src/core/udp.c \
lwip/src/include/ipv4/lwip/autoip.h \
lwip/src/include/ipv4/lwip/icmp.h \
lwip/src/include/ipv4/lwip/igmp.h \
lwip/src/include/ipv4/lwip/inet.h \
lwip/src/include/ipv4/lwip/ip4_addr.h \
lwip/src/include/ipv4/lwip/ip4.h \
lwip/src/include/ipv4/lwip/ip_frag.h \
lwip/src/include/ipv6/lwip/icmp6.h \
lwip/src/include/ipv6/lwip/ip6_addr.h \
lwip/src/include/ipv6/lwip/ip6.h \
lwip/src/include/ipv6/lwip/ip6_frag.h \
lwip/src/include/ipv6/lwip/mld6.h \
lwip/src/include/ipv6/lwip/nd6.h \
lwip/src/core/ipv4/icmp.c \
lwip/src/core/ipv4/ip4.c \
lwip/src/core/ipv4/ip4_addr.c \
lwip/src/core/ipv4/ip_frag.c \
lwip/src/api/api_lib.c \
lwip/src/api/api_msg.c \
lwip/src/api/err.c \
lwip/src/api/netdb.c \
lwip/src/api/tcpip.c \
contrib/ports/unix/include/arch/cc.h \
contrib/ports/unix/include/arch/perf.h \
contrib/ports/unix/include/arch/sys_arch.h \
contrib/ports/unix/include/netif/delif.h \
contrib/ports/unix/include/netif/dropif.h \
contrib/ports/unix/include/netif/fifo.h \
contrib/ports/unix/include/netif/list.h \
contrib/ports/unix/include/netif/pcapif.h \
contrib/ports/unix/include/netif/sio.h \
contrib/ports/unix/include/netif/tapif.h \
contrib/ports/unix/include/netif/tcpdump.h \
contrib/ports/unix/include/netif/tunif.h \
contrib/ports/unix/include/netif/unixif.h \
contrib/ports/unix/lwip_chksum.c \
contrib/ports/unix/perf.c \
contrib/ports/unix/sys_arch.c \
contrib/ports/unix/netif/list.c \
contrib/ports/unix/netif/tcpdump.c
APP_SOURCES := src/ocproxy.c src/lwipopts.h
bin_PROGRAMS = ocproxy
ocproxy_SOURCES = $(LWIP_SOURCES) $(APP_SOURCES)
dist_man_MANS = ocproxy.1
dist_doc_DATA = README.md CHANGES
dist_noinst_SCRIPTS = autogen.sh
if ENABLE_VPNNS
vpnns_SOURCES = src/vpnns.c
bin_PROGRAMS += vpnns
dist_man_MANS += vpnns.1
endif
EXTRA_DIST = .gitignore
DISTCLEANFILES = *~
LWIP_GIT = git://git.savannah.nongnu.org/lwip.git
LWIP_GIT_TAG = master
LWIP_CONTRIB_GIT = git://git.savannah.nongnu.org/lwip/lwip-contrib.git
LWIP_CONTRIB_GIT_TAG = master
.PHONY: update-lwip
update-lwip:
rm -rf lwip contrib
git clone --depth 1 $(LWIP_GIT) lwip
cd lwip && git checkout $(LWIP_GIT_TAG) && \
git rev-parse HEAD > VERSION
rm -rf lwip/.git
git clone --depth 1 $(LWIP_CONTRIB_GIT) contrib
cd contrib && git checkout $(LWIP_CONTRIB_GIT_TAG) && \
git rev-parse HEAD > VERSION
rm -rf contrib/.git