Fix for bug #8870: crash converting curve to mesh. The object was being
[plumiferos.git] / config / darwin-config.py
blob86135a3f46f0d5b52fc161914df8c90c377d03b5
1 LCGDIR = '#../lib/darwin-6.1-powerpc'
2 LIBDIR = '${LCGDIR}'
4 # enable ffmpeg support
5 WITH_BF_FFMPEG = 'true' # -DWITH_FFMPEG
6 BF_FFMPEG = LIBDIR +'/ffmpeg'
7 BF_FFMPEG_INC = '${BF_FFMPEG}/include'
8 BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
9 BF_FFMPEG_LIB = 'avformat.a avcodec.a avutil.a'
11 WITH_BF_VERSE = 'false'
12 BF_VERSE = "#extern/verse/dist"
13 BF_VERSE_LIBPATH = "${BF_BUILDDIR}/extern/verse/dist"
14 BF_VERSE_INCLUDE = BF_VERSE
15 BF_VERSE_LIBS = "libverse"
17 # python.org libs install in /library
18 BF_PYTHON_VERSION = '2.3'
19 if BF_PYTHON_VERSION=='2.3':
20 BF_PYTHON = '/System/Library/Frameworks/Python.framework/Versions/'
21 else:
22 BF_PYTHON = '/Library/Frameworks/Python.framework/Versions/'
24 BF_PYTHON_INC = '${BF_PYTHON}${BF_PYTHON_VERSION}/include/python${BF_PYTHON_VERSION}'
25 BF_PYTHON_BINARY = '${BF_PYTHON}${BF_PYTHON_VERSION}/bin/python${BF_PYTHON_VERSION}'
26 BF_PYTHON_LIB = ''
27 BF_PYTHON_LIBPATH = '${BF_PYTHON}${BF_PYTHON_VERSION}/lib/python${BF_PYTHON_VERSION}/config'
28 BF_PYTHON_LINKFLAGS = '-u __dummy -u _PyMac_Error -framework System -framework Python'
30 WITH_BF_OPENAL = 'true'
31 #different lib must be used following version of gcc
32 # for gcc 3.3
33 #BF_OPENAL = LIBDIR + '/openal'
34 # for gcc 3.4
35 BF_OPENAL = '#../lib/darwin-8.0.0-powerpc/openal'
37 BF_OPENAL_INC = '${BF_OPENAL}/include'
38 BF_OPENAL_LIB = 'openal'
39 BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
41 WITH_BF_SDL = 'true'
42 BF_SDL = LIBDIR + '/sdl' #$(shell sdl-config --prefix)
43 BF_SDL_INC = '${BF_SDL}/include' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
44 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
45 BF_SDL_LIBPATH = '${BF_SDL}/lib'
47 WITH_BF_FMOD = 'false'
48 BF_FMOD = LIBDIR + '/fmod'
50 WITH_BF_OPENEXR = 'true'
51 BF_OPENEXR = '/usr/local'
52 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
53 BF_OPENEXR_LIB = ' Iex Half IlmImf Imath IlmThread'
56 WITH_BF_JPEG = 'true'
57 BF_JPEG = LIBDIR + '/jpeg'
58 BF_JPEG_INC = '${BF_JPEG}/include'
59 BF_JPEG_LIB = 'jpeg'
60 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
62 WITH_BF_PNG = 'true'
63 BF_PNG = LIBDIR + '/png'
64 BF_PNG_INC = '${BF_PNG}/include'
65 BF_PNG_LIB = 'png'
66 BF_PNG_LIBPATH = '${BF_PNG}/lib'
68 BF_TIFF = LIBDIR + '/tiff'
69 BF_TIFF_INC = '${BF_TIFF}/include'
71 WITH_BF_ZLIB = 'true'
72 BF_ZLIB = '/usr'
73 BF_ZLIB_INC = '${BF_ZLIB}/include'
74 BF_ZLIB_LIB = 'z'
76 WITH_BF_INTERNATIONAL = 'true'
78 BF_GETTEXT = LIBDIR + '/gettext'
79 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
80 BF_GETTEXT_LIB = 'intl'
81 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
83 WITH_BF_FTGL = 'true'
84 BF_FTGL = '#extern/bFTGL'
85 BF_FTGL_INC = '${BF_FTGL}/include'
86 BF_FTGL_LIB = 'extern_ftgl'
88 WITH_BF_GAMEENGINE='true'
89 WITH_BF_PLAYER='true'
91 WITH_BF_ODE = 'false'
92 BF_ODE = LIBDIR + '/ode'
93 BF_ODE_INC = '${BF_ODE}/include'
94 BF_ODE_LIB = '${BF_ODE}/lib/libode.a'
96 WITH_BF_BULLET = 'true'
97 BF_BULLET = '#extern/bullet2/src'
98 BF_BULLET_INC = '${BF_BULLET}'
99 BF_BULLET_LIB = 'extern_bullet'
101 BF_SOLID = '#extern/solid'
102 BF_SOLID_INC = '${BF_SOLID}'
103 BF_SOLID_LIB = 'extern_solid'
105 WITH_BF_YAFRAY = 'true'
107 #WITH_BF_NSPR = 'true'
108 #BF_NSPR = $(LIBDIR)/nspr
109 #BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
110 #BF_NSPR_LIB =
112 # Uncomment the following line to use Mozilla inplace of netscape
113 #CPPFLAGS += -DMOZ_NOT_NET
114 # Location of MOZILLA/Netscape header files...
115 #BF_MOZILLA = $(LIBDIR)/mozilla
116 #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
117 #BF_MOZILLA_LIB =
118 # Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
119 # if this is not set.
121 # Be paranoid regarding library creation (do not update archives)
122 #BF_PARANOID = 'true'
124 # enable freetype2 support for text objects
125 BF_FREETYPE = LIBDIR + '/freetype'
126 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
127 BF_FREETYPE_LIB = 'freetype'
128 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
130 WITH_BF_QUICKTIME = 'true' # -DWITH_QUICKTIME
132 WITH_BF_ICONV = 'false'
133 BF_ICONV = LIBDIR + "/iconv"
134 BF_ICONV_INC = '${BF_ICONV}/include'
135 BF_ICONV_LIB = 'iconv'
136 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
138 # Mesa Libs should go here if your using them as well....
139 WITH_BF_STATICOPENGL = 'true'
140 BF_OPENGL_LIB = 'GL GLU'
141 BF_OPENGL_LIBPATH = '/System/Library/Frameworks/OpenGL.framework/Libraries'
142 BF_OPENGL_LINKFLAGS = '-framework OpenGL'
145 ##CC = gcc
146 ##CCC = g++
147 ##ifeq ($CPU),alpha)
148 ## CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
150 CFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
152 CPPFLAGS = ['-fpascal-strings']
153 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-fpascal-strings']
154 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-fpascal-strings']
155 PLATFORM_LINKFLAGS = '-fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime'
156 REL_CFLAGS = ['-O2']
157 REL_CCFLAGS = ['-O2']
158 ##BF_DEPEND = 'true'
160 ##AR = ar
161 ##ARFLAGS = ruv
162 ##ARFLAGSQUIET = ru
164 CC = 'gcc'
165 CXX = 'g++'
166 C_WARN = ' -Wall -Wno-long-double -Wdeclaration-after-statement '
168 CC_WARN = ' -Wall -Wno-long-double'
170 ##FIX_STUBS_WARNINGS = -Wno-unused
172 LLIBS = 'stdc++ SystemStubs'
173 ##LOPTS = --dynamic
174 ##DYNLDFLAGS = -shared $(LDFLAGS)
176 BF_PROFILE_FLAGS = ' -pg -g '
177 BF_PROFILE = 'false'
179 BF_DEBUG = 'false'
180 BF_DEBUG_FLAGS = '-g'
182 BF_BUILDDIR='../build/darwin'
183 BF_INSTALLDIR='../install/darwin'