dnscrypto-proxy: Support files updated.
[tomato.git] / release / src / router / openvpn / Makefile.am
blobc5805797e7165ef88d4a4d82e8eafe1c2b9a9b08
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-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
28 # INSTALL targets:
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
43 CLEANFILES = \
44         config-version.h
46 EXTRA_DIST = \
47         contrib \
48         debug
50 .PHONY: config-version.h
52 if GIT_CHECKOUT
53 BUILT_SOURCES = \
54         config-version.h
55 endif
57 SUBDIRS = build distro include src sample doc tests
59 dist_doc_DATA = \
60         README \
61         README.IPv6 \
62         README.polarssl \
63         COPYRIGHT.GPL \
64         COPYING
66 dist_noinst_DATA = \
67         .gitignore \
68         .gitattributes \
69         config-version.h.in \
70         PORTS \
71         README.IPv6 TODO.IPv6 \
72         README.polarssl \
73         openvpn.sln \
74         msvc-env.bat \
75         msvc-dev.bat \
76         msvc-build.bat
78 if WIN32
79 dist_doc_DATA += INSTALL-win32.txt
80 else
81 dist_noinst_DATA += INSTALL-win32.txt
82 endif
84 dist_noinst_HEADERS = \
85         config-msvc.h \
86         config-msvc-version.h.in
88 if WIN32
89 rootdir=$(prefix)
90 root_DATA = version.sh
91 endif
93 config-version.h:
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; \
99         else \
100                 rm -f config-version.h.tmp; \
101         fi