]> git.ipfire.org Git - thirdparty/openvpn.git/blame - Makefile.am
Clarify that the tls-crypt-v2-verify has a very limited env set
[thirdparty/openvpn.git] / Makefile.am
CommitLineData
6fbf66fa
JY
1#
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.
7#
ccf9d572
FL
8# Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net>
9# Copyright (C) 2010-2023 David Sommerseth <dazo@eurephia.org>
34cb9132 10# Copyright (C) 2006-2012 Alon Bar-Lev <alon.barlev@gmail.com>
6fbf66fa
JY
11#
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.
15#
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.
20#
caa54ac3
DS
21# You should have received a copy of the GNU General Public License along
22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
6fbf66fa
JY
24#
25
0fc5b8b3 26ACLOCAL_AMFLAGS = -I m4
6fbf66fa 27
1bda73a7
JY
28MAINTAINERCLEANFILES = \
29 config.log config.status \
30 $(srcdir)/Makefile.in \
31 $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \
32 $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
98bc1a3e
ABL
33 $(srcdir)/m4/libtool.m4 $(srcdir)/m4/lt~obsolete.m4 \
34 $(srcdir)/m4/ltoptions.m4 $(srcdir)/m4/ltsugar.m4 \
35 $(srcdir)/m4/ltversion.m4 \
1bda73a7 36 $(srcdir)/depcomp $(srcdir)/aclocal.m4 \
34cb9132 37 $(srcdir)/config.guess $(srcdir)/config.sub
6fbf66fa 38
7046ff20 39CLEANFILES = \
1e3a1786 40 config-version.h tests/t_client.sh
7046ff20 41
1bda73a7 42EXTRA_DIST = \
1bda73a7 43 contrib \
e8881ec6
FL
44 debug \
45 CMakeLists.txt \
46 CMakePresets.json \
47 config.h.cmake.in
1bda73a7 48
66bf378e 49.PHONY: config-version.h doxygen
7046ff20
ABL
50
51if GIT_CHECKOUT
52BUILT_SOURCES = \
53 config-version.h
54endif
55
222e6917 56SUBDIRS = build distro include src sample doc tests
1bda73a7 57
51bd56f4 58dist_doc_DATA = \
46977f29 59 README \
ed0e7993 60 README.mbedtls \
7fb22ea0 61 Changes.rst \
51bd56f4
ABL
62 COPYRIGHT.GPL \
63 COPYING
64
1bda73a7 65dist_noinst_DATA = \
51bd56f4 66 .gitignore \
f99d8fa7 67 .gitattributes \
9ccb1497 68 CONTRIBUTING.rst \
1bda73a7 69 PORTS \
53055fd2 70 README.cmake.md \
9ccb1497
FL
71 README.dco.md \
72 README.ec \
7fbb9484 73 README.wolfssl
6187644b 74
7046ff20 75config-version.h:
fb621041
DS
76 @CONFIGURE_GIT_CHFILES="`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) diff-files --name-status -r --ignore-submodules --quiet -- || echo \"+\"`"; \
77 CONFIGURE_GIT_UNCOMMITTED="`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) diff-index --cached --quiet --ignore-submodules HEAD || echo \"*\"`"; \
78 CONFIGURE_GIT_REVISION="`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) rev-parse --symbolic-full-name HEAD | cut -d/ -f3-`/`GIT_DIR=\"$(top_srcdir)/.git\" $(GIT) rev-parse --short=16 HEAD`"; \
79 echo "#define CONFIGURE_GIT_REVISION \"$${CONFIGURE_GIT_REVISION}\"" > config-version.h.tmp; \
80 echo "#define CONFIGURE_GIT_FLAGS \"$${CONFIGURE_GIT_CHFILES}$${CONFIGURE_GIT_UNCOMMITTED}\"" >> config-version.h.tmp
81
7046ff20
ABL
82 @if ! [ -f config-version.h ] || ! cmp -s config-version.h.tmp config-version.h; then \
83 echo "replacing config-version.h"; \
84 mv config-version.h.tmp config-version.h; \
85 else \
86 rm -f config-version.h.tmp; \
87 fi
66bf378e
SK
88
89doxygen:
90 $(MAKE) -C doc/doxygen doxygen