4 # ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version. The Blender
10 # Foundation also sells licenses for use in proprietary software under
11 # the Blender License. See http://www.blender.org/BL/ for information
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software Foundation,
21 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
24 # All rights reserved.
26 # The Original Code is: all of this file.
28 # Contributor(s): none yet.
30 # ***** END GPL/BL DUAL LICENSE BLOCK *****
32 # set some defaults when these are not overruled (?=) by environment variables
35 sinclude ../user-def.mk
38 ifeq (debug, $(findstring debug, $(MAKECMDGOALS)))
39 ifeq (all, $(findstring all, $(MAKECMDGOALS)))
41 ERRTXT = "ERROR: all and debug targets cannot be used together anymore"
42 ERRTXT += "Use something like ..make all && make debug.. instead"
47 # First generic defaults for all platforms which should be constant.
48 # Note: ?= lets these defaults be overruled by environment variables,
49 export SRCHOME ?= $(NANBLENDERHOME)/source
50 export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
51 export OS := $(shell echo ${CONFIG_GUESS} | sed -e 's/-.*//')
52 export OS_VERSION := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-//' -e 's/-[^-]*//')
53 export CPU := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-[^-]*-//')
54 export MAKE_START := $(shell date "+%H:%M:%S %d-%b-%Y")
55 export NAN_LIBDIR ?= $(NANBLENDERHOME)/../lib
56 export NAN_OBJDIR ?= $(NANBLENDERHOME)/obj
57 # Library Config_Guess DIRectory
58 export LCGDIR = $(NAN_LIBDIR)/$(CONFIG_GUESS)
59 # Object Config_Guess DIRectory
60 export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
61 export NAN_MOTO ?= $(LCGDIR)/moto
62 ifeq ($(FREE_WINDOWS), true)
63 export NAN_SOLID ?= $(LCGDIR)/gcc/solid
64 export NAN_QHULL ?= $(LCGDIR)/gcc/qhull
66 export NAN_SOLID ?= $(LCGDIR)/solid
67 export NAN_QHULL ?= $(LCGDIR)/qhull
69 export NAN_BULLET ?= $(LCGDIR)/bullet
70 export NAN_SUMO ?= $(SRCHOME)/gameengine/Physics/Sumo
71 export NAN_FUZZICS ?= $(SRCHOME)/gameengine/Physics/Sumo/Fuzzics
72 export NAN_BLENKEY ?= $(LCGDIR)/blenkey
73 export NAN_DECIMATION ?= $(LCGDIR)/decimation
74 export NAN_GUARDEDALLOC ?= $(LCGDIR)/guardedalloc
75 export NAN_IKSOLVER ?= $(LCGDIR)/iksolver
76 export NAN_BSP ?= $(LCGDIR)/bsp
77 export NAN_BOOLOP ?= $(LCGDIR)/boolop
78 export NAN_SOUNDSYSTEM ?= $(LCGDIR)/SoundSystem
79 export NAN_STRING ?= $(LCGDIR)/string
80 export NAN_MEMUTIL ?= $(LCGDIR)/memutil
81 export NAN_CONTAINER ?= $(LCGDIR)/container
82 export NAN_ACTION ?= $(LCGDIR)/action
83 export NAN_GHOST ?= $(LCGDIR)/ghost
84 export NAN_TEST_VERBOSITY ?= 1
85 export NAN_BMFONT ?= $(LCGDIR)/bmfont
86 export NAN_OPENNL ?= $(LCGDIR)/opennl
87 export NAN_ELBEEM ?= $(LCGDIR)/elbeem
88 export NAN_SUPERLU ?= $(LCGDIR)/superlu
89 ifeq ($(FREE_WINDOWS), true)
90 export NAN_FTGL ?= $(LCGDIR)/gcc/ftgl
91 export NAN_FFMPEG ?= $(LCGDIR)/gcc/ffmpeg
92 export NAN_FFMPEGLIBS ?= $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavcodec.a
93 export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include
95 export NAN_FTGL ?= $(LCGDIR)/ftgl
96 export NAN_FFMPEG ?= $(LCGDIR)/ffmpeg
97 export NAN_FFMPEGLIBS ?= $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavcodec.a
98 export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include
101 ifeq ($(WITH_VERSE), true)
102 export NAN_VERSE ?= $(LCGDIR)/verse
105 export WITH_OPENEXR ?= true
107 ifeq ($(FREE_WINDOWS), true)
108 export NAN_PTHREADS ?= $(LCGDIR)/pthreads
109 export NAN_OPENEXR ?= $(LCGDIR)/gcc/openexr
110 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
111 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
113 export NAN_OPENEXR ?= $(LCGDIR)/openexr
114 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/IlmImf.lib $(NAN_OPENEXR)/lib/Half.lib $(NAN_OPENEXR)/lib/Iex.lib
115 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/IlmImf -I$(NAN_OPENEXR)/include/Imath -I$(NAN_OPENEXR)/include/Iex
119 export NAN_OPENEXR ?= $(LCGDIR)/openexr
120 ifeq ($(CPU),powerpc)
121 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
123 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a $(NAN_OPENEXR)/lib/libIlmThread.a
127 export NAN_OPENEXR ?= /usr
128 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
130 export NAN_OPENEXR ?= /usr/local
131 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
134 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
137 # Platform Dependent settings go below:
139 ifeq ($(NAN_USE_FFMPEG_CONFIG), true)
140 export NAN_FFMPEG ?= $(shell ffmpeg-config --prefix)
141 export NAN_FFMPEGLIBS ?= $(shell ffmpeg-config --libs avformat avcodec)
142 export NAN_FFMPEGCFLAGS ?= $(shell ffmpeg-config --cflags)
148 export HOST = $(HOSTNAME)
149 export NAN_PYTHON ?= $(LCGDIR)/python
150 export NAN_PYTHON_VERSION ?= 2.3
151 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
152 export NAN_OPENAL ?= $(LCGDIR)/openal
153 export NAN_FMOD ?= $(LCGDIR)/fmod
154 export NAN_JPEG ?= $(LCGDIR)/jpeg
155 export NAN_PNG ?= $(LCGDIR)/png
156 export NAN_TIFF ?= $(LCGDIR)/tiff
157 export NAN_ODE ?= $(LCGDIR)/ode
158 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
159 export NAN_MESA ?= /usr/src/Mesa-3.1
160 export NAN_ZLIB ?= $(LCGDIR)/zlib
161 export NAN_NSPR ?= $(LCGDIR)/nspr
162 export NAN_FREETYPE ?= $(LCGDIR)/freetype
163 export NAN_GETTEXT ?= $(LCGDIR)/gettext
164 export NAN_SDL ?= $(shell sdl-config --prefix)
165 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
166 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
168 # Uncomment the following line to use Mozilla inplace of netscape
169 # CPPFLAGS +=-DMOZ_NOT_NET
170 # Location of MOZILLA/Netscape header files...
171 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
172 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
173 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
174 # if this is not set.
176 export NAN_BUILDINFO ?= true
177 # Be paranoid regarding library creation (do not update archives)
178 export NAN_PARANOID ?= true
181 #export INTERNATIONAL ?= true
183 # enable freetype2 support for text objects
184 #export WITH_FREETYPE2 ?= true
189 export ID = $(shell whoami)
190 export HOST = $(shell hostname -s)
192 export PY_FRAMEWORK = 1
195 export NAN_PYTHON ?= /System/Library/Frameworks/Python.framework/Versions/2.3
196 export NAN_PYTHON_VERSION ?= 2.3
197 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
199 export NAN_PYTHON ?= /sw
200 export NAN_PYTHON_VERSION ?= 2.3
201 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
204 export NAN_OPENAL ?= $(LCGDIR)/openal
205 export NAN_FMOD ?= $(LCGDIR)/fmod
206 export NAN_JPEG ?= $(LCGDIR)/jpeg
207 export NAN_PNG ?= $(LCGDIR)/png
208 export NAN_TIFF ?= $(LCGDIR)/tiff
209 export NAN_ODE ?= $(LCGDIR)/ode
210 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
211 export NAN_MESA ?= /usr/src/Mesa-3.1
212 export NAN_ZLIB ?= $(LCGDIR)/zlib
213 export NAN_NSPR ?= $(LCGDIR)/nspr
214 export NAN_FREETYPE ?= $(LCGDIR)/freetype
215 export NAN_GETTEXT ?= $(LCGDIR)/gettext
216 export NAN_SDL ?= $(LCGDIR)/sdl
217 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
218 export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a -framework Cocoa -framework IOKit
220 # export NAN_NO_KETSJI=true
223 export NAN_NO_OPENAL=true
226 # Uncomment the following line to use Mozilla inplace of netscape
227 # CPPFLAGS +=-DMOZ_NOT_NET
228 # Location of MOZILLA/Netscape header files...
229 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
230 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
231 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
232 # if this is not set.
234 export NAN_BUILDINFO ?= true
235 # Be paranoid regarding library creation (do not update archives)
236 export NAN_PARANOID ?= true
238 # enable quicktime by default on OS X
239 export WITH_QUICKTIME ?= true
242 export INTERNATIONAL ?= true
244 # enable freetype2 support for text objects
245 export WITH_FREETYPE2 ?= true
250 export ID = $(shell whoami)
251 export HOST = $(shell hostname -s)
252 export NAN_PYTHON ?= /usr/local
253 export NAN_PYTHON_VERSION ?= 2.3
254 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
255 export NAN_OPENAL ?= /usr/local
256 export NAN_FMOD ?= $(LCGDIR)/fmod
257 export NAN_JPEG ?= /usr/local
258 export NAN_PNG ?= /usr/local
259 export NAN_TIFF ?= /usr/local
260 export NAN_ODE ?= $(LCGDIR)/ode
261 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
262 export NAN_MESA ?= /usr/src/Mesa-3.1
263 export NAN_ZLIB ?= /usr
264 export NAN_NSPR ?= /usr/local
265 export NAN_FREETYPE ?= $(LCGDIR)/freetype
266 export NAN_GETTEXT ?= $(LCGDIR)/gettext
267 export NAN_SDL ?= $(shell sdl11-config --prefix)
268 export NAN_SDLLIBS ?= $(shell sdl11-config --libs)
269 export NAN_SDLCFLAGS ?= $(shell sdl11-config --cflags)
271 # Uncomment the following line to use Mozilla inplace of netscape
272 # CPPFLAGS +=-DMOZ_NOT_NET
273 # Location of MOZILLA/Netscape header files...
274 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
275 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
276 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
277 # if this is not set.
279 export NAN_BUILDINFO ?= true
280 # Be paranoid regarding library creation (do not update archives)
281 export NAN_PARANOID ?= true
284 # export INTERNATIONAL ?= true
286 # enable freetype2 support for text objects
287 # export WITH_FREETYPE2 ?= true
292 export ID = $(shell whoami)
293 export HOST = $(shell /usr/bsd/hostname -s)
294 #export NAN_NO_KETSJI=true
295 export NAN_JUST_BLENDERDYNAMIC=true
296 export NAN_PYTHON ?= $(LCGDIR)/python
297 export NAN_PYTHON_VERSION ?= 2.3
298 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
299 export NAN_OPENAL ?= $(LCGDIR)/openal
300 export NAN_FMOD ?= $(LCGDIR)/fmod
301 export NAN_JPEG ?= $(LCGDIR)/jpeg
302 export NAN_PNG ?= $(LCGDIR)/png
303 export NAN_TIFF ?= /usr/freeware
304 export NAN_ODE ?= $(LCGDIR)/ode
305 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
306 export NAN_MESA ?= /usr/src/Mesa-3.1
307 export NAN_ZLIB ?= /usr/freeware
308 export NAN_NSPR ?= $(LCGDIR)/nspr
309 export NAN_FREETYPE ?= /usr/freeware
310 export NAN_GETTEXT ?= /usr/freeware
311 export NAN_SDL ?= $(LCGDIR)/sdl
312 export NAN_SDLLIBS ?= -L$(NAN_SDL)/lib -lSDL
313 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include/SDL
315 # Uncomment the following line to use Mozilla inplace of netscape
316 # CPPFLAGS +=-DMOZ_NOT_NET
317 # Location of MOZILLA/Netscape header files...
318 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
319 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
320 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
321 # if this is not set.
323 export NAN_BUILDINFO ?= true
324 # Be paranoid regarding library creation (do not update archives)
325 export NAN_PARANOID ?= true
328 export INTERNATIONAL ?= true
330 # enable freetype2 support for text objects
331 export WITH_FREETYPE2 ?= true
336 export ID = $(shell whoami)
337 export HOST = $(shell hostname -s)
338 export NAN_PYTHON ?= /usr
340 export NAN_PYTHON_VERSION ?= 2.2
342 export NAN_PYTHON_VERSION ?= 2.3
344 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
345 export NAN_OPENAL ?= /usr
346 export NAN_FMOD ?= $(LCGDIR)/fmod
347 export NAN_JPEG ?= /usr
348 export NAN_PNG ?= /usr
349 export NAN_TIFF ?= /usr
350 export NAN_ODE ?= $(LCGDIR)/ode
351 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
352 export NAN_MESA ?= /usr
353 export NAN_ZLIB ?= /usr
354 export NAN_NSPR ?= $(LCGDIR)/nspr
355 export NAN_FREETYPE ?= /usr
356 export NAN_GETTEXT ?= /usr
357 export NAN_SDL ?= $(shell sdl-config --prefix)
358 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
359 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
361 ifneq ($(NAN_USE_FFMPEG_CONFIG), true)
362 export NAN_FFMPEG ?= /usr
363 export NAN_FFMPEGLIBS ?= -L$(NAN_FFMPEG)/lib -lavformat -lavcodec -lavutil -ldts -lz
364 export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include
367 # Uncomment the following line to use Mozilla inplace of netscape
368 export CPPFLAGS += -DMOZ_NOT_NET
369 # Location of MOZILLA/Netscape header files...
370 export NAN_MOZILLA_INC ?= /usr/include/mozilla
371 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
372 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
373 # if this is not set.
375 export NAN_BUILDINFO ?= true
376 # Be paranoid regarding library creation (do not update archives)
377 export NAN_PARANOID ?= true
380 export INTERNATIONAL ?= true
382 # enable freetype2 support for text objects
383 export WITH_FREETYPE2 ?= true
385 # enable ffmpeg support
387 export WITH_FFMPEG ?= true
392 export ID = $(shell whoami)
393 export HOST = $(shell hostname -s)
394 export NAN_PYTHON ?= $(LCGDIR)/python
395 export NAN_PYTHON_VERSION ?= 2.3
396 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
397 export NAN_OPENAL ?= $(LCGDIR)/openal
398 export NAN_FMOD ?= $(LCGDIR)/fmod
399 export NAN_JPEG ?= $(LCGDIR)/jpeg
400 export NAN_PNG ?= $(LCGDIR)/png
401 export NAN_TIFF ?= $(LCGDIR)/tiff
402 export NAN_ODE ?= $(LCGDIR)/ode
403 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
404 export NAN_MESA ?= /usr/src/Mesa-3.1
405 export NAN_ZLIB ?= $(LCGDIR)/zlib
406 export NAN_NSPR ?= $(LCGDIR)/nspr
407 export NAN_FREETYPE ?= $(LCGDIR)/freetype
408 export NAN_GETTEXT ?= $(LCGDIR)/gettext
409 export NAN_SDL ?= $(shell sdl-config --prefix)
410 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
411 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
413 # Uncomment the following line to use Mozilla inplace of netscape
414 # CPPFLAGS +=-DMOZ_NOT_NET
415 # Location of MOZILLA/Netscape header files...
416 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
417 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
418 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
419 # if this is not set.
421 export NAN_BUILDINFO ?= true
422 # Be paranoid regarding library creation (do not update archives)
423 export NAN_PARANOID ?= true
426 #export INTERNATIONAL ?= true
428 # enable freetype2 support for text objects
429 #export WITH_FREETYPE2 ?= true
434 export ID = $(shell /usr/ucb/whoami)
435 export HOST = $(shell hostname)
436 export NAN_PYTHON ?= /usr/local
437 export NAN_PYTHON_VERSION ?= 2.3
438 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
439 export NAN_OPENAL ?= /usr/local
440 export NAN_FMOD ?= $(LCGDIR)/fmod
441 export NAN_JPEG ?= /usr/local
442 export NAN_PNG ?= /usr/local
443 export NAN_TIFF ?= /usr
444 export NAN_ODE ?= $(LCGDIR)/ode
445 export NAN_TERRAPLAY ?=
446 export NAN_MESA ?= /usr/src/Mesa-3.1
447 export NAN_ZLIB ?= /usr
448 export NAN_NSPR ?= $(LCGDIR)/nspr
449 export NAN_FREETYPE ?= $(LCGDIR)/freetype
450 export NAN_GETTEXT ?= $(LCGDIR)/gettext
451 export NAN_SDL ?= $(shell sdl-config --prefix)
452 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
453 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
455 # Uncomment the following line to use Mozilla inplace of netscape
456 # CPPFLAGS +=-DMOZ_NOT_NET
457 # Location of MOZILLA/Netscape header files...
458 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
459 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
460 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
461 # if this is not set.
463 export NAN_BUILDINFO ?= true
464 # Be paranoid regarding library creation (do not update archives)
465 export NAN_PARANOID ?= true
468 #export INTERNATIONAL ?= true
470 # enable freetype2 support for text objects
471 #export WITH_FREETYPE2 ?= true
476 export ID = $(LOGNAME)
477 export NAN_PYTHON ?= $(LCGDIR)/python
478 export NAN_ICONV ?= $(LCGDIR)/iconv
479 export NAN_PYTHON_VERSION ?= 2.4
480 ifeq ($(FREE_WINDOWS), true)
481 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
482 export NAN_FREETYPE ?= $(LCGDIR)/gcc/freetype
483 export NAN_ODE ?= $(LCGDIR)/gcc/ode
485 export NAN_SDL ?= $(LCGDIR)/gcc/sdl
486 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
489 export NAN_PYTHON_BINARY ?= python
490 export NAN_FREETYPE ?= $(LCGDIR)/freetype
491 export NAN_ODE ?= $(LCGDIR)/ode
493 export NAN_SDL ?= $(LCGDIR)/sdl
494 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
497 export NAN_OPENAL ?= $(LCGDIR)/openal
498 export NAN_FMOD ?= $(LCGDIR)/fmod
499 export NAN_JPEG ?= $(LCGDIR)/jpeg
500 export NAN_PNG ?= $(LCGDIR)/png
501 export NAN_TIFF ?= $(LCGDIR)/tiff
502 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
503 export NAN_MESA ?= /usr/src/Mesa-3.1
504 export NAN_ZLIB ?= $(LCGDIR)/zlib
505 export NAN_NSPR ?= $(LCGDIR)/nspr
506 export NAN_GETTEXT ?= $(LCGDIR)/gettext
508 # Uncomment the following line to use Mozilla inplace of netscape
509 # CPPFLAGS +=-DMOZ_NOT_NET
510 # Location of MOZILLA/Netscape header files...
511 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
512 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
513 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
514 # if this is not set.
515 export NAN_PYTHON_BINARY ?= python
516 export NAN_BUILDINFO ?= true
517 # Be paranoid regarding library creation (do not update archives)
518 export NAN_PARANOID ?= true
521 export INTERNATIONAL ?= true
523 # enable freetype2 support for text objects
524 export WITH_FREETYPE2 ?= true
526 # enable quicktime support
527 # export WITH_QUICKTIME ?= true
529 else # Platform not listed above
531 export NAN_PYTHON ?= $(LCGDIR)/python
532 export NAN_PYTHON_VERSION ?= 2.3
533 export NAN_PYTHON_BINARY ?= python
534 export NAN_OPENAL ?= $(LCGDIR)/openal
535 export NAN_FMOD ?= $(LCGDIR)/fmod
536 export NAN_JPEG ?= $(LCGDIR)/jpeg
537 export NAN_PNG ?= $(LCGDIR)/png
538 export NAN_TIFF ?= $(LCGDIR)/tiff
539 export NAN_SDL ?= $(LCGDIR)/sdl
540 export NAN_ODE ?= $(LCGDIR)/ode
541 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
542 export NAN_MESA ?= /usr/src/Mesa-3.1
543 export NAN_ZLIB ?= $(LCGDIR)/zlib
544 export NAN_NSPR ?= $(LCGDIR)/nspr
545 export NAN_FREETYPE ?= $(LCGDIR)/freetype
546 export NAN_GETTEXT ?= $(LCGDIR)/gettext
547 export NAN_SDL ?= $(shell sdl-config --prefix)
548 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
549 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
551 # Uncomment the following line to use Mozilla inplace of netscape
552 # CPPFLAGS +=-DMOZ_NOT_NET
553 # Location of MOZILLA/Netscape header files...
554 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
555 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
556 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
557 # if this is not set.
559 export NAN_BUILDINFO ?= true
560 # Be paranoid regarding library creation (do not update archives)
561 export NAN_PARANOID ?= true
564 #export INTERNATIONAL ?= true
566 # enable freetype2 support for text objects
567 #export WITH_FREETYPE2 ?= true
579 # Don't want to build the gameengine?
580 ifeq ($(NAN_NO_KETSJI), true)
581 export NAN_JUST_BLENDERDYNAMIC=true
582 export NAN_NO_OPENAL=true