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
8 # Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
9 # Copyright (C) 2010 David Sommerseth <dazo@users.sourceforge.net>
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License version 2
13 # as published by the Free Software Foundation.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program (see the file COPYING included with this
22 # distribution); if not, write to the Free Software Foundation, Inc.,
23 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 # This option prevents autoreconf from overriding our COPYING and
31 AUTOMAKE_OPTIONS = foreign
33 MAINTAINERCLEANFILES = \
34 config.log config.status \
35 $(srcdir)/Makefile.in \
36 $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \
37 $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
38 $(srcdir)/depcomp $(srcdir)/aclocal.m4 \
39 $(srcdir)/config.guess $(srcdir)/config.sub \
40 $(srcdir)/openvpn.spec
41 CLEANFILES = openvpn.8.html configure.h
60 TESTS = t_client.sh t_lpback.sh t_cltsrv.sh
61 sbin_PROGRAMS = openvpn
65 dist_noinst_SCRIPTS = \
70 configure_h.awk configure_log.awk
90 forward.c forward.h forward-inline.h \
91 fragment.c fragment.h \
94 httpdigest.c httpdigest.h \
98 interval.c interval.h \
112 occ.c occ.h occ-inline.h \
114 openvpn.c openvpn.h \
116 options.c options.h \
118 packet_id.c packet_id.h \
120 pf.c pf.h pf-inline.h \
121 ping.c ping.h ping-inline.h \
126 ieproxy.h ieproxy.c \
130 reliable.c reliable.h \
132 schedule.c schedule.h \
133 session_id.c session_id.h \
144 cryptoapi.h cryptoapi.c
146 nodist_openvpn_SOURCES = configure.h
147 options.$(OBJEXT): configure.h
149 configure.h: Makefile
150 awk -f $(srcdir)/configure_h.awk config.h > $@
151 awk -f $(srcdir)/configure_log.awk config.log >> $@
154 cd $(distdir) && for i in $(EXTRA_DIST) $(SUBDIRS) ; do find $$i -name .svn -type d -prune -exec rm -rf '{}' ';' ; rm -f `find $$i -type f | grep -E '(^|\/)\.?\#|\~$$|\.s?o$$'` ; done
157 dist_noinst_DATA += openvpn.8
158 nodist_html_DATA = openvpn.8.html
159 openvpn.8.html: $(srcdir)/openvpn.8
160 $(MAN2HTML) < $(srcdir)/openvpn.8 > openvpn.8.html
162 dist_man_MANS = openvpn.8