2 # ***** BEGIN GPL LICENSE BLOCK *****
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
21 # The Original Code is: all of this file.
23 # Contributor(s): Jacques Beaurain.
25 # ***** END GPL LICENSE BLOCK *****
27 FILE(GLOB SRC intern/*.c)
30 . ../../../intern/guardedalloc ../../../intern/memutil ../editors/include ../blenlib ../makesdna
31 ../render/extern/include ../../../intern/decimation/extern
32 ../imbuf ../avi ../../../intern/elbeem/extern ../../../intern/opennl/extern
33 ../../../intern/iksolver/extern ../blenloader ../ikplugin ../freestyle
34 ../nodes ../../../extern/glew/include ../gpu ../makesrna ../../../intern/smoke/extern
35 ../../../intern/bsp/extern ../blenfont
36 ../../../intern/audaspace/intern
37 ../../../source/blender/windowmanager # XXX - BAD LEVEL CALL WM_api.h
41 ADD_DEFINITIONS(-DGLEW_STATIC)
44 SET(INC ${INC} ../../../extern/bullet2/src)
45 ADD_DEFINITIONS(-DUSE_BULLET)
49 ADD_DEFINITIONS(-DWITH_OPENEXR)
53 ADD_DEFINITIONS(-DWITH_OPENJPEG)
57 ADD_DEFINITIONS(-DWITH_DDS)
61 SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
62 ADD_DEFINITIONS(-DWITH_QUICKTIME)
66 SET(INC ${INC} ${FFMPEG_INC})
67 ADD_DEFINITIONS(-DWITH_FFMPEG)
71 SET(INC ${INC} ../python ${PYTHON_INC})
73 ADD_DEFINITIONS(-DDISABLE_PYTHON)
77 ADD_DEFINITIONS(-DPARALLEL=1)
81 ADD_DEFINITIONS(-DDISABLE_ELBEEM)
82 ENDIF(NOT WITH_ELBEEM)
85 SET(INC ${INC} ../../../extern/lzo/minilzo)
86 ADD_DEFINITIONS(-DWITH_LZO)
90 SET(INC ${INC} ../../../extern/lzma)
91 ADD_DEFINITIONS(-DWITH_LZMA)
95 SET(INC ${INC} ${PTHREADS_INC})
98 BLENDERLIB(bf_blenkernel "${SRC}" "${INC}")