Added global delete, triggered with Shift+Del, this removes the object from all scene...
[blender-staging.git] / config / linux2-config.py
1 LCGDIR = '../lib/linux2'
2 LIBDIR = "${LCGDIR}"
3
4 WITH_BF_VERSE = 'false'
5 BF_VERSE = "#extern/verse/dist"
6 BF_VERSE_LIBPATH = "${BF_BUILDDIR}/extern/verse/dist"
7 BF_VERSE_INCLUDE = BF_VERSE
8 BF_VERSE_LIBS = "libverse"
9
10 BF_PYTHON = '/usr'
11 BF_PYTHON_VERSION = '2.4'
12 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
13 BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
14 BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}' #BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a'
15 BF_PYTHON_LINKFLAGS = ['-Xlinker', '-export-dynamic']
16
17 WITH_BF_OPENAL = 'true'
18 BF_OPENAL = '/usr'
19 BF_OPENAL_INC = '${BF_OPENAL}/include'
20 BF_OPENAL_LIB = 'openal'
21
22 WITH_BF_SDL = 'true'
23 BF_SDL = '/usr' #$(shell sdl-config --prefix)
24 BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
25 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
26
27 WITH_BF_FMOD = 'false'
28 BF_FMOD = LIBDIR + '/fmod'
29
30 WITH_BF_OPENEXR = 'true'
31 BF_OPENEXR = '/usr'
32 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
33 BF_OPENEXR_LIB = 'Half IlmImf Iex Imath '
34
35 WITH_BF_JPEG = 'true'
36 BF_JPEG = '/usr'
37 BF_JPEG_INC = '${BF_JPEG}/include'
38 BF_JPEG_LIB = 'jpeg'
39
40 WITH_BF_PNG = 'true'
41 BF_PNG = '/usr'
42 BF_PNG_INC = '${BF_PNG}/include'
43 BF_PNG_LIB = 'png'
44
45 BF_TIFF = '/usr'
46 BF_TIFF_INC = '${BF_TIFF}/include'
47
48 WITH_BF_ZLIB = 'true'
49 BF_ZLIB = '/usr'
50 BF_ZLIB_INC = '${BF_ZLIB}/include'
51 BF_ZLIB_LIB = 'z'
52
53 WITH_BF_INTERNATIONAL = 'true'
54
55 BF_GETTEXT = '/usr'
56 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
57 BF_GETTEXT_LIB = 'gettextlib'
58 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
59
60 WITH_BF_FTGL = 'true'
61 BF_FTGL = '#extern/bFTGL'
62 BF_FTGL_INC = '${BF_FTGL}/include'
63 BF_FTGL_LIB = 'extern_ftgl'
64
65 WITH_BF_GAMEENGINE='true'
66
67 WITH_BF_ODE = 'false'
68 BF_ODE = LIBDIR + '/ode'
69 BF_ODE_INC = BF_ODE + '/include'
70 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
71
72 WITH_BF_BULLET = 'true'
73 BF_BULLET = '#extern/bullet'
74 BF_BULLET_INC = '${BF_BULLET}/LinearMath ${BF_BULLET}/BulletDynamics ${BF_BULLET}/Bullet'
75 BF_BULLET_LIB = 'extern_bullet'
76
77 BF_SOLID = '#extern/solid'
78 BF_SOLID_INC = '${BF_SOLID}'
79 BF_SOLID_LIB = 'extern_solid'
80
81 #WITH_BF_NSPR = 'true'
82 #BF_NSPR = $(LIBDIR)/nspr
83 #BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
84 #BF_NSPR_LIB = 
85
86 # Uncomment the following line to use Mozilla inplace of netscape
87 #CPPFLAGS += -DMOZ_NOT_NET
88 # Location of MOZILLA/Netscape header files...
89 #BF_MOZILLA = $(LIBDIR)/mozilla
90 #BF_MOZILLA_INC = -I$(BF_MOZILLA)/include/mozilla/nspr -I$(BF_MOZILLA)/include/mozilla -I$(BF_MOZILLA)/include/mozilla/xpcom -I$(BF_MOZILLA)/include/mozilla/idl
91 #BF_MOZILLA_LIB =
92 # Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
93 # if this is not set.
94 #
95 # Be paranoid regarding library creation (do not update archives)
96 #BF_PARANOID = 'true'
97
98 # enable freetype2 support for text objects
99 BF_FREETYPE = '/usr'
100 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
101 BF_FREETYPE_LIB = 'freetype'
102
103 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
104 BF_QUICKTIME = '/usr/local'
105 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
106
107 # enable ffmpeg  support
108 WITH_BF_FFMPEG = 'false'  # -DWITH_FFMPEG
109 BF_FFMPEG = '/usr'
110 BF_FFMPEG_INC = '${BF_FFMPEG}/include'
111 BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
112 BF_FFMPEG_LIB = 'avformat avcodec avutil'
113
114 # Mesa Libs should go here if your using them as well....
115 WITH_BF_STATICOPENGL = 'false'
116 BF_OPENGL = '/usr'
117 BF_OPENGL_INC = '${BF_OPENGL}/include'
118 BF_OPENGL_LIB = 'GL GLU X11 Xi'
119 BF_OPENGL_LIBPATH = '/usr/X11R6/lib'
120 BF_OPENGL_LIB_STATIC = '${BF_OPENGL}/libGL.a ${BF_OPENGL}/libGLU.a ${BF_OPENGL}/libXxf86vm.a ${BF_OPENGL}/libX11.a ${BF_OPENGL}/libXi.a ${BF_OPENGL}/libXext.a ${BF_OPENGL}/libXxf86vm.a'
121
122 ##
123 CC = 'gcc'
124 CXX = 'g++'
125 ##ifeq ($CPU),alpha)
126 ##   CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
127
128 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
129
130 CPPFLAGS = ['-DXP_UNIX']
131 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
132 REL_CFLAGS = ['-O2']
133 REL_CCFLAGS = ['-O2']
134 ##BF_DEPEND = 'true'
135 ##
136 ##AR = ar
137 ##ARFLAGS = ruv
138 ##ARFLAGSQUIET = ru
139 ##
140 C_WARN = '-Wall -Wno-char-subscripts'
141
142 CC_WARN = '-Wall'
143
144 ##FIX_STUBS_WARNINGS = -Wno-unused
145
146 LLIBS = 'util c m dl pthread stdc++'
147 ##LOPTS = --dynamic
148 ##DYNLDFLAGS = -shared $(LDFLAGS)
149
150 BF_PROFILE_FLAGS = ['-pg','-g']
151 BF_PROFILE = 'false'
152
153 BF_DEBUG = 'false'
154 BF_DEBUG_FLAGS = '-g'
155
156 BF_BUILDDIR = '../build/linux2'
157 BF_INSTALLDIR='../install/linux2'
158
159
160 #Link against pthread
161 PLATFORM_LINKFLAGS = ['-pthread']