missing header from editipo.c
[blender.git] / config / linux2-config.py
1 LCGDIR = '../lib/linux2'
2 LIBDIR = "${LCGDIR}"
3
4 WITH_BF_VERSE = 'false'
5 BF_VERSE_INCLUDE = "#extern/verse/dist"
6
7 BF_PYTHON = '/usr'
8 BF_PYTHON_VERSION = '2.5'
9 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
10 BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
11 BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}' #BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a'
12 BF_PYTHON_LINKFLAGS = ['-Xlinker', '-export-dynamic']
13
14 WITH_BF_OPENAL = 'true'
15 BF_OPENAL = '/usr'
16 BF_OPENAL_INC = '${BF_OPENAL}/include'
17 BF_OPENAL_LIB = 'openal'
18 # some distros have a separate libalut
19 # if you get linker complaints, you need to uncomment the line below
20 # BF_OPENAL_LIB = 'openal alut'  
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_DDS = 'true'
36
37 WITH_BF_JPEG = 'true'
38 BF_JPEG = '/usr'
39 BF_JPEG_INC = '${BF_JPEG}/include'
40 BF_JPEG_LIB = 'jpeg'
41
42 WITH_BF_PNG = 'true'
43 BF_PNG = '/usr'
44 BF_PNG_INC = '${BF_PNG}/include'
45 BF_PNG_LIB = 'png'
46
47 BF_TIFF = '/usr'
48 BF_TIFF_INC = '${BF_TIFF}/include'
49
50 WITH_BF_ZLIB = 'true'
51 BF_ZLIB = '/usr'
52 BF_ZLIB_INC = '${BF_ZLIB}/include'
53 BF_ZLIB_LIB = 'z'
54
55 WITH_BF_INTERNATIONAL = 'true'
56
57 BF_GETTEXT = '/usr'
58 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
59 BF_GETTEXT_LIB = 'gettextlib'
60 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
61
62 WITH_BF_FTGL = 'true'
63 BF_FTGL = '#extern/bFTGL'
64 BF_FTGL_INC = '${BF_FTGL}/include'
65 BF_FTGL_LIB = 'extern_ftgl'
66
67 WITH_BF_GAMEENGINE='false'
68
69 WITH_BF_ODE = 'false'
70 BF_ODE = LIBDIR + '/ode'
71 BF_ODE_INC = BF_ODE + '/include'
72 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
73
74 WITH_BF_BULLET = 'true'
75 BF_BULLET = '#extern/bullet2/src'
76 BF_BULLET_INC = '${BF_BULLET}'
77 BF_BULLET_LIB = 'extern_bullet'
78
79 BF_SOLID = '#extern/solid'
80 BF_SOLID_INC = '${BF_SOLID}'
81 BF_SOLID_LIB = 'extern_solid'
82
83 WITH_BF_YAFRAY = 'true'
84
85 #WITH_BF_NSPR = 'true'
86 #BF_NSPR = $(LIBDIR)/nspr
87 #BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
88 #BF_NSPR_LIB = 
89
90 # Uncomment the following line to use Mozilla inplace of netscape
91 #CPPFLAGS += -DMOZ_NOT_NET
92 # Location of MOZILLA/Netscape header files...
93 #BF_MOZILLA = $(LIBDIR)/mozilla
94 #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
95 #BF_MOZILLA_LIB =
96 # Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
97 # if this is not set.
98 #
99 # Be paranoid regarding library creation (do not update archives)
100 #BF_PARANOID = 'true'
101
102 # enable freetype2 support for text objects
103 BF_FREETYPE = '/usr'
104 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
105 BF_FREETYPE_LIB = 'freetype'
106
107 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
108 BF_QUICKTIME = '/usr/local'
109 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
110
111 WITH_BF_ICONV = 'false'
112 BF_ICONV = LIBDIR + "/iconv"
113 BF_ICONV_INC = '${BF_ICONV}/include'
114 BF_ICONV_LIB = 'iconv'
115 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
116
117 WITH_BF_BINRELOC = 'true'
118
119 # enable ffmpeg  support
120 WITH_BF_FFMPEG = 'true'  # -DWITH_FFMPEG
121 BF_FFMPEG = '#extern/ffmpeg'
122 BF_FFMPEG_LIB = ''
123 # Uncomment the following two lines to use system's ffmpeg
124 # BF_FFMPEG = '/usr'
125 # BF_FFMPEG_LIB = 'avformat avcodec swscale avutil'
126 BF_FFMPEG_INC = '${BF_FFMPEG}/include'
127 BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
128
129 # Mesa Libs should go here if your using them as well....
130 WITH_BF_STATICOPENGL = 'false'
131 BF_OPENGL = '/usr'
132 BF_OPENGL_INC = '${BF_OPENGL}/include'
133 BF_OPENGL_LIB = 'GL GLU X11 Xi'
134 BF_OPENGL_LIBPATH = '/usr/X11R6/lib'
135 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'
136
137 ##
138 CC = 'gcc'
139 CXX = 'g++'
140 ##ifeq ($CPU),alpha)
141 ##   CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
142
143 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
144
145 CPPFLAGS = ['-DXP_UNIX']
146 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
147 REL_CFLAGS = ['-O2']
148 REL_CCFLAGS = ['-O2']
149 ##BF_DEPEND = 'true'
150 ##
151 ##AR = ar
152 ##ARFLAGS = ruv
153 ##ARFLAGSQUIET = ru
154 ##
155 C_WARN = '-Wall -Wno-char-subscripts -Wdeclaration-after-statement'
156
157 CC_WARN = '-Wall'
158
159 ##FIX_STUBS_WARNINGS = -Wno-unused
160
161 LLIBS = 'util c m dl pthread stdc++'
162 ##LOPTS = --dynamic
163 ##DYNLDFLAGS = -shared $(LDFLAGS)
164
165 BF_PROFILE_FLAGS = ['-pg','-g']
166 BF_PROFILE = 'false'
167
168 BF_DEBUG = 'false'
169 BF_DEBUG_FLAGS = '-g'
170
171 BF_BUILDDIR = '../build/linux2'
172 BF_INSTALLDIR='../install/linux2'
173
174
175 #Link against pthread
176 PLATFORM_LINKFLAGS = ['-pthread']
177