+ WITH_BF_OPENAL=0 should now actually not need OpenAL stuff
[blender.git] / config / linux2-config.py
1 LCGDIR = '../lib/linux2'
2 BF_PYTHON = '/usr'
3 BF_PYTHON_VERSION = '2.4'
4 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
5 BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
6 BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}' #BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a'
7
8 WITH_BF_OPENAL = 'true'
9 BF_OPENAL = '/usr'
10 BF_OPENAL_INC = '${BF_OPENAL}/include'
11 BF_OPENAL_LIB = 'openal'
12
13 WITH_BF_SDL = 'true'
14 BF_SDL = '/usr' #$(shell sdl-config --prefix)
15 BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
16 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
17
18 WITH_BF_FMOD = 'false'
19 BF_FMOD = LCGDIR + '/fmod'
20
21 WITH_BF_OPENEXR = 'true'
22 BF_OPENEXR = '/usr'
23 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
24 BF_OPENEXR_LIB = ' Iex Half IlmImf Imath '
25
26 WITH_BF_JPEG = 'true'
27 BF_JPEG = '/usr'
28 BF_JPEG_INC = '${BF_JPEG}/include'
29 BF_JPEG_LIB = 'jpeg'
30
31 WITH_BF_PNG = 'true'
32 BF_PNG = '/usr'
33 BF_PNG_INC = '${BF_PNG}/include'
34 BF_PNG_LIB = 'png'
35
36 WITH_BF_TIFF = 'true'
37 BF_TIFF = '/usr'
38 BF_TIFF_INC = '${BF_TIFF}/include'
39 BF_TIFF_LIB = 'tiff'
40
41 WITH_BF_ZLIB = 'true'
42 BF_ZLIB = '/usr'
43 BF_ZLIB_INC = '${BF_ZLIB}/include'
44 BF_ZLIB_LIB = 'z'
45
46 WITH_BF_GETTEXT = 'true'
47 BF_GETTEXT = '/usr'
48 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
49 BF_GETTEXT_LIB = 'gettextlib'
50 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
51
52 WITH_BF_FTGL = 'true'
53 BF_FTGL = '#extern/bFTGL'
54 BF_FTGL_INC = '${BF_FTGL}/include'
55 BF_FTGL_LIB = 'extern_ftgl'
56
57 WITH_BF_GAMEENGINE='true'
58
59 WITH_BF_ODE = 'false'
60 BF_ODE = LCGDIR + '/ode'
61 BF_ODE_INC = BF_ODE + '/include'
62 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
63
64 WITH_BF_BULLET = 'true'
65 BF_BULLET = '#extern/bullet'
66 BF_BULLET_INC = '${BF_BULLET}/LinearMath ${BF_BULLET}/BulletDynamics ${BF_BULLET}/Bullet'
67 BF_BULLET_LIB = 'extern_bullet'
68
69 BF_SOLID = '#extern/solid'
70 BF_SOLID_INC = '${BF_SOLID}'
71 BF_SOLID_LIB = 'extern_solid'
72
73 #WITH_BF_NSPR = 'true'
74 #BF_NSPR = $(LCGDIR)/nspr
75 #BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
76 #BF_NSPR_LIB = 
77
78 # Uncomment the following line to use Mozilla inplace of netscape
79 #CPPFLAGS += -DMOZ_NOT_NET
80 # Location of MOZILLA/Netscape header files...
81 #BF_MOZILLA = $(LCGDIR)/mozilla
82 #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
83 #BF_MOZILLA_LIB =
84 # Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
85 # if this is not set.
86 #
87 # Be paranoid regarding library creation (do not update archives)
88 #BF_PARANOID = 'true'
89
90 # enable freetype2 support for text objects
91 WITH_BF_FREETYPE = 'true'
92 BF_FREETYPE = '/usr'
93 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
94 BF_FREETYPE_LIB = 'freetype'
95
96 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
97 BF_QUICKTIME = '/usr/local'
98 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include' 
99
100 # Mesa Libs should go here if your using them as well....
101 WITH_BF_OPENGL = 'true'
102 BF_OPENGL = '/usr/X11R6'
103 BF_OPENGL_INC = '${BF_OPENGL}/include'
104 BF_OPENGL_LIB = 'GL GLU Xmu Xext X11 Xi'
105 BF_OPENGL_LIBPATH = '/usr/X11R6/lib'
106 BF_OPENGL_LIB_STATIC = '${BF_OPENGL}/lib/libGL.a ${BF_OPENGL}/lib/libGLU.a ${BF_OPENGL}/lib/libXmu.a ${BF_OPENGL}/lib/libXext.a ${BF_OPENGL}/lib/libX11.a ${BF_OPENGL}/lib/libXi.a'
107 ##
108 ##CC = gcc
109 ##CCC = g++
110 ##ifeq ($CPU),alpha)
111 ##   CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
112
113 CFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
114
115 CPPFLAGS = ['-DXP_UNIX']
116 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
117 REL_CFLAGS = ['-O2']
118 REL_CCFLAGS = ['-O2']
119 ##BF_DEPEND = 'true'
120 ##
121 ##AR = ar
122 ##ARFLAGS = ruv
123 ##ARFLAGSQUIET = ru
124 ##
125 C_WARN = ' -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls '
126
127 CC_WARN = ' -Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wredundant-decls -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wsynth '
128
129 ##FIX_STUBS_WARNINGS = -Wno-unused
130
131 LLIBS = 'util c m dl pthread stdc++'
132 ##LOPTS = --dynamic
133 ##DYNLDFLAGS = -shared $(LDFLAGS)
134
135 BF_PROFILE_FLAGS = ['-pg','-g']
136 BF_PROFILE = 'false'
137
138 BF_DEBUG = 'false'
139 BF_DEBUG_FLAGS = ''
140
141 BF_BUILDDIR = '../build/linux2'
142 BF_INSTALLDIR='../install/linux2'