# Variables for the build procedure
# Copyright (c) 2002 Serge van den Boom
#
# This program 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.
#
# This program 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 this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

BUILD_SYSTEM='Linux'
HOST_SYSTEM='Linux'
PREPROC_C='$(CC) -E '
MKDEP_C='$(CC) -MM '
COMPILE_C='$(CC) -c '
PREPROC_CXX='$(CC) -E '
MKDEP_CXX='$(CC) -MM '
COMPILE_CXX='$(CC) -c '
PREPROC_OBJC=''
MKDEP_OBJC=''
COMPILE_OBJC=''
LINK='$(CC) '
MAKE='make'
ECHON='echo -n'
SED='sed'
REZ=''
WINDRES=''
uqm_CFLAGS='-fPIC -fcommon -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Ofast    -DGFXMODULE_SDL -DSDL_DIR=SDL "-I${STAGING_DIR}//usr/include/SDL" -D_GNU_SOURCE=1 -D_REENTRANT   -O3 -DNDEBUG -DGFXMODULE_SDL -DOVCODEC_TREMOR -DHAVE_ZIP=1 -DTHREADLIB_SDL -I../../tremor -I"."'
uqm_CXXFLAGS='-fPIC -fcommon -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Ofast   -fno-rtti -fno-exceptions -nostdinc++  -O3 -DNDEBUG -DGFXMODULE_SDL -DOVCODEC_TREMOR -DHAVE_ZIP=1 -DTHREADLIB_SDL -I../../tremor -I"."'
uqm_LDFLAGS='-fPIC -fcommon -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -L/home/nick/FunKey-sdk-2.3.0/bin/../arm-funkey-linux-musleabihf/sysroot/usr/lib -lSDL_gfx -lpng -lm -lSDL -lz -lSDL_mixer -lmikmod -L../../tremor -l:tremor.a -logg '
uqm_INSTALL_BINDIR='/usr/local/games/bin/'
uqm_INSTALL_LIBDIR='/usr/local/games/lib/'
uqm_INSTALL_SHAREDIR='/usr/local/games/share/'

# rm -r obj
# ./build.sh uqm

# Exported variables are available from all the Makeinfo files
# Non-exported files only where build.vars is explicitely included.
uqm_SOUNDMODULE='mixsdl'
uqm_OGGVORBIS='1'
uqm_USE_INTERNAL_MIKMOD='1'
uqm_HAVE_GETOPT_LONG='#define HAVE_GETOPT_LONG'
uqm_HAVE_REGEX='1'
uqm_GFXMODULE='sdl'
uqm_HAVE_OPENGL='0'
uqm_USE_ZIP_IO='1'
uqm_USE_PLATFORM_ACCEL='1'
uqm_THREADLIB='SDL'
uqm_NETPLAY=''
uqm_USE_WINSOCK=''
DEBUG='0'
MACRO_WIN32=''
MACRO___MINGW32__=''
export BUILD_SYSTEM HOST_SYSTEM DEBUG
export MACRO_WIN32 MACRO___MINGW32__
export uqm_SOUNDMODULE uqm_OGGVORBIS uqm_USE_INTERNAL_MIKMOD
export uqm_HAVE_GETOPT_LONG uqm_HAVE_REGEX uqm_USE_WINSOCK uqm_GFXMODULE
export uqm_HAVE_OPENGL
export uqm_USE_ZIP_IO uqm_USE_PLATFORM_ACCEL uqm_THREADLIB uqm_NETPLAY

