3 # ***** BEGIN GPL LICENSE BLOCK *****
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 # The Original Code is Copyright (C) 2002 by Hans Lambermont
20 # All rights reserved.
22 # The Original Code is: all of this file.
24 # Contributor(s): none yet.
26 # ***** END GPL LICENSE BLOCK *****
27 # Bounces make to subdirectories. Also installs after succesful all target.
29 include nan_definitions.mk
32 DIR = $(OCGDIR)/extern
33 DIRS = qhull/src solid glew/src
35 ifeq ($(WITH_FREETYPE2), true)
39 ifeq ($(WITH_FFMPEG), true)
40 ifeq ($(NAN_FFMPEG), $(LCGDIR)/ffmpeg)
43 ifeq ($(NAN_FFMPEG), $(LCGDIR)/gcc/ffmpeg)
48 ifeq ($(WITH_VERSE), true)
53 #ifneq ($(NAN_NO_KETSJI), true)
57 ifeq ($(WITH_BINRELOC), true)
61 ifeq ($(WITH_OPENJPEG), true)
68 @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
69 @for i in $(DIRS); do \
70 echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
71 $(MAKE) -C $$i install || exit 1; \
75 @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
76 @for i in $(DIRS); do \
77 echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
78 $(MAKE) -C $$i $@ || exit 1; \