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