BGE Python API
[blender.git] / config / sunos5-config.py
1 LCGDIR = '../lib/sunos5'
2 LIBDIR = '${LCGDIR}'
3
4 BF_PYTHON = '/usr/local'
5 BF_PYTHON_VERSION = '2.5'
6 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
7 BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
8 BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}' #BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a'
9 BF_PYTHON_LINKFLAGS = ['-Xlinker', '-export-dynamic']
10
11 WITH_BF_OPENAL = True
12 WITH_BF_STATICOPENAL = False
13 BF_OPENAL = '/usr/local'
14 BF_OPENAL_INC = '${BF_OPENAL}/include'
15 BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
16 BF_OPENAL_LIB = 'openal'
17 # Warning, this static lib configuration is untested! users of this OS please confirm.
18 BF_OPENAL_LIB_STATIC = '${BF_OPENAL}/lib/libopenal.a'
19
20 # Warning, this static lib configuration is untested! users of this OS please confirm.
21 BF_CXX = '/usr'
22 WITH_BF_STATICCXX = False
23 BF_CXX_LIB_STATIC = '${BF_CXX}/lib/libstdc++.a'
24
25 WITH_BF_SDL = True
26 BF_SDL = '/usr/local' #$(shell sdl-config --prefix)
27 BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
28 BF_SDL_LIBPATH = '${BF_SDL}/lib'
29 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
30
31 WITH_BF_OPENEXR = True
32 WITH_BF_STATICOPENEXR = False
33 BF_OPENEXR = '/usr/local'
34 BF_OPENEXR_INC = ['${BF_OPENEXR}/include', '${BF_OPENEXR}/include/OpenEXR' ]
35 BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
36 BF_OPENEXR_LIB = 'Half IlmImf Iex Imath '
37 # Warning, this static lib configuration is untested! users of this OS please confirm.
38 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'
39
40 WITH_BF_DDS = True
41
42 WITH_BF_JPEG = True
43 BF_JPEG = '/usr/local'
44 BF_JPEG_INC = '${BF_JPEG}/include'
45 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
46 BF_JPEG_LIB = 'jpeg'
47
48 WITH_BF_PNG = True
49 BF_PNG = '/usr/local'
50 BF_PNG_INC = '${BF_PNG}/include'
51 BF_PNG_LIBPATH = '${BF_PNG}/lib'
52 BF_PNG_LIB = 'png'
53
54 BF_TIFF = '/usr/local'
55 BF_TIFF_INC = '${BF_TIFF}/include'
56
57 WITH_BF_ZLIB = True
58 BF_ZLIB = '/usr'
59 BF_ZLIB_INC = '${BF_ZLIB}/include'
60 BF_ZLIB_LIBPATH = '${BF_ZLIB}/lib'
61 BF_ZLIB_LIB = 'z'
62
63 WITH_BF_INTERNATIONAL = True
64
65 BF_GETTEXT = '/usr/local'
66 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
67 BF_GETTEXT_LIB = 'gettextlib'
68 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
69
70 WITH_BF_FTGL = True
71 BF_FTGL = '#extern/bFTGL'
72 BF_FTGL_INC = '${BF_FTGL}/include'
73 BF_FTGL_LIB = 'extern_ftgl'
74
75 WITH_BF_GAMEENGINE=False
76
77 WITH_BF_ODE = False
78 BF_ODE = LIBDIR + '/ode'
79 BF_ODE_INC = BF_ODE + '/include'
80 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
81
82 WITH_BF_BULLET = True
83 BF_BULLET = '#extern/bullet2/src'
84 BF_BULLET_INC = '${BF_BULLET}'
85 BF_BULLET_LIB = 'extern_bullet'
86
87 BF_SOLID = '#extern/solid'
88 BF_SOLID_INC = '${BF_SOLID}'
89 BF_SOLID_LIB = 'extern_solid'
90
91 WITH_BF_YAFRAY = True
92
93 #WITH_BF_NSPR = True
94 #BF_NSPR = $(LIBDIR)/nspr
95 #BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
96 #BF_NSPR_LIB = 
97
98 # Uncomment the following line to use Mozilla inplace of netscape
99 #CPPFLAGS += -DMOZ_NOT_NET
100 # Location of MOZILLA/Netscape header files...
101 #BF_MOZILLA = $(LIBDIR)/mozilla
102 #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
103 #BF_MOZILLA_LIB =
104 # Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
105 # if this is not set.
106 #
107 # Be paranoid regarding library creation (do not update archives)
108 #BF_PARANOID = True
109
110 # enable freetype2 support for text objects
111 BF_FREETYPE = '/usr/local'
112 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
113 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
114 BF_FREETYPE_LIB = 'freetype'
115
116 WITH_BF_QUICKTIME = False # -DWITH_QUICKTIME
117 BF_QUICKTIME = '/usr/local'
118 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
119
120 WITH_BF_ICONV = True
121 BF_ICONV = "/usr"
122 BF_ICONV_INC = '${BF_ICONV}/include'
123 BF_ICONV_LIB = 'iconv'
124 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
125
126 # enable ffmpeg  support
127 WITH_BF_FFMPEG = False  # -DWITH_FFMPEG
128 BF_FFMPEG = '/usr/local'
129 BF_FFMPEG_INC = '${BF_FFMPEG}/include'
130 BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
131 BF_FFMPEG_LIB = 'avformat avcodec avutil avdevice'
132
133 # Mesa Libs should go here if your using them as well....
134 WITH_BF_STATICOPENGL = False
135 BF_OPENGL = '/usr/openwin'
136 BF_OPENGL_INC = '${BF_OPENGL}/include'
137 BF_OPENGL_LIB = 'GL GLU X11 Xi'
138 BF_OPENGL_LIBPATH = '${BF_OPENGL}/lib'
139 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'
140
141 ##
142 CC = 'gcc'
143 CXX = 'g++'
144 ##ifeq ($CPU),alpha)
145 ##   CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
146
147 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
148
149 CPPFLAGS = ['-DXP_UNIX', '-DSUN_OGL_NO_VERTEX_MACROS']
150 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
151 REL_CFLAGS = ['-O2']
152 REL_CCFLAGS = ['-O2']
153 ##BF_DEPEND = True
154 ##
155 ##AR = ar
156 ##ARFLAGS = ruv
157 ##ARFLAGSQUIET = ru
158 ##
159 C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement']
160
161 CC_WARN = ['-Wall']
162
163 ##FIX_STUBS_WARNINGS = -Wno-unused
164
165 LLIBS = ['c', 'm', 'dl', 'pthread', 'stdc++']
166 ##LOPTS = --dynamic
167 ##DYNLDFLAGS = -shared $(LDFLAGS)
168
169 BF_PROFILE_CCFLAGS = ['-pg', '-g ']
170 BF_PROFILE_LINKFLAGS = ['-pg']
171 BF_PROFILE = False
172
173 BF_DEBUG = False
174 BF_DEBUG_CCFLAGS = []
175
176 BF_BUILDDIR = '../build/sunos5'
177 BF_INSTALLDIR='../install/sunos5'
178 BF_DOCDIR='../install/doc'
179
180
181 PLATFORM_LINKFLAGS = []