Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/imbuf/intern/Makefile')
-rw-r--r--source/blender/imbuf/intern/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/Makefile b/source/blender/imbuf/intern/Makefile
index 859f7c4cd34..839bb4df4c3 100644
--- a/source/blender/imbuf/intern/Makefile
+++ b/source/blender/imbuf/intern/Makefile
@@ -33,13 +33,25 @@
LIBNAME = imbuf
DIR = $(OCGDIR)/blender/imbuf
+SOURCEDIR = source/blender/imbuf/intern
+include nan_subdirs.mk
include nan_compile.mk
+include nan_definitions.mk
+
+ifeq ($(WITH_OPENEXR), true)
+ DIRS = openexr
+endif
+
ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows"))
CFLAGS += -funsigned-char
endif
+ifeq ($(WITH_OPENEXR), true)
+ CFLAGS += -DWITH_OPENEXR
+endif
+
CFLAGS += $(LEVEL_1_C_WARNINGS)
CPPFLAGS += -I$(NAN_JPEG)/include