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