2008-12-14 17:32:24 +00:00
|
|
|
LCGDIR = '#../lib/windows'
|
2006-08-22 13:04:07 +00:00
|
|
|
LIBDIR = '${LCGDIR}'
|
|
|
|
|
|
|
|
BF_PYTHON = LIBDIR + '/python'
|
2012-11-26 13:58:06 +00:00
|
|
|
BF_PYTHON_VERSION = '3.3'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
|
|
|
|
BF_PYTHON_BINARY = 'python'
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION[0]}${BF_PYTHON_VERSION[2]}mw'
|
|
|
|
BF_PYTHON_DLL = 'python31'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_OPENAL = True
|
|
|
|
WITH_BF_STATICOPENAL = False
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_OPENAL = LIBDIR + '/openal'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_OPENAL_INC = '${BF_OPENAL}/include'
|
2012-02-17 16:58:34 +00:00
|
|
|
BF_OPENAL_LIB = 'OpenAL32 wrap_oal'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
|
2008-11-07 19:21:52 +00:00
|
|
|
# Warning, this static lib configuration is untested! users of this OS please confirm.
|
|
|
|
BF_OPENAL_LIB_STATIC = '${BF_OPENAL}/lib/libopenal.a'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
# Warning, this static lib configuration is untested! users of this OS please confirm.
|
|
|
|
BF_CXX = '/usr'
|
|
|
|
WITH_BF_STATICCXX = False
|
|
|
|
BF_CXX_LIB_STATIC = '${BF_CXX}/lib/libstdc++.a'
|
|
|
|
|
|
|
|
WITH_BF_SDL = True
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_SDL = LIBDIR + '/sdl'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_SDL_INC = '${BF_SDL}/include'
|
|
|
|
BF_SDL_LIB = 'SDL'
|
|
|
|
BF_SDL_LIBPATH = '${BF_SDL}/lib'
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
WITH_BF_JACK = False
|
|
|
|
BF_JACK = LIBDIR + '/jack'
|
|
|
|
BF_JACK_INC = '${BF_JACK}/include'
|
|
|
|
BF_JACK_LIB = 'jack'
|
|
|
|
BF_JACK_LIBPATH = '${BF_JACK}/lib'
|
|
|
|
|
|
|
|
WITH_BF_SNDFILE = False
|
|
|
|
BF_SNDFILE = LIBDIR + '/sndfile'
|
|
|
|
BF_SNDFILE_INC = '${BF_SNDFILE}/include'
|
|
|
|
BF_SNDFILE_LIB = 'sndfile-1'
|
|
|
|
BF_SNDFILE_LIBPATH = '${BF_SNDFILE}/lib'
|
|
|
|
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_PTHREADS = LIBDIR + '/pthreads'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_PTHREADS_INC = '${BF_PTHREADS}/include'
|
|
|
|
BF_PTHREADS_LIB = 'pthreadGC2'
|
|
|
|
BF_PTHREADS_LIBPATH = '${BF_PTHREADS}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_OPENEXR = True
|
|
|
|
WITH_BF_STATICOPENEXR = False
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_OPENEXR = LIBDIR + '/gcc/openexr'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_OPENEXR_INC = '${BF_OPENEXR}/include ${BF_OPENEXR}/include/OpenEXR'
|
2010-05-29 21:31:57 +00:00
|
|
|
BF_OPENEXR_LIB = ' Half IlmImf Iex IlmThread '
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
|
2008-11-07 19:21:52 +00:00
|
|
|
# Warning, this static lib configuration is untested! users of this OS please confirm.
|
|
|
|
BF_OPENEXR_LIB_STATIC = '${BF_OPENEXR}/lib/libHalf.a ${BF_OPENEXR}/lib/libIlmImf.a ${BF_OPENEXR}/lib/libIex.a ${BF_OPENEXR}/lib/libImath.a ${BF_OPENEXR}/lib/libIlmThread.a'
|
2006-03-13 11:42:49 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_DDS = True
|
2007-06-25 19:50:25 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_JPEG = True
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_JPEG = LIBDIR + '/jpeg'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_JPEG_INC = '${BF_JPEG}/include'
|
2010-06-04 23:38:17 +00:00
|
|
|
BF_JPEG_LIB = 'libjpeg'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_PNG = True
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_PNG = LIBDIR + '/png'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_PNG_INC = '${BF_PNG}/include'
|
2006-02-04 14:15:10 +00:00
|
|
|
BF_PNG_LIB = 'png'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_PNG_LIBPATH = '${BF_PNG}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
WITH_BF_TIFF = True
|
2010-05-24 12:41:14 +00:00
|
|
|
BF_TIFF = LIBDIR + '/gcc/tiff'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_TIFF_INC = '${BF_TIFF}/include'
|
2010-05-24 16:07:17 +00:00
|
|
|
BF_TIFF_LIB = 'tiff'
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_TIFF_LIBPATH = '${BF_TIFF}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_ZLIB = True
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_ZLIB = LIBDIR + '/zlib'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_ZLIB_INC = '${BF_ZLIB}/include'
|
2013-06-02 15:02:17 +00:00
|
|
|
BF_ZLIB_LIB = 'libz_st'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_ZLIB_LIBPATH = '${BF_ZLIB}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_INTERNATIONAL = True
|
2006-02-05 12:27:49 +00:00
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
WITH_BF_GAMEENGINE = True
|
2009-07-31 02:35:56 +00:00
|
|
|
WITH_BF_PLAYER = False
|
2011-11-13 15:10:54 +00:00
|
|
|
WITH_BF_OCEANSIM = True
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_BULLET = True
|
2006-11-21 06:11:41 +00:00
|
|
|
BF_BULLET = '#extern/bullet2/src'
|
|
|
|
BF_BULLET_INC = '${BF_BULLET}'
|
2006-02-04 14:15:10 +00:00
|
|
|
BF_BULLET_LIB = 'extern_bullet'
|
|
|
|
|
2008-12-14 17:32:24 +00:00
|
|
|
BF_WINTAB = LIBDIR + '/wintab'
|
|
|
|
BF_WINTAB_INC = '${BF_WINTAB}/INCLUDE'
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_WITH_FREETYPE = True
|
2006-08-22 13:04:07 +00:00
|
|
|
BF_FREETYPE = LIBDIR + '/gcc/freetype'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
|
2006-02-04 14:15:10 +00:00
|
|
|
BF_FREETYPE_LIB = 'freetype'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2012-04-07 18:26:54 +00:00
|
|
|
WITH_BF_QUICKTIME = False
|
2006-02-04 14:15:10 +00:00
|
|
|
BF_QUICKTIME = '/usr/local'
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_ICONV = False
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_ICONV = LIBDIR + "/gcc/iconv"
|
2006-11-09 15:45:19 +00:00
|
|
|
BF_ICONV_INC = '${BF_ICONV}/include'
|
|
|
|
BF_ICONV_LIB = 'iconv'
|
|
|
|
BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
WITH_BF_BINRELOC = False
|
|
|
|
|
|
|
|
# enable ffmpeg support
|
2012-04-07 18:26:54 +00:00
|
|
|
WITH_BF_FFMPEG = True
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_FFMPEG = LIBDIR + '/ffmpeg'
|
2011-08-22 18:49:42 +00:00
|
|
|
BF_FFMPEG_LIB = 'avformat-53 avcodec-53 avdevice-53 avutil-51 swscale-2'
|
2011-09-08 19:05:52 +00:00
|
|
|
BF_FFMPEG_DLL = '${BF_FFMPEG_LIBPATH}/avformat-53.dll ${BF_FFMPEG_LIBPATH}/avcodec-53.dll ${BF_FFMPEG_LIBPATH}/avdevice-53.dll ${BF_FFMPEG_LIBPATH}/avutil-51.dll ${BF_FFMPEG_LIBPATH}/swscale-2.dll'
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_FFMPEG_INC = '${BF_FFMPEG}/include'
|
|
|
|
BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
|
2011-08-22 19:27:54 +00:00
|
|
|
BF_FFMPEG_DLL = '${BF_FFMPEG_LIBPATH}/avformat-53.dll ${BF_FFMPEG_LIBPATH}/avcodec-53.dll ${BF_FFMPEG_LIBPATH}/avdevice-53.dll ${BF_FFMPEG_LIBPATH}/avutil-51.dll ${BF_FFMPEG_LIBPATH}/swscale-2.dll'
|
2010-02-01 18:39:41 +00:00
|
|
|
|
|
|
|
WITH_BF_OPENJPEG = True
|
|
|
|
BF_OPENJPEG = '#extern/libopenjpeg'
|
|
|
|
BF_OPENJPEG_LIB = ''
|
|
|
|
BF_OPENJPEG_INC = '${BF_OPENJPEG}'
|
|
|
|
BF_OPENJPEG_LIBPATH='${BF_OPENJPEG}/lib'
|
|
|
|
|
|
|
|
WITH_BF_FFTW3 = False
|
|
|
|
BF_FFTW3 = LIBDIR + '/gcc/fftw3'
|
|
|
|
BF_FFTW3_INC = '${BF_FFTW3}/include'
|
|
|
|
BF_FFTW3_LIB = 'fftw3'
|
|
|
|
BF_FFTW3_LIBPATH = '${BF_FFTW3}/lib'
|
|
|
|
|
|
|
|
WITH_BF_REDCODE = False
|
|
|
|
BF_REDCODE_INC = '#extern'
|
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
# Mesa Libs should go here if your using them as well....
|
2008-11-07 19:21:52 +00:00
|
|
|
WITH_BF_STATICOPENGL = False
|
2006-03-13 11:42:49 +00:00
|
|
|
BF_OPENGL = 'C:\\MingW'
|
|
|
|
BF_OPENGL_INC = '${BF_OPENGL}/include'
|
|
|
|
BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
|
|
|
|
BF_OPENGL_LIB = 'opengl32 glu32'
|
2010-06-04 07:17:12 +00:00
|
|
|
BF_OPENGL_LIB_STATIC = [ '${BF_OPENGL}/lib/libGL.a', '${BF_OPENGL}/lib/libGLU.a']
|
2006-03-13 11:42:49 +00:00
|
|
|
|
2010-06-09 14:04:34 +00:00
|
|
|
WITH_BF_OPENMP = False
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_OPENMP = LIBDIR + '/gcc/gomp'
|
|
|
|
BF_OPENMP_INC = '${BF_OPENMP}/include'
|
|
|
|
BF_OPENMP_LIBPATH = '${BF_OPENMP}/lib'
|
|
|
|
|
|
|
|
WITH_BF_COLLADA = False
|
|
|
|
BF_COLLADA = '#source/blender/collada'
|
|
|
|
BF_COLLADA_INC = '${BF_COLLADA}'
|
|
|
|
BF_COLLADA_LIB = 'bf_collada'
|
|
|
|
|
|
|
|
BF_OPENCOLLADA = LIBDIR + '/gcc/opencollada'
|
|
|
|
BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include'
|
|
|
|
BF_OPENCOLLADA_LIB = 'OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser UTF MathMLSolver expat pcre buffer ftoa'
|
|
|
|
BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib ${BF_ICONV_LIBPATH}'
|
|
|
|
|
2013-04-07 06:44:33 +00:00
|
|
|
#Freestyle
|
|
|
|
WITH_BF_FREESTYLE = True
|
|
|
|
|
2010-02-01 18:39:41 +00:00
|
|
|
#Ray trace optimization
|
2010-06-24 15:54:01 +00:00
|
|
|
WITH_BF_RAYOPTIMIZATION = True
|
2010-02-01 18:39:41 +00:00
|
|
|
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse']
|
|
|
|
|
2006-03-13 11:42:49 +00:00
|
|
|
CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
|
2011-10-21 04:23:26 +00:00
|
|
|
CXXFLAGS = []
|
2006-03-13 11:42:49 +00:00
|
|
|
|
2010-11-04 17:02:25 +00:00
|
|
|
CPPFLAGS = ['-DWIN32', '-DFREE_WINDOWS', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE']
|
2011-10-21 04:23:26 +00:00
|
|
|
REL_CFLAGS = []
|
|
|
|
REL_CXXFLAGS = []
|
2011-02-25 16:19:50 +00:00
|
|
|
REL_CCFLAGS = ['-DNDEBUG', '-O2']
|
2010-12-03 12:30:59 +00:00
|
|
|
C_WARN = ['-Wall', '-Wstrict-prototypes', '-Wno-char-subscripts', '-Wdeclaration-after-statement']
|
2006-03-13 11:42:49 +00:00
|
|
|
|
|
|
|
CC_WARN = [ '-Wall' ]
|
|
|
|
|
2010-07-19 09:19:54 +00:00
|
|
|
LLIBS = [ '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz', '-lstdc++', '-luuid', '-lole32'] #'-lutil', '-lc', '-lm', '-ldl', '-lpthread' ]
|
2006-03-13 11:42:49 +00:00
|
|
|
|
2011-03-12 00:50:34 +00:00
|
|
|
PLATFORM_LINKFLAGS = ['--stack,2097152']
|
|
|
|
|
2008-11-07 19:21:52 +00:00
|
|
|
BF_DEBUG = False
|
2011-02-25 15:46:43 +00:00
|
|
|
BF_DEBUG_CCFLAGS = ['-g', '-D_DEBUG']
|
2006-02-04 14:15:10 +00:00
|
|
|
|
2008-12-14 17:32:24 +00:00
|
|
|
BF_PROFILE = False
|
|
|
|
BF_PROFILE_CCFLAGS = ['-pg','-g']
|
|
|
|
BF_PROFILE_LINKFLAGS = ['-pg']
|
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
BF_BUILDDIR = '../build/linuxcross'
|
|
|
|
BF_INSTALLDIR='../install/linuxcross'
|