2014-04-13 01:46:04 +04:00
|
|
|
# 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/>.
|
|
|
|
|
|
|
|
|
|
|
|
if CONFIGURE_ENABLE_DEBUG
|
|
|
|
DEBUG_CFLAGS = -g -D_DEBUG -DDEBUG
|
|
|
|
else
|
|
|
|
DEBUG_CFLAGS = -DNDEBUG -DVPN_SPEED
|
|
|
|
endif
|
|
|
|
|
|
|
|
AM_CFLAGS = \
|
|
|
|
$(DEBUG_CFLAGS) \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/Mayaqua \
|
|
|
|
-I$(top_srcdir)/src/Cedar \
|
2014-04-14 21:22:24 +04:00
|
|
|
-DSTATE_DIR='"@localstatedir@/lib/softether"' \
|
2014-04-13 01:46:04 +04:00
|
|
|
-DUNIX \
|
|
|
|
-DUNIX_LINUX \
|
|
|
|
-D_REENTRANT \
|
|
|
|
-DREENTRANT \
|
|
|
|
-D_THREAD_SAFE \
|
|
|
|
-D_THREADSAFE \
|
|
|
|
-DTHREAD_SAFE \
|
|
|
|
-DTHREADSAFE \
|
|
|
|
-D_FILE_OFFSET_BITS=64 \
|
|
|
|
-fsigned-char
|