mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-11-23 20:01:33 +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:
82
src/Cedar/Makefile.am
Normal file
82
src/Cedar/Makefile.am
Normal file
@ -0,0 +1,82 @@
|
||||
# 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
|
||||
|
||||
noinst_LTLIBRARIES = libcedar.la
|
||||
|
||||
libcedar_la_SOURCES = \
|
||||
Account.c \
|
||||
Admin.c \
|
||||
AzureClient.c \
|
||||
AzureServer.c \
|
||||
Bridge.c \
|
||||
BridgeUnix.c \
|
||||
BridgeWin32.c \
|
||||
Cedar.c \
|
||||
CedarPch.c \
|
||||
Client.c \
|
||||
CM.c \
|
||||
Command.c \
|
||||
Connection.c \
|
||||
Console.c \
|
||||
Database.c \
|
||||
DDNS.c \
|
||||
EM.c \
|
||||
EtherLog.c \
|
||||
Hub.c \
|
||||
Interop_OpenVPN.c \
|
||||
Interop_SSTP.c \
|
||||
IPsec.c \
|
||||
IPsec_EtherIP.c \
|
||||
IPsec_IKE.c \
|
||||
IPsec_IkePacket.c \
|
||||
IPsec_IPC.c \
|
||||
IPsec_L2TP.c \
|
||||
IPsec_PPP.c \
|
||||
IPsec_Win7.c \
|
||||
Layer3.c \
|
||||
Link.c \
|
||||
Listener.c \
|
||||
Logging.c \
|
||||
Nat.c \
|
||||
NativeStack.c \
|
||||
NM.c \
|
||||
NullLan.c \
|
||||
Protocol.c \
|
||||
Radius.c \
|
||||
Remote.c \
|
||||
Sam.c \
|
||||
SecureInfo.c \
|
||||
SecureNAT.c \
|
||||
SeLowUser.c \
|
||||
Server.c \
|
||||
Session.c \
|
||||
SM.c \
|
||||
SW.c \
|
||||
UdpAccel.c \
|
||||
UT.c \
|
||||
VG.c \
|
||||
Virtual.c \
|
||||
VLan.c \
|
||||
VLanUnix.c \
|
||||
VLanWin32.c \
|
||||
WaterMark.c \
|
||||
WebUI.c \
|
||||
WinUi.c \
|
||||
Wpc.c
|
||||
26
src/Makefile.am
Normal file
26
src/Makefile.am
Normal file
@ -0,0 +1,26 @@
|
||||
# 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/>.
|
||||
|
||||
|
||||
# These components are built as libtool convenience libraries.
|
||||
SUBDIRS = Mayaqua Cedar
|
||||
|
||||
# This is a nodist helper.
|
||||
SUBDIRS += hamcorebuilder
|
||||
|
||||
# These are final build products.
|
||||
SUBDIRS += bin/hamcore vpnserver vpnclient vpnbridge vpncmd
|
||||
43
src/Mayaqua/Makefile.am
Normal file
43
src/Mayaqua/Makefile.am
Normal file
@ -0,0 +1,43 @@
|
||||
# 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
|
||||
|
||||
noinst_LTLIBRARIES = libmayaqua.la
|
||||
|
||||
libmayaqua_la_SOURCES = \
|
||||
Cfg.c \
|
||||
Encrypt.c \
|
||||
FileIO.c \
|
||||
Internat.c \
|
||||
Kernel.c \
|
||||
Mayaqua.c \
|
||||
Memory.c \
|
||||
Microsoft.c \
|
||||
Network.c \
|
||||
Object.c \
|
||||
OS.c \
|
||||
Pack.c \
|
||||
Secure.c \
|
||||
Str.c \
|
||||
Table.c \
|
||||
TcpIp.c \
|
||||
Tick64.c \
|
||||
Tracking.c \
|
||||
Unix.c \
|
||||
Win32.c
|
||||
29
src/bin/hamcore/Makefile.am
Normal file
29
src/bin/hamcore/Makefile.am
Normal 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
|
||||
|
||||
# This is required to use a custom build rule with -Wall and -Werror enabled.
|
||||
AUTOMAKE_OPTIONS = -Wno-override
|
||||
EXEEXT =
|
||||
HAMCOREBUILDER = $(top_builddir)/src/hamcorebuilder/hamcorebuilder
|
||||
|
||||
sbin_PROGRAMS = hamcore.se2
|
||||
|
||||
hamcore.se2$(EXEEXT): $(HAMCOREBUILDER)
|
||||
$(HAMCOREBUILDER) $(top_srcdir)/src/bin/hamcore $@
|
||||
29
src/hamcorebuilder/Makefile.am
Normal file
29
src/hamcorebuilder/Makefile.am
Normal 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
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
hamcorebuilder
|
||||
|
||||
hamcorebuilder_SOURCES = \
|
||||
hamcorebuilder.c
|
||||
|
||||
hamcorebuilder_LDADD = \
|
||||
$(top_builddir)/src/Mayaqua/libmayaqua.la \
|
||||
$(top_builddir)/src/Cedar/libcedar.la
|
||||
29
src/vpnbridge/Makefile.am
Normal file
29
src/vpnbridge/Makefile.am
Normal 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 = \
|
||||
vpnbridge
|
||||
|
||||
vpnbridge_SOURCES = \
|
||||
vpnbridge.c
|
||||
|
||||
vpnbridge_LDADD = \
|
||||
$(top_builddir)/src/Mayaqua/libmayaqua.la \
|
||||
$(top_builddir)/src/Cedar/libcedar.la
|
||||
29
src/vpnclient/Makefile.am
Normal file
29
src/vpnclient/Makefile.am
Normal 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 = \
|
||||
vpnclient
|
||||
|
||||
vpnclient_SOURCES = \
|
||||
vpncsvc.c
|
||||
|
||||
vpnclient_LDADD = \
|
||||
$(top_builddir)/src/Mayaqua/libmayaqua.la \
|
||||
$(top_builddir)/src/Cedar/libcedar.la
|
||||
29
src/vpncmd/Makefile.am
Normal file
29
src/vpncmd/Makefile.am
Normal 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 = \
|
||||
vpncmd
|
||||
|
||||
vpncmd_SOURCES = \
|
||||
vpncmd.c
|
||||
|
||||
vpncmd_LDADD = \
|
||||
$(top_builddir)/src/Mayaqua/libmayaqua.la \
|
||||
$(top_builddir)/src/Cedar/libcedar.la
|
||||
29
src/vpnserver/Makefile.am
Normal file
29
src/vpnserver/Makefile.am
Normal 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
|
||||
Reference in New Issue
Block a user