Fix #28766: object properties > display > transparency no longer worked in solid
[blender.git] / build_files / scons / config / freebsd7-config.py
1 CC = 'gcc44'
2 CXX = 'g++44'
3
4 LCGDIR = '../lib/freebsd7'
5 LIBDIR = "${LCGDIR}"
6
7 BF_PYTHON_ABI_FLAGS = ''
8 BF_PYTHON = '/usr/local'
9 BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
10 BF_PYTHON_VERSION = '3.2'
11 WITH_BF_STATICPYTHON = False
12 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}'
13 BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
14 BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}'
15 BF_PYTHON_LIB_STATIC = '${BF_PYTHON}/lib/libpython${BF_PYTHON_VERSION}${BF_PYTHON_ABI_FLAGS}.a'
16
17 WITH_BF_OPENAL = True
18 WITH_BF_STATICOPENAL = False
19 BF_OPENAL = '/usr/local'
20 BF_OPENAL_INC = '${BF_OPENAL}/include'
21 BF_OPENAL_LIB = 'openal'
22 BF_OPENAL_LIB_STATIC = '${BF_OPENAL}/lib/libopenal.a'
23
24 BF_CXX = '/usr/local'
25 WITH_BF_STATICCXX = False
26 BF_CXX_LIB_STATIC = '${BF_CXX}/lib/libstdc++.a'
27
28 WITH_BF_JACK = True
29 BF_JACK = '/usr/local'
30 BF_JACK_INC = '${BF_JACK}/include/jack'
31 BF_JACK_LIB = 'jack'
32 BF_JACK_LIBPATH = '${BF_JACK}/lib'
33
34 WITH_BF_SNDFILE = True
35 BF_SNDFILE = '/usr/local'
36 BF_SNDFILE_INC = '${BF_SNDFILE}/include/sndfile'
37 BF_SNDFILE_LIB = 'sndfile'
38 BF_SNDFILE_LIBPATH = '${BF_SNDFILE}/lib'
39
40 WITH_BF_SDL = True
41 BF_SDL = '/usr/local' #$(shell sdl-config --prefix)
42 BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
43 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
44
45 WITH_BF_OPENEXR = True
46 WITH_BF_STATICOPENEXR = False
47 BF_OPENEXR = '/usr/local'
48 # when compiling with your own openexr lib you might need to set...
49 # BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR ${BF_OPENEXR}/include'
50
51 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
52 BF_OPENEXR_LIB = 'Half IlmImf Iex Imath '
53 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'
54 # BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
55
56 WITH_BF_DDS = True
57
58 WITH_BF_JPEG = True
59 BF_JPEG = '/usr/local'
60 BF_JPEG_INC = '${BF_JPEG}/include'
61 BF_JPEG_LIB = 'jpeg'
62
63 WITH_BF_PNG = True
64 BF_PNG = '/usr/local'
65 BF_PNG_INC = '${BF_PNG}/include'
66 BF_PNG_LIB = 'png'
67
68 WITH_BF_TIFF = True
69 BF_TIFF = '/usr/local'
70 BF_TIFF_INC = '${BF_TIFF}/include'
71 BF_TIFF_LIB = 'tiff'
72
73 WITH_BF_ZLIB = True
74 BF_ZLIB = '/usr'
75 BF_ZLIB_INC = '${BF_ZLIB}/include'
76 BF_ZLIB_LIB = 'z'
77
78 WITH_BF_INTERNATIONAL = True
79
80 BF_GETTEXT = '/usr/local'
81 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
82 BF_GETTEXT_LIB = 'gettextlib'
83 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
84
85 WITH_BF_GAMEENGINE = False
86 WITH_BF_PLAYER = True
87
88 WITH_BF_BULLET = True
89 BF_BULLET = '#extern/bullet2/src'
90 BF_BULLET_INC = '${BF_BULLET}'
91 BF_BULLET_LIB = 'extern_bullet'
92
93 # enable freetype2 support for text objects
94 BF_FREETYPE = '/usr/local'
95 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
96 BF_FREETYPE_LIB = 'freetype'
97
98 ### XXX Find what this actually wants; it doesn't want libquicktime.
99 WITH_BF_QUICKTIME = False # -DWITH_QUICKTIME
100 BF_QUICKTIME = '/usr/local'
101 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
102
103 WITH_BF_ICONV = True
104 BF_ICONV = LIBDIR + "/iconv"
105 BF_ICONV_INC = '${BF_ICONV}/include'
106 BF_ICONV_LIB = 'iconv'
107 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
108
109 WITH_BF_BINRELOC = True
110
111 # enable ffmpeg  support
112 WITH_BF_FFMPEG = True  # -DWITH_FFMPEG
113 BF_FFMPEG = '/usr/local'
114 BF_FFMPEG_LIB = 'avformat avcodec swscale avutil avdevice'
115 BF_FFMPEG_INC = '${BF_FFMPEG}/include'
116 BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
117
118 # enable ogg, vorbis and theora in ffmpeg
119 WITH_BF_OGG = True  # -DWITH_OGG 
120 BF_OGG = '/usr/local'
121 BF_OGG_INC = '${BF_OGG}/include'
122 BF_OGG_LIB = 'ogg vorbis vorbisenc theoraenc theoradec'
123
124 WITH_BF_OPENJPEG = True
125 BF_OPENJPEG = '#extern/libopenjpeg'
126 BF_OPENJPEG_LIB = ''
127 BF_OPENJPEG_INC = '${BF_OPENJPEG}'
128 BF_OPENJPEG_LIBPATH='${BF_OPENJPEG}/lib'
129
130 WITH_BF_FFTW3 = True
131 BF_FFTW3 = LIBDIR + '/usr/local'
132 BF_FFTW3_INC = '${BF_FFTW3}/include'
133 BF_FFTW3_LIB = 'fftw3'
134 BF_FFTW3_LIBPATH = '${BF_FFTW3}/lib'
135
136 WITH_BF_REDCODE = False
137 BF_REDCODE = '#extern/libredcode'
138 BF_REDCODE_LIB = ''
139 # BF_REDCODE_INC = '${BF_REDCODE}/include'
140 BF_REDCODE_INC = '${BF_REDCODE}/../' #C files request "libredcode/format.h" which is in "#extern/libredcode/format.h", stupid but compiles for now.
141 BF_REDCODE_LIBPATH='${BF_REDCODE}/lib'
142
143 # Mesa Libs should go here if your using them as well....
144 WITH_BF_STATICOPENGL = False
145 BF_OPENGL = '/usr/local'
146 BF_OPENGL_INC = '${BF_OPENGL}/include'
147 BF_OPENGL_LIB = 'GL GLU X11 Xi'
148 BF_OPENGL_LIBPATH = '/usr/X11R6/lib'
149 BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a'
150
151 WITH_BF_COLLADA = False
152 BF_COLLADA = '#source/blender/collada'
153 BF_COLLADA_INC = '${BF_COLLADA}'
154 BF_COLLADA_LIB = 'bf_collada'
155 BF_OPENCOLLADA = '/usr'
156 BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}'
157 BF_OPENCOLLADA_LIB = 'OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser UTF MathMLSolver pcre buffer ftoa'
158 BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib'
159 BF_PCRE = '/usr/local'
160 BF_PCRE_LIB = 'pcre'
161 BF_PCRE_LIBPATH = '${BF_PCRE}/lib'
162 BF_EXPAT = '/usr/local'
163 BF_EXPAT_LIB = 'expat'
164 BF_EXPAT_LIBPATH = '${BF_EXPAT}/lib'
165
166 WITH_BF_OPENMP = True
167
168 #Ray trace optimization
169 WITH_BF_RAYOPTIMIZATION = True
170 BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread']
171
172 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE','-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
173
174 CPPFLAGS = []
175 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE','-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
176 if WITH_BF_FFMPEG:
177   # libavutil needs UINT64_C()
178   CXXFLAGS += ['-D__STDC_CONSTANT_MACROS', ]
179 REL_CFLAGS = ['-DNDEBUG', '-O2']
180 REL_CCFLAGS = ['-DNDEBUG', '-O2']
181 ##BF_DEPEND = True
182 ##
183 ##AR = ar
184 ##ARFLAGS = ruv
185 ##ARFLAGSQUIET = ru
186 ##
187 C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes']
188 CC_WARN = ['-Wall']
189 CXX_WARN = ['-Wno-invalid-offsetof', '-Wno-sign-compare']
190
191
192 ##FIX_STUBS_WARNINGS = -Wno-unused
193
194 LLIBS = ['util', 'c', 'm', 'pthread', 'stdc++']
195 ##LOPTS = --dynamic
196 ##DYNLDFLAGS = -shared $(LDFLAGS)
197
198 BF_PROFILE = False
199 BF_PROFILE_CCFLAGS = ['-pg','-g']
200 BF_PROFILE_LINKFLAGS = ['-pg']
201
202 BF_DEBUG = False
203 BF_DEBUG_CCFLAGS = ['-g', '-D_DEBUG']
204
205 BF_BUILDDIR = '../build/freebsd7'
206 BF_INSTALLDIR='../install/freebsd7'
207
208 #Link against pthread
209 PLATFORM_LINKFLAGS = ['-pthread']