From d17ca2179d7a2dc4e77dd427fdfb416929a454c7 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Tue, 10 Mar 2009 16:04:29 +0000 Subject: Addes libopenjpeg (jpeg2000) support to the Makefiles Kent --- extern/Makefile | 4 ++++ extern/libopenjpeg/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 extern/libopenjpeg/Makefile (limited to 'extern') 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 + -- cgit v1.2.3