Addes libopenjpeg (jpeg2000) support to the Makefiles

Kent
This commit is contained in:
Kent Mein
2009-03-10 16:04:29 +00:00
parent 4a089890df
commit d17ca2179d
8 changed files with 67 additions and 0 deletions

View File

@@ -171,6 +171,10 @@ ifeq ($(WITH_OPENEXR), true)
COMLIB += $(OCGDIR)/blender/imbuf/openexr/$(DEBUG_DIR)libopenexr.a
endif
ifeq ($(WITH_OPENJPEG), true)
COMLIB += $(OCGDIR)/extern/openjpeg/$(DEBUG_DIR)libopenjpeg.a
endif
COMLIB += $(OCGDIR)/blender/imbuf/cineon/$(DEBUG_DIR)libcineon.a
ifeq ($(WITH_DDS), true)

View File

@@ -108,6 +108,10 @@ ifeq ($(WITH_DDS), true)
CPPFLAGS += -DWITH_DDS
endif
ifeq ($(WITH_OPENJPEG), true)
CPPFLAGS += -DWITH_OPENJPEG
endif
ifeq ($(WITH_QUICKTIME), true)
CPPFLAGS += -I../../quicktime
CPPFLAGS += -DWITH_QUICKTIME

View File

@@ -48,6 +48,10 @@ ifeq ($(WITH_DDS), true)
CPPFLAGS += -DWITH_DDS
endif
ifeq ($(WITH_OPENJPEG), true)
CFLAGS += -DWITH_OPENJPEG -I../../../../extern/libopenjpeg
endif
CFLAGS += $(LEVEL_1_C_WARNINGS)
CPPFLAGS += -I$(NAN_JPEG)/include

View File

@@ -127,6 +127,10 @@ ifeq ($(WITH_DDS),true)
CPPFLAGS += -DWITH_DDS
endif
ifeq ($(WITH_OPENJPEG),true)
CPPFLAGS += -DWITH_OPENJPEG
endif
ifeq ($(INTERNATIONAL), true)
CPPFLAGS += -DINTERNATIONAL
endif

View File

@@ -58,6 +58,9 @@ CPPFLAGS += -I$(NAN_GLEW)/include
ifeq ($(WITH_QUICKTIME), true)
CPPFLAGS += -I$(NAN_QUICKTIME)/include -DWITH_QUICKTIME
endif
ifeq ($(WITH_OPENJPEG), true)
CPPFLAGS += -DWITH_OPENJPEG
endif
ifeq ($(WITH_BINRELOC), true)
CPPFLAGS += -I$(NANBLENDERHOME)/extern/binreloc/include -DWITH_BINRELOC

View File

@@ -115,6 +115,7 @@ endif
export WITH_OPENEXR ?= true
export WITH_DDS ?= true
export WITH_OPENJPEG ?= true
ifeq ($(OS),windows)
export NAN_WINTAB ?= $(LCGDIR)/wintab