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>
10 # Copyright (C) 2006-2012 Alon Bar-Lev <alon.barlev@gmail.com>
12 # This program is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License version 2
14 # as published by the Free Software Foundation.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program (see the file COPYING included with this
23 # distribution); if not, write to the Free Software Foundation, Inc.,
24 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 # This option prevents autoreconf from overriding our COPYING and
29 AUTOMAKE_OPTIONS = foreign 1.9
30 ACLOCAL_AMFLAGS = -I m4
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)/m4/libtool.m4 $(srcdir)/m4/lt~obsolete.m4 \
38 $(srcdir)/m4/ltoptions.m4 $(srcdir)/m4/ltsugar.m4 \
39 $(srcdir)/m4/ltversion.m4 \
40 $(srcdir)/depcomp $(srcdir)/aclocal.m4 \
41 $(srcdir)/config.guess $(srcdir)/config.sub
50 .PHONY: config-version.h
57 SUBDIRS = build distro include src sample doc tests
71 README.IPv6 TODO.IPv6 \
79 dist_doc_DATA += INSTALL-win32.txt
81 dist_noinst_DATA += INSTALL-win32.txt
84 dist_noinst_HEADERS = \
86 config-msvc-version.h.in
90 root_DATA = version.sh
94 @CONFIGURE_GIT_REVISION="`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) rev-parse --symbolic-full-name HEAD`/`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) rev-parse --short=16 HEAD`"; \
95 $(SED) "s#@CONFIGURE_GIT_REVISION[@]#$${CONFIGURE_GIT_REVISION}#g" "$(srcdir)/config-version.h.in" > config-version.h.tmp
96 @if ! [ -f config-version.h ] || ! cmp -s config-version.h.tmp config-version.h; then \
97 echo "replacing config-version.h"; \
98 mv config-version.h.tmp config-version.h; \
100 rm -f config-version.h.tmp; \