3 # ***** BEGIN GPL LICENSE BLOCK *****
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 # The Original Code is Copyright (C) 2006, Blender Foundation
20 # All rights reserved.
22 # The Original Code is: all of this file.
24 # Contributor(s): Nathan Letwory.
26 # ***** END GPL LICENSE BLOCK *****
30 sources = env.Glob('intern/*.c')
33 incs += ' #/intern/guardedalloc #/intern/bsp/extern #/intern/elbeem/extern #/extern/glew/include #/intern/opennl/extern'
34 incs += ' ../render/extern/include ../blenloader ../bmesh'
35 incs += ' ../include ../blenlib ../blenfont ../makesdna ../makesrna ../blenkernel ../blenkernel/intern'
38 incs += ' ' + env['BF_ZLIB_INC']
42 if env ['WITH_BF_BOOLEAN']:
43 defs.append('WITH_MOD_BOOLEAN')
45 if env['WITH_BF_REMESH']:
46 incs += ' #/intern/dualcon'
47 defs.append('WITH_MOD_REMESH')
49 if env['WITH_BF_FLUID']:
50 defs.append('WITH_MOD_FLUID')
52 if env['WITH_BF_OCEANSIM']:
53 defs.append('WITH_OCEANSIM')
55 if env['WITH_BF_GAMEENGINE']:
56 incs += ' #/extern/recastnavigation'
57 defs.append('WITH_GAMEENGINE')
59 if env['WITH_BF_INTERNATIONAL']:
60 defs.append('WITH_INTERNATIONAL')
62 env.BlenderLib ( libname = 'bf_modifiers', sources = sources,
63 includes = Split(incs), defines=defs,
64 libtype=['core','player'], priority = [80, 40] )