Upgrade to OpenVPN 2.1.0
[tomato.git] / release / src / router / openvpn / install-win32 / Makefile.am
blob784f8089d0e06ff36aad54788020b33b1bf5262c
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-2009 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 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
27 dist_noinst_DATA = \
28         openssl \
29         GetWindowsVersion.nsi \
30         build-pkcs11-helper.sh \
31         buildinstaller \
32         ddk-common \
33         doclean \
34         dosname.pl \
35         getgui \
36         getopenssl \
37         getpkcs11helper \
38         getprebuilt \
39         getxgui \
40         ifdef.pl \
41         m4todef.pl \
42         macro.pl \
43         makeopenvpn \
44         maketap \
45         maketapinstall \
46         maketext \
47         openvpn.nsi \
48         setpath.nsi \
49         settings.in \
50         trans.pl \
51         u2d.c \
52         winconfig
54 if WIN32
56 nodist_doc_DATA = tmp/license.txt
58 confdir = $(win32datadir)/config
59 nodist_conf_DATA = \
60         tmp/openssl.cnf.sample \
61         tmp/client.ovpn \
62         tmp/server.ovpn
63 dist_conf_DATA = \
64         sample.ovpn
66 easyrsadir = $(win32datadir)/easy-rsa/Windows
67 nodist_easyrsa_DATA = \
68         $(top_srcdir)/easy-rsa/Windows/*
70 keysdir = $(win32datadir)/sample-keys
71 nodist_keys_DATA = \
72         $(top_srcdir)/sample-keys/*
74 tmp:
75         mkdir tmp
77 tmp/client.ovpn:        tmp $(top_srcdir)/sample-config-files/client.conf
78         cp $(top_srcdir)/sample-config-files/client.conf tmp/client.ovpn
80 tmp/server.ovpn:        tmp $(top_srcdir)/sample-config-files/server.conf
81         cp $(top_srcdir)/sample-config-files/server.conf tmp/server.ovpn
83 tmp/license.txt:        tmp $(top_srcdir)/COPYING $(top_srcdir)/COPYRIGHT.GPL
84         cat $(top_srcdir)/COPYING $(top_srcdir)/COPYRIGHT.GPL > tmp/license.txt
86 tmp/openssl.cnf.sample: tmp $(top_srcdir)/easy-rsa/2.0/openssl.cnf
87         cp $(top_srcdir)/easy-rsa/2.0/openssl.cnf tmp/openssl.cnf.sample
89 clean-local:
90         -rm -fr tmp
92 else
94 dist_noinst_DATA += sample.ovpn
96 endif