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
path: root/extern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2009-03-10 19:04:29 +0300
committerKent Mein <mein@cs.umn.edu>2009-03-10 19:04:29 +0300
commitd17ca2179d7a2dc4e77dd427fdfb416929a454c7 (patch)
tree0cac720160d58fbd417a57af24ddd8ad68c445fb /extern
parent4a089890df818636be28a3f494c5851c2c0b1efd (diff)
Addes libopenjpeg (jpeg2000) support to the Makefiles
Kent
Diffstat (limited to 'extern')
-rw-r--r--extern/Makefile4
-rw-r--r--extern/libopenjpeg/Makefile43
2 files changed, 47 insertions, 0 deletions
diff --git a/extern/Makefile b/extern/Makefile
index 51213698ebb..38bec4b73dd 100644
--- a/extern/Makefile
+++ b/extern/Makefile
@@ -57,6 +57,10 @@ ifeq ($(WITH_BINRELOC), true)
DIRS += binreloc
endif
+ifeq ($(WITH_OPENJPEG), true)
+ DIRS += libopenjpeg
+endif
+
TARGET = solid
all::
diff --git a/extern/libopenjpeg/Makefile b/extern/libopenjpeg/Makefile
new file mode 100644
index 00000000000..15d9d9c7c01
--- /dev/null
+++ b/extern/libopenjpeg/Makefile
@@ -0,0 +1,43 @@
+#
+# $Id: Makefile 14444 2008-04-16 22:40:48Z hos $
+#
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): none yet.
+#
+# ***** END GPL LICENSE BLOCK *****
+#
+#
+
+LIBNAME = openjpeg
+DIR = $(OCGDIR)/extern/$(LIBNAME)
+
+CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
+
+TCSRCS = $(wildcard *.c)
+CSRCS = $(filter-out t1_generate_luts.c,$(TCSRCS))
+
+include nan_compile.mk
+CPPFLAGS += -I.
+
+install: all debug
+