* remove the .Append(LIBS = ['libverse']), since it confused the build system.
[blender.git] / config / linuxcross-config.py
1 LCGDIR = '../lib/windows'
2 LIBDIR = '${LCGDIR}'
3
4 WITH_BF_VERSE = 'false'
5 BF_VERSE_INCLUDE = "#extern/verse/dist"
6
7 BF_PYTHON = LIBDIR + '/python'
8 BF_PYTHON_VERSION = '2.4'
9 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
10 BF_PYTHON_BINARY = 'python'
11 BF_PYTHON_LIB = 'python24'
12 BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
13
14 WITH_BF_OPENAL = 'true'
15 BF_OPENAL = LIBDIR + '/openal'
16 BF_OPENAL_INC = '${BF_OPENAL}/include'
17 BF_OPENAL_LIB = 'openal_static'
18 BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
19
20 WITH_BF_SDL = 'true'
21 BF_SDL = LIBDIR + '/sdl'
22 BF_SDL_INC = '${BF_SDL}/include'
23 BF_SDL_LIB = 'SDL'
24 BF_SDL_LIBPATH = '${BF_SDL}/lib'
25
26 BF_PTHREADS = LIBDIR + '/pthreads'
27 BF_PTHREADS_INC = '${BF_PTHREADS}/include'
28 BF_PTHREADS_LIB = 'pthreadGC2'
29 BF_PTHREADS_LIBPATH = '${BF_PTHREADS}/lib'
30
31 WITH_BF_FMOD = 'false'
32 BF_FMOD = LIBDIR + '/fmod'
33
34 WITH_BF_OPENEXR = 'true'
35 BF_OPENEXR = LIBDIR + '/gcc/openexr'
36 BF_OPENEXR_INC = '${BF_OPENEXR}/include ${BF_OPENEXR}/include/OpenEXR'
37 BF_OPENEXR_LIB = ' Half IlmImf Iex '
38 BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
39
40 WITH_BF_JPEG = 'true'
41 BF_JPEG = LIBDIR + '/jpeg'
42 BF_JPEG_INC = '${BF_JPEG}/include'
43 BF_JPEG_LIB = 'jpeg'
44 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
45
46 WITH_BF_PNG = 'true'
47 BF_PNG = LIBDIR + '/png'
48 BF_PNG_INC = '${BF_PNG}/include'
49 BF_PNG_LIB = 'png'
50 BF_PNG_LIBPATH = '${BF_PNG}/lib'
51
52 BF_TIFF = LIBDIR + '/tiff'
53 BF_TIFF_INC = '${BF_TIFF}/include'
54
55 WITH_BF_ZLIB = 'true'
56 BF_ZLIB = LIBDIR + '/zlib'
57 BF_ZLIB_INC = '${BF_ZLIB}/include'
58 #BF_ZLIB_LIB = 'z'
59 BF_ZLIB_LIBPATH = '${BF_ZLIB}/lib'
60
61 WITH_BF_INTERNATIONAL = 'true'
62
63 BF_GETTEXT = LIBDIR + '/gettext'
64 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
65 BF_GETTEXT_LIB = 'gnu_gettext'
66 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
67
68 WITH_BF_FTGL = 'true'
69 BF_FTGL = LIBDIR + '/ftgl'
70 BF_FTGL_INC = '${BF_FTGL}/include'
71 BF_FTGL_LIB = 'extern_ftgl'
72
73 WITH_BF_GAMEENGINE = 'false'
74
75 WITH_BF_ODE = 'true'
76 BF_ODE = LIBDIR + '/ode'
77 BF_ODE_INC = BF_ODE + '/include'
78 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
79
80 WITH_BF_BULLET = 'true'
81 BF_BULLET = '#extern/bullet'
82 BF_BULLET_INC = '${BF_BULLET}/LinearMath ${BF_BULLET}/BulletDynamics ${BF_BULLET}/Bullet'
83 BF_BULLET_LIB = 'extern_bullet'
84
85 BF_SOLID = '#extern/solid'
86 BF_SOLID_INC = '${BF_SOLID}'
87 BF_SOLID_LIB = 'extern_solid'
88
89 # enable freetype2 support for text objects
90 BF_FREETYPE = LIBDIR + '/gcc/freetype'
91 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
92 BF_FREETYPE_LIB = 'freetype'
93 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
94
95 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
96 BF_QUICKTIME = '/usr/local'
97 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
98
99 # Mesa Libs should go here if your using them as well....
100 WITH_BF_STATICOPENGL = 'false'
101 BF_OPENGL = 'C:\\MingW'
102 BF_OPENGL_INC = '${BF_OPENGL}/include'
103 BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
104 BF_OPENGL_LIB = 'opengl32 glu32'
105 BF_OPENGL_LIB_STATIC = [ '${BF_OPENGL}/lib/libGL.a', '${BF_OPENGL}/lib/libGLU.a',
106              '${BF_OPENGL}/lib/libXmu.a', '${BF_OPENGL}/lib/libXext.a',
107              '${BF_OPENGL}/lib/libX11.a', '${BF_OPENGL}/lib/libXi.a' ]
108
109 CC = 'i586-mingw32msvc-gcc'
110 CXX = 'i586-mingw32msvc-g++'
111
112 CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
113
114 CPPFLAGS = [ '-DXP_UNIX', '-DWIN32', '-DFREE_WINDOWS' ]
115 CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ]
116 REL_CFLAGS = [ '-O2' ]
117 REL_CCFLAGS = [ '-O2' ]
118 C_WARN = [ '-Wall' , '-Wno-char-subscripts' ]
119
120 CC_WARN = [ '-Wall' ]
121
122
123 LLIBS = [ '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz'] #'-lutil', '-lc', '-lm', '-ldl', '-lpthread' ]
124
125 BF_DEBUG = 'false'
126 BF_DEBUG_FLAGS= ''
127
128 BF_BUILDDIR = '../build/linuxcross'
129 BF_INSTALLDIR='../install/linuxcross'