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