BGE Python API
[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 WITH_BF_YAFRAY = True
8
9 BF_PYTHON = LIBDIR + '/python'
10 BF_PYTHON_VERSION = '2.5'
11 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
12 BF_PYTHON_BINARY = 'python'
13 BF_PYTHON_LIB = 'python25'
14 BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
15
16 WITH_BF_OPENAL = True
17 WITH_BF_STATICOPENAL = False
18 BF_OPENAL = LIBDIR + '/openal'
19 BF_OPENAL_INC = '${BF_OPENAL}/include'
20 BF_OPENAL_LIB = 'openal_static'
21 BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
22 # Warning, this static lib configuration is untested! users of this OS please confirm.
23 BF_OPENAL_LIB_STATIC = '${BF_OPENAL}/lib/libopenal.a'
24
25 # Warning, this static lib configuration is untested! users of this OS please confirm.
26 BF_CXX = '/usr'
27 WITH_BF_STATICCXX = False
28 BF_CXX_LIB_STATIC = '${BF_CXX}/lib/libstdc++.a'
29
30 WITH_BF_SDL = True
31 BF_SDL = LIBDIR + '/sdl'
32 BF_SDL_INC = '${BF_SDL}/include'
33 BF_SDL_LIB = 'SDL'
34 BF_SDL_LIBPATH = '${BF_SDL}/lib'
35
36 BF_PTHREADS = LIBDIR + '/pthreads'
37 BF_PTHREADS_INC = '${BF_PTHREADS}/include'
38 BF_PTHREADS_LIB = 'pthreadGC2'
39 BF_PTHREADS_LIBPATH = '${BF_PTHREADS}/lib'
40
41 WITH_BF_OPENEXR = True
42 WITH_BF_STATICOPENEXR = False
43 BF_OPENEXR = LIBDIR + '/gcc/openexr'
44 BF_OPENEXR_INC = '${BF_OPENEXR}/include ${BF_OPENEXR}/include/OpenEXR'
45 BF_OPENEXR_LIB = ' Half IlmImf Iex '
46 BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
47 # Warning, this static lib configuration is untested! users of this OS please confirm.
48 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'
49
50 WITH_BF_DDS = True
51
52 WITH_BF_JPEG = True
53 BF_JPEG = LIBDIR + '/jpeg'
54 BF_JPEG_INC = '${BF_JPEG}/include'
55 BF_JPEG_LIB = 'jpeg'
56 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
57
58 WITH_BF_PNG = True
59 BF_PNG = LIBDIR + '/png'
60 BF_PNG_INC = '${BF_PNG}/include'
61 BF_PNG_LIB = 'png'
62 BF_PNG_LIBPATH = '${BF_PNG}/lib'
63
64 BF_TIFF = LIBDIR + '/tiff'
65 BF_TIFF_INC = '${BF_TIFF}/include'
66
67 WITH_BF_ZLIB = True
68 BF_ZLIB = LIBDIR + '/zlib'
69 BF_ZLIB_INC = '${BF_ZLIB}/include'
70 #BF_ZLIB_LIB = 'z'
71 BF_ZLIB_LIBPATH = '${BF_ZLIB}/lib'
72
73 WITH_BF_INTERNATIONAL = True
74
75 BF_GETTEXT = LIBDIR + '/gettext'
76 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
77 BF_GETTEXT_LIB = 'gnu_gettext'
78 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
79
80 WITH_BF_FTGL = True
81 BF_FTGL = LIBDIR + '/ftgl'
82 BF_FTGL_INC = '${BF_FTGL}/include'
83 BF_FTGL_LIB = 'extern_ftgl'
84
85 WITH_BF_GAMEENGINE = False
86
87 WITH_BF_ODE = True
88 BF_ODE = LIBDIR + '/ode'
89 BF_ODE_INC = BF_ODE + '/include'
90 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
91
92 WITH_BF_BULLET = True
93 BF_BULLET = '#extern/bullet2/src'
94 BF_BULLET_INC = '${BF_BULLET}'
95 BF_BULLET_LIB = 'extern_bullet'
96
97 BF_SOLID = '#extern/solid'
98 BF_SOLID_INC = '${BF_SOLID}'
99 BF_SOLID_LIB = 'extern_solid'
100
101 BF_WINTAB = LIBDIR + '/wintab'
102 BF_WINTAB_INC = '${BF_WINTAB}/INCLUDE'
103
104 # enable freetype2 support for text objects
105 BF_FREETYPE = LIBDIR + '/gcc/freetype'
106 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
107 BF_FREETYPE_LIB = 'freetype'
108 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
109
110 WITH_BF_QUICKTIME = False # -DWITH_QUICKTIME
111 BF_QUICKTIME = '/usr/local'
112 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
113
114 WITH_BF_ICONV = False
115 BF_ICONV = LIBDIR + "/iconv"
116 BF_ICONV_INC = '${BF_ICONV}/include'
117 BF_ICONV_LIB = 'iconv'
118 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
119
120 # Mesa Libs should go here if your using them as well....
121 WITH_BF_STATICOPENGL = False
122 BF_OPENGL = 'C:\\MingW'
123 BF_OPENGL_INC = '${BF_OPENGL}/include'
124 BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
125 BF_OPENGL_LIB = 'opengl32 glu32'
126 BF_OPENGL_LIB_STATIC = [ '${BF_OPENGL}/lib/libGL.a', '${BF_OPENGL}/lib/libGLU.a',
127              '${BF_OPENGL}/lib/libXmu.a', '${BF_OPENGL}/lib/libXext.a',
128              '${BF_OPENGL}/lib/libX11.a', '${BF_OPENGL}/lib/libXi.a' ]
129
130 CC = 'i586-mingw32msvc-gcc'
131 CXX = 'i586-mingw32msvc-g++'
132
133 CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
134
135 CPPFLAGS = [ '-DXP_UNIX', '-DWIN32', '-DFREE_WINDOWS' ]
136 CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ]
137 REL_CFLAGS = [ '-O2' ]
138 REL_CCFLAGS = [ '-O2' ]
139 C_WARN = [ '-Wall' , '-Wno-char-subscripts', '-Wdeclaration-after-statement' ]
140
141 CC_WARN = [ '-Wall' ]
142
143
144 LLIBS = [ '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz'] #'-lutil', '-lc', '-lm', '-ldl', '-lpthread' ]
145
146 BF_DEBUG = False
147 BF_DEBUG_CCFLAGS= []
148
149 BF_PROFILE = False
150 BF_PROFILE_CCFLAGS = ['-pg','-g']
151 BF_PROFILE_LINKFLAGS = ['-pg']
152
153 BF_BUILDDIR = '../build/linuxcross'
154 BF_INSTALLDIR='../install/linuxcross'
155 BF_DOCDIR='../install/doc'