1 # ***** BEGIN GPL LICENSE BLOCK *****
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
20 # The Original Code is: all of this file.
22 # Contributor(s): Jacques Beaurain.
24 # ***** END GPL LICENSE BLOCK *****
27 # FFMPEG gives warnigns which are hard to avoid across multiple versions.
38 ../../../intern/guardedalloc
39 ../../../intern/memutil
80 intern/IMB_allocimbuf.h
86 intern/cineon/cin_debug_stuff.h
87 intern/cineon/cineonfile.h
88 intern/cineon/cineonlib.h
89 intern/cineon/dpxfile.h
90 intern/cineon/dpxlib.h
91 intern/cineon/logImageCore.h
92 intern/cineon/logImageLib.h
93 intern/cineon/logmemfile.h
96 intern/dds/ColorBlock.h
98 intern/dds/DirectDrawSurface.h
100 intern/dds/PixelFormat.h
105 intern/openexr/openexr_api.h
106 intern/openexr/openexr_multi.h
109 ../../../intern/ffmpeg/ffmpeg_compat.h
112 if(WITH_IMAGE_OPENEXR)
113 add_definitions(-DWITH_OPENEXR)
124 add_definitions(-DWITH_TIFF)
127 if(WITH_IMAGE_OPENJPEG)
129 ${OPENJPEG_INCLUDE_DIRS}
135 add_definitions(-DWITH_OPENJPEG)
138 if(WITH_IMAGE_REDCODE)
142 add_definitions(-DWITH_REDCODE)
145 if(WITH_CODEC_QUICKTIME)
150 ${QUICKTIME_INCLUDE_DIRS}
152 add_definitions(-DWITH_QUICKTIME)
155 if(WITH_CODEC_FFMPEG)
157 ../../../intern/ffmpeg
160 ${FFMPEG_INCLUDE_DIRS}
162 add_definitions(-DWITH_FFMPEG)
166 add_definitions(-DWITH_DDS)
169 if(WITH_IMAGE_CINEON)
170 add_definitions(-DWITH_CINEON)
175 intern/radiance_hdr.c
177 add_definitions(-DWITH_HDR)
180 blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}")