# Copyright 2014 Darik Horn # # 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 . 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 \ -DSTATE_DIR='"@localstatedir@/lib/softether"' \ -DUNIX \ -DUNIX_LINUX \ -D_REENTRANT \ -DREENTRANT \ -D_THREAD_SAFE \ -D_THREADSAFE \ -DTHREAD_SAFE \ -DTHREADSAFE \ -D_FILE_OFFSET_BITS=64 \ -fsigned-char