Update to OpenVPN 2.1rc13
[tomato.git] / release / src / router / openvpn / Makefile.am
blob5fc40937c59525d1411d0c788e7142ef64f508fc
2 #  OpenVPN -- An application to securely tunnel IP networks
3 #             over a single UDP port, with support for SSL/TLS-based
4 #             session authentication and key exchange,
5 #             packet encryption, packet authentication, and
6 #             packet compression.
8 #  Copyright (C) 2002-2008 OpenVPN Technologies, Inc. <sales@openvpn.net>
10 #  This program is free software; you can redistribute it and/or modify
11 #  it under the terms of the GNU General Public License version 2
12 #  as published by the Free Software Foundation.
14 #  This program is distributed in the hope that it will be useful,
15 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #  GNU General Public License for more details.
19 #  You should have received a copy of the GNU General Public License
20 #  along with this program (see the file COPYING included with this
21 #  distribution); if not, write to the Free Software Foundation, Inc.,
22 #  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25 LDADD = @LIBOBJS@
26 .PHONY: plugin
28 # This option prevents autoreconf from overriding our COPYING and
29 # INSTALL targets:
30 AUTOMAKE_OPTIONS = foreign
32 MAINTAINERCLEANFILES = \
33         config.log config.status \
34         $(srcdir)/Makefile.in \
35         $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \
36         $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
37         $(srcdir)/depcomp $(srcdir)/aclocal.m4 \
38         $(srcdir)/config.guess $(srcdir)/config.sub \
39         $(srcdir)/config-win32.h $(srcdir)/openvpn.spec
40 CLEANFILES = openvpn.8.html
42 EXTRA_DIST = \
43         easy-rsa \
44         sample-config-files \
45         sample-keys \
46         sample-scripts \
47         suse \
48         tap-win32 \
49         contrib \
50         debug \
51         plugin
53 SUBDIRS = \
54         images \
55         service-win32 \
56         install-win32
58 TESTS = t_lpback.sh t_cltsrv.sh
59 sbin_PROGRAMS = openvpn
61 dist_noinst_HEADERS = \
62         config-win32.h
64 dist_noinst_SCRIPTS = \
65         $(TESTS) \
66         doclean \
67         domake-win \
68         t_cltsrv-down.sh
70 dist_noinst_DATA = \
71         openvpn.spec \
72         COPYRIGHT.GPL \
73         PORTS \
74         INSTALL-win32.txt
76 openvpn_SOURCES = \
77         base64.c base64.h \
78         basic.h \
79         buffer.c buffer.h \
80         circ_list.h \
81         common.h \
82         crypto.c crypto.h \
83         dhcp.c dhcp.h \
84         errlevel.h \
85         error.c error.h \
86         event.c event.h \
87         fdmisc.c fdmisc.h \
88         forward.c forward.h forward-inline.h \
89         fragment.c fragment.h \
90         gremlin.c gremlin.h \
91         helper.c helper.h \
92         lladdr.c lladdr.h \
93         init.c init.h \
94         integer.h \
95         interval.c interval.h \
96         list.c list.h \
97         lzo.c lzo.h \
98         manage.c manage.h \
99         mbuf.c mbuf.h \
100         memdbg.h \
101         misc.c misc.h \
102         mroute.c mroute.h \
103         mss.c mss.h \
104         mtcp.c mtcp.h \
105         mtu.c mtu.h \
106         mudp.c mudp.h \
107         multi.c multi.h \
108         ntlm.c ntlm.h \
109         occ.c occ.h occ-inline.h \
110         pkcs11.c pkcs11.h \
111         openvpn.c openvpn.h \
112         openvpn-plugin.h \
113         options.c options.h \
114         otime.c otime.h \
115         packet_id.c packet_id.h \
116         perf.c perf.h \
117         pf.c pf.h pf-inline.h \
118         ping.c ping.h ping-inline.h \
119         plugin.c plugin.h \
120         pool.c pool.h \
121         proto.c proto.h \
122         proxy.c proxy.h \
123         ieproxy.h ieproxy.c \
124         ps.c ps.h \
125         push.c push.h \
126         reliable.c reliable.h \
127         route.c route.h \
128         schedule.c schedule.h \
129         session_id.c session_id.h \
130         shaper.c shaper.h \
131         sig.c sig.h \
132         socket.c socket.h \
133         socks.c socks.h \
134         ssl.c ssl.h \
135         status.c status.h \
136         syshead.h \
137         thread.c thread.h \
138         tun.c tun.h \
139         win32.h win32.c \
140         cryptoapi.h cryptoapi.c
143 dist-hook:
144         cd $(distdir) && for i in $(EXTRA_DIST) ; do find $$i -name .svn -type d -prune -exec rm -rf '{}' ';' ; rm -f `find $$i -type f | grep -E '(^|\/)\.?\#|\~$$|\.s?o$$'` ; done
146 if WIN32
147 dist_noinst_DATA += openvpn.8
148 nodist_html_DATA = openvpn.8.html
149 openvpn.8.html: $(srcdir)/openvpn.8
150         $(MAN2HTML) < $(srcdir)/openvpn.8 > openvpn.8.html
151 else
152 dist_man_MANS = openvpn.8
153 endif