1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-12-15 06:31:32 +03:00

Create autotools plumbing for SoftEther.

Add autoconf and automake capabilities to SoftEther so that it can be built
like this:

	# autoreconf --force --install
	# ./configure
	# make install DESTDIR=/tmp/softether

All standard configure parameters are supported, plus:

	# ./configure --enable-debug

Autotools support makes porting, cross compiling, and optimization much easier.

These GNU autoconf-archive components are used for dependency checking:

  * ax_check_openssl.m4
  * ax_check_zlib.m4
  * ax_lib_readline.m4
  * ax_pthread.m4
  * ax_with_curses.m4

NB: http://www.gnu.org/software/autoconf-archive/
This commit is contained in:
Darik Horn
2014-04-12 17:46:04 -04:00
parent ea38eef377
commit 688630dee2
18 changed files with 1704 additions and 0 deletions

29
src/vpnserver/Makefile.am Normal file
View File

@ -0,0 +1,29 @@
# Copyright 2014 Darik Horn <dajhorn@vanadac.com>
#
# This file is part of SoftEther.
#
# SoftEther is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 2 of the License, or (at your option)
# any later version.
#
# SoftEther is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# SoftEther. If not, see <http://www.gnu.org/licenses/>.
include $(top_srcdir)/autotools/softether.am
sbin_PROGRAMS = \
vpnserver
vpnserver_SOURCES = \
vpnserver.c
vpnserver_LDADD = \
$(top_builddir)/src/Mayaqua/libmayaqua.la \
$(top_builddir)/src/Cedar/libcedar.la