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# 8# Copyright (C) 2002-2022 OpenVPN Inc <sales@openvpn.net> 9# Copyright (C) 2006-2012 Alon Bar-Lev <alon.barlev@gmail.com> 10# 11 12include $(top_srcdir)/build/ltrc.inc 13 14MAINTAINERCLEANFILES = $(srcdir)/Makefile.in 15 16EXTRA_DIST = \ 17 openvpnserv.vcxproj \ 18 openvpnserv.vcxproj.filters 19 20AM_CPPFLAGS = \ 21 -I$(top_srcdir)/include -I$(top_srcdir)/src/openvpn -I$(top_srcdir)/src/compat 22 23if WIN32 24sbin_PROGRAMS = openvpnserv 25openvpnserv_CFLAGS = \ 26 -municode -D_UNICODE \ 27 -UNTDDI_VERSION -U_WIN32_WINNT \ 28 -D_WIN32_WINNT=_WIN32_WINNT_VISTA 29openvpnserv_LDADD = -ladvapi32 -luserenv -liphlpapi -lfwpuclnt -lrpcrt4 -lshlwapi -lnetapi32 -lws2_32 -lntdll 30endif 31 32openvpnserv_SOURCES = \ 33 common.c \ 34 automatic.c \ 35 interactive.c \ 36 service.c service.h \ 37 validate.c validate.h \ 38 $(top_srcdir)/src/openvpn/block_dns.c $(top_srcdir)/src/openvpn/block_dns.h \ 39 openvpnserv_resources.rc \ 40 $(top_srcdir)/src/openvpn/ring_buffer.h 41