soc-2008-mxcurioni: swig compiles as independent library
[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 #BF_OPENAL = LIBDIR + '/openal'
13 #BF_OPENAL_INC = '${BF_OPENAL}/include'
14 #BF_OPENAL_LIB = 'openal'
15 #BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
16
17 WITH_BF_SDL = 'true'
18 BF_SDL = '/usr/local' #$(shell sdl-config --prefix)
19 BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
20 BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
21 BF_SDL_LIBPATH = '${BF_SDL}/lib'
22
23 WITH_BF_FMOD = 'false'
24 BF_FMOD = LIBDIR + '/fmod'
25
26 WITH_BF_OPENEXR = 'false'
27 BF_OPENEXR = '/usr/local'
28 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
29 BF_OPENEXR_LIB = 'Half IlmImf Iex Imath '
30
31 WITH_BF_DDS = 'true'
32
33 WITH_BF_JPEG = 'true'
34 BF_JPEG = '/usr/local'
35 BF_JPEG_INC = '${BF_JPEG}/include'
36 BF_JPEG_LIB = 'jpeg'
37 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
38
39 WITH_BF_PNG = 'true'
40 BF_PNG = '/usr/local'
41 BF_PNG_INC = '${BF_PNG}/include/libpng'
42 BF_PNG_LIB = 'png'
43 BF_PNG_LIBPATH = '${BF_PNG}/lib'
44
45 BF_TIFF = '/usr/local'
46 BF_TIFF_INC = '${BF_TIFF}/include'
47
48 WITH_BF_ZLIB = 'true'
49 BF_ZLIB = '/usr/local'
50 BF_ZLIB_INC = '${BF_ZLIB}/include'
51 BF_ZLIB_LIB = 'z'
52
53 WITH_BF_INTERNATIONAL = 'true'
54
55 BF_GETTEXT = '/usr/local'
56 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
57 BF_GETTEXT_LIB = 'intl iconv'
58 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
59
60 WITH_BF_FTGL = 'true'
61 BF_FTGL = '#extern/bFTGL'
62 BF_FTGL_INC = '${BF_FTGL}/include'
63 BF_FTGL_LIB = 'extern_ftgl'
64
65 WITH_BF_GAMEENGINE='false'
66
67 WITH_BF_ODE = 'false'
68 BF_ODE = LIBDIR + '/ode'
69 BF_ODE_INC = '${BF_ODE}/include'
70 BF_ODE_LIB = '${BF_ODE}/lib/libode.a'
71
72 WITH_BF_BULLET = 'true'
73 BF_BULLET = '#extern/bullet2/src'
74 BF_BULLET_INC = '${BF_BULLET}'
75 BF_BULLET_LIB = 'extern_bullet'
76
77 BF_SOLID = '#extern/solid'
78 BF_SOLID_INC = '${BF_SOLID}'
79 BF_SOLID_LIB = 'extern_solid'
80
81 WITH_BF_YAFRAY = 'true'
82
83 WITH_BF_FREESTYLE = 'true'
84 BF_FREESTYLE = '#extern/freestyle'
85 BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
86 BF_SWIG = '${BF_FREESTYLE}/swig'
87 BF_SWIG_LIB = 'extern_swig'
88 BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
89 BF_LIB3DS_LIB = 'extern_lib3ds'
90 BF_LIB3DS_LIBPATH = '${BF_LIB3DS}/lib3ds/.libs'
91 BF_LIB3DS_INC = '${BF_LIB3DS}/lib3ds'
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/X11R6'
112 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
113 BF_FREETYPE_LIB = 'freetype'
114 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
115
116 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
117
118 WITH_BF_ICONV = 'false'
119 BF_ICONV = LIBDIR + "/iconv"
120 BF_ICONV_INC = '${BF_ICONV}/include'
121 BF_ICONV_LIB = 'iconv'
122 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
123
124 # Mesa Libs should go here if your using them as well....
125 WITH_BF_STATICOPENGL = 'true'
126 BF_OPENGL = '/usr/X11R6'
127 BF_OPENGL_INC = '${BF_OPENGL}/include'
128 BF_OPENGL_LIB = 'GL GLU X11 Xi'
129 BF_OPENGL_LIBPATH = '${BF_OPENGL}/lib'
130 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'
131
132 ##
133 ##CC = gcc
134 ##CCC = g++
135 ##ifeq ($CPU),alpha)
136 ##   CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
137
138 CFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
139
140 CPPFLAGS = []
141 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
142 CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
143 REL_CFLAGS = ['-O2']
144 REL_CCFLAGS = ['-O2']
145 ##BF_DEPEND = 'true'
146 ##
147 ##AR = ar
148 ##ARFLAGS = ruv
149 ##ARFLAGSQUIET = ru
150 ##
151 CC = 'gcc'
152 CXX = 'g++'
153 C_WARN = '-Wall -Wdeclaration-after-statement'
154
155 CC_WARN = '-Wall'
156
157 ##FIX_STUBS_WARNINGS = -Wno-unused
158
159 LLIBS = 'm stdc++ pthread util'
160 ##LOPTS = --dynamic
161 ##DYNLDFLAGS = -shared $(LDFLAGS)
162
163 BF_PROFILE_FLAGS = ' -pg -g '
164 BF_PROFILE = 'false'
165
166 BF_DEBUG = 'false'
167 BF_DEBUG_FLAGS = '-g'
168
169 BF_BUILDDIR='../build/openbsd3'
170 BF_INSTALLDIR='../install/openbsd3'