vertex parents to a mesh that no verts would crash blender
[plumiferos.git] / extern / Makefile
blob577b43fff23c6aa2e57fcb65559315bb516ece52
1 # $Id: Makefile 9025 2006-11-22 19:05:35Z hos $
3 # ***** BEGIN GPL/BL DUAL 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. The Blender
9 # Foundation also sells licenses for use in proprietary software under
10 # the Blender License. See http://www.blender.org/BL/ for information
11 # about this.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software Foundation,
20 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 # The Original Code is Copyright (C) 2002 by Hans Lambermont
23 # All rights reserved.
25 # The Original Code is: all of this file.
27 # Contributor(s): none yet.
29 # ***** END GPL/BL DUAL LICENSE BLOCK *****
30 # Bounces make to subdirectories. Also installs after succesful all target.
32 include nan_definitions.mk
34 SOURCEDIR = extern
35 DIR = $(OCGDIR)/extern
36 DIRS = qhull/src solid
38 ifeq ($(WITH_FREETYPE2), true)
39 DIRS += bFTGL/src
40 endif
42 ifeq ($(WITH_FFMPEG), true)
43 ifeq ($(NAN_FFMPEG), $(LCGDIR)/ffmpeg)
44 DIRS += ffmpeg
45 endif
46 ifeq ($(NAN_FFMPEG), $(LCGDIR)/gcc/ffmpeg)
47 DIRS += ffmpeg
48 endif
49 endif
51 ifeq ($(WITH_VERSE), true)
52 DIRS += verse
53 endif
55 ifneq ($(NAN_NO_KETSJI), true)
56 DIRS += bullet2
57 endif
59 TARGET =
60 ifneq ($(OS),irix)
61 TARGET=solid
62 endif
64 all::
65 @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
66 @for i in $(DIRS); do \
67 echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
68 $(MAKE) -C $$i install || exit 1; \
69 done
71 clean test debug::
72 @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
73 @for i in $(DIRS); do \
74 echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
75 $(MAKE) -C $$i $@ || exit 1; \
76 done