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 *****
28 # ../blenkernel # dont add this back!
30 ../../../intern/guardedalloc
31 ../../../intern/atomic
33 ../../../extern/wcwidth
38 ${FREETYPE_INCLUDE_DIRS}
48 intern/BLI_ghash_utils.c
53 intern/BLI_linklist_lockfree.c
58 intern/array_store_utils.c
61 intern/bitmap_draw_2d.c
65 intern/convexhull_2d.c
69 intern/endian_switch.c
79 intern/list_sort_impl.h
82 intern/math_base_inline.c
83 intern/math_bits_inline.c
85 intern/math_color_blend_inline.c
86 intern/math_color_inline.c
88 intern/math_geom_inline.c
91 intern/math_rotation.c
93 intern/math_statistics.c
95 intern/math_vector_inline.c
100 intern/polyfill_2d_beautify.c
105 intern/scanfill_utils.c
112 intern/string_cursor_utf8.c
114 intern/string_utils.c
124 intern/winstuff_dir.c
130 BLI_array_store_utils.h
140 BLI_compiler_compat.h
141 BLI_compiler_typecheck.h
151 BLI_endian_switch_inline.h
167 BLI_linklist_lockfree.h
174 BLI_math_color_blend.h
181 BLI_math_statistics.h
189 BLI_polyfill_2d_beautify.h
200 BLI_string_cursor_utf8.h
209 BLI_utildefines_iter.h
210 BLI_utildefines_stack.h
211 BLI_utildefines_variadic.h
218 PIL_time_utildefines.h
221 if(WITH_MEM_VALGRIND)
222 add_definitions(-DWITH_MEM_VALGRIND)
227 ../../../intern/utfconv
231 # no need to compile object files for inline headers.
232 set_source_files_properties(
233 intern/math_base_inline.c
234 intern/math_bits_inline.c
235 intern/math_color_blend_inline.c
236 intern/math_color_inline.c
237 intern/math_geom_inline.c
238 intern/math_vector_inline.c
239 PROPERTIES HEADER_FILE_ONLY TRUE
242 blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}")