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_IMG ?= $(LCGDIR)/img
84 export NAN_GHOST ?= $(LCGDIR)/ghost
85 export NAN_TEST_VERBOSITY ?= 1
86 export NAN_BMFONT ?= $(LCGDIR)/bmfont
87 export NAN_OPENNL ?= $(LCGDIR)/opennl
88 export NAN_ELBEEM ?= $(LCGDIR)/elbeem
89 export NAN_SUPERLU ?= $(LCGDIR)/superlu
90 ifeq ($(FREE_WINDOWS), true)
91 export NAN_FTGL ?= $(LCGDIR)/gcc/ftgl
93 export NAN_FTGL ?= $(LCGDIR)/ftgl
96 export WITH_OPENEXR ?= true
98 ifeq ($(FREE_WINDOWS), true)
99 export NAN_OPENEXR ?= $(LCGDIR)/gcc/openexr
100 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
101 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
103 export NAN_OPENEXR ?= $(LCGDIR)/openexr
104 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/IlmImf.lib $(NAN_OPENEXR)/lib/Half.lib $(NAN_OPENEXR)/lib/Iex.lib
105 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/IlmImf -I$(NAN_OPENEXR)/include/Imath -I$(NAN_OPENEXR)/include/Iex
108 export NAN_OPENEXR ?= /usr/local
109 export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
110 export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
112 # Platform Dependent settings go below:
117 export HOST = $(HOSTNAME)
118 export NAN_PYTHON ?= $(LCGDIR)/python
119 export NAN_PYTHON_VERSION ?= 2.3
120 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
121 export NAN_OPENAL ?= $(LCGDIR)/openal
122 export NAN_FMOD ?= $(LCGDIR)/fmod
123 export NAN_JPEG ?= $(LCGDIR)/jpeg
124 export NAN_PNG ?= $(LCGDIR)/png
125 export NAN_TIFF ?= $(LCGDIR)/tiff
126 export NAN_ODE ?= $(LCGDIR)/ode
127 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
128 export NAN_MESA ?= /usr/src/Mesa-3.1
129 export NAN_ZLIB ?= $(LCGDIR)/zlib
130 export NAN_NSPR ?= $(LCGDIR)/nspr
131 export NAN_FREETYPE ?= $(LCGDIR)/freetype
132 export NAN_GETTEXT ?= $(LCGDIR)/gettext
133 export NAN_SDL ?= $(shell sdl-config --prefix)
134 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
135 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
137 # Uncomment the following line to use Mozilla inplace of netscape
138 # CPPFLAGS +=-DMOZ_NOT_NET
139 # Location of MOZILLA/Netscape header files...
140 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
141 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
142 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
143 # if this is not set.
145 export NAN_BUILDINFO ?= true
146 # Be paranoid regarding library creation (do not update archives)
147 export NAN_PARANOID ?= true
150 #export INTERNATIONAL ?= true
152 # enable freetype2 support for text objects
153 #export WITH_FREETYPE2 ?= true
158 export ID = $(shell whoami)
159 export HOST = $(shell hostname -s)
161 export PY_FRAMEWORK = 1
164 export NAN_PYTHON ?= /System/Library/Frameworks/Python.framework/Versions/2.3
165 export NAN_PYTHON_VERSION ?= 2.3
166 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
168 export NAN_PYTHON ?= /sw
169 export NAN_PYTHON_VERSION ?= 2.3
170 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
173 export NAN_OPENAL ?= $(LCGDIR)/openal
174 export NAN_FMOD ?= $(LCGDIR)/fmod
175 export NAN_JPEG ?= $(LCGDIR)/jpeg
176 export NAN_PNG ?= $(LCGDIR)/png
177 export NAN_TIFF ?= $(LCGDIR)/tiff
178 export NAN_ODE ?= $(LCGDIR)/ode
179 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
180 export NAN_MESA ?= /usr/src/Mesa-3.1
181 export NAN_ZLIB ?= $(LCGDIR)/zlib
182 export NAN_NSPR ?= $(LCGDIR)/nspr
183 export NAN_FREETYPE ?= $(LCGDIR)/freetype
184 export NAN_GETTEXT ?= $(LCGDIR)/gettext
185 export NAN_SDL ?= $(LCGDIR)/sdl
186 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
187 export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a -framework Cocoa -framework IOKit
189 export NAN_NO_KETSJI=false
192 # Uncomment the following line to use Mozilla inplace of netscape
193 # CPPFLAGS +=-DMOZ_NOT_NET
194 # Location of MOZILLA/Netscape header files...
195 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
196 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
197 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
198 # if this is not set.
200 export NAN_BUILDINFO ?= true
201 # Be paranoid regarding library creation (do not update archives)
202 export NAN_PARANOID ?= true
204 # enable quicktime by default on OS X
205 export WITH_QUICKTIME ?= true
208 export INTERNATIONAL ?= true
210 # enable freetype2 support for text objects
211 export WITH_FREETYPE2 ?= true
216 export ID = $(shell whoami)
217 export HOST = $(shell hostname -s)
218 export NAN_PYTHON ?= /usr/local
219 export NAN_PYTHON_VERSION ?= 2.3
220 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
221 export NAN_OPENAL ?= /usr/local
222 export NAN_FMOD ?= $(LCGDIR)/fmod
223 export NAN_JPEG ?= /usr/local
224 export NAN_PNG ?= /usr/local
225 export NAN_TIFF ?= /usr/local
226 export NAN_ODE ?= $(LCGDIR)/ode
227 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
228 export NAN_MESA ?= /usr/src/Mesa-3.1
229 export NAN_ZLIB ?= /usr
230 export NAN_NSPR ?= /usr/local
231 export NAN_FREETYPE ?= $(LCGDIR)/freetype
232 export NAN_GETTEXT ?= $(LCGDIR)/gettext
233 export NAN_SDL ?= $(shell sdl11-config --prefix)
234 export NAN_SDLLIBS ?= $(shell sdl11-config --libs)
235 export NAN_SDLCFLAGS ?= $(shell sdl11-config --cflags)
237 # Uncomment the following line to use Mozilla inplace of netscape
238 # CPPFLAGS +=-DMOZ_NOT_NET
239 # Location of MOZILLA/Netscape header files...
240 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
241 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
242 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
243 # if this is not set.
245 export NAN_BUILDINFO ?= true
246 # Be paranoid regarding library creation (do not update archives)
247 export NAN_PARANOID ?= true
250 # export INTERNATIONAL ?= true
252 # enable freetype2 support for text objects
253 # export WITH_FREETYPE2 ?= true
258 export ID = $(shell whoami)
259 export HOST = $(shell /usr/bsd/hostname -s)
260 #export NAN_NO_KETSJI=true
261 export NAN_JUST_BLENDERDYNAMIC=true
262 export NAN_PYTHON ?= $(LCGDIR)/python
263 export NAN_PYTHON_VERSION ?= 2.3
264 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
265 export NAN_OPENAL ?= $(LCGDIR)/openal
266 export NAN_FMOD ?= $(LCGDIR)/fmod
267 export NAN_JPEG ?= $(LCGDIR)/jpeg
268 export NAN_PNG ?= $(LCGDIR)/png
269 export NAN_TIFF ?= /usr/freeware
270 export NAN_ODE ?= $(LCGDIR)/ode
271 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
272 export NAN_MESA ?= /usr/src/Mesa-3.1
273 export NAN_ZLIB ?= /usr/freeware
274 export NAN_NSPR ?= $(LCGDIR)/nspr
275 export NAN_FREETYPE ?= /usr/freeware
276 export NAN_GETTEXT ?= /usr/freeware
277 export NAN_SDL ?= $(LCGDIR)/sdl
278 export NAN_SDLLIBS ?= -L$(NAN_SDL)/lib -lSDL
279 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include/SDL
281 # Uncomment the following line to use Mozilla inplace of netscape
282 # CPPFLAGS +=-DMOZ_NOT_NET
283 # Location of MOZILLA/Netscape header files...
284 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
285 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
286 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
287 # if this is not set.
289 export NAN_BUILDINFO ?= true
290 # Be paranoid regarding library creation (do not update archives)
291 export NAN_PARANOID ?= true
294 export INTERNATIONAL ?= true
296 # enable freetype2 support for text objects
297 export WITH_FREETYPE2 ?= true
302 export ID = $(shell whoami)
303 export HOST = $(shell hostname -s)
304 export NAN_PYTHON ?= /usr
306 export NAN_PYTHON_VERSION ?= 2.2
308 export NAN_PYTHON_VERSION ?= 2.3
310 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
311 export NAN_OPENAL ?= /usr
312 export NAN_FMOD ?= $(LCGDIR)/fmod
313 export NAN_JPEG ?= /usr
314 export NAN_PNG ?= /usr
315 export NAN_TIFF ?= /usr
316 export NAN_ODE ?= $(LCGDIR)/ode
317 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
318 export NAN_MESA ?= /usr
319 export NAN_ZLIB ?= /usr
320 export NAN_NSPR ?= $(LCGDIR)/nspr
321 export NAN_FREETYPE ?= /usr
322 export NAN_GETTEXT ?= /usr
323 export NAN_SDL ?= $(shell sdl-config --prefix)
324 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
325 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
327 # Uncomment the following line to use Mozilla inplace of netscape
328 export CPPFLAGS += -DMOZ_NOT_NET
329 # Location of MOZILLA/Netscape header files...
330 export NAN_MOZILLA_INC ?= /usr/include/mozilla
331 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
332 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
333 # if this is not set.
335 export NAN_BUILDINFO ?= true
336 # Be paranoid regarding library creation (do not update archives)
337 export NAN_PARANOID ?= true
340 export INTERNATIONAL ?= true
342 # enable freetype2 support for text objects
343 export WITH_FREETYPE2 ?= true
349 export ID = $(shell whoami)
350 export HOST = $(shell hostname -s)
351 export NAN_PYTHON ?= $(LCGDIR)/python
352 export NAN_PYTHON_VERSION ?= 2.3
353 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
354 export NAN_OPENAL ?= $(LCGDIR)/openal
355 export NAN_FMOD ?= $(LCGDIR)/fmod
356 export NAN_JPEG ?= $(LCGDIR)/jpeg
357 export NAN_PNG ?= $(LCGDIR)/png
358 export NAN_TIFF ?= $(LCGDIR)/tiff
359 export NAN_ODE ?= $(LCGDIR)/ode
360 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
361 export NAN_MESA ?= /usr/src/Mesa-3.1
362 export NAN_ZLIB ?= $(LCGDIR)/zlib
363 export NAN_NSPR ?= $(LCGDIR)/nspr
364 export NAN_FREETYPE ?= $(LCGDIR)/freetype
365 export NAN_GETTEXT ?= $(LCGDIR)/gettext
366 export NAN_SDL ?= $(shell sdl-config --prefix)
367 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
368 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
370 # Uncomment the following line to use Mozilla inplace of netscape
371 # CPPFLAGS +=-DMOZ_NOT_NET
372 # Location of MOZILLA/Netscape header files...
373 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
374 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
375 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
376 # if this is not set.
378 export NAN_BUILDINFO ?= true
379 # Be paranoid regarding library creation (do not update archives)
380 export NAN_PARANOID ?= true
383 #export INTERNATIONAL ?= true
385 # enable freetype2 support for text objects
386 #export WITH_FREETYPE2 ?= true
391 export ID = $(shell /usr/ucb/whoami)
392 export HOST = $(shell hostname)
393 export NAN_PYTHON ?= /usr/local
394 export NAN_PYTHON_VERSION ?= 2.3
395 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
396 export NAN_OPENAL ?= /usr/local
397 export NAN_FMOD ?= $(LCGDIR)/fmod
398 export NAN_JPEG ?= /usr/local
399 export NAN_PNG ?= /usr/local
400 export NAN_TIFF ?= /usr
401 export NAN_ODE ?= $(LCGDIR)/ode
402 export NAN_TERRAPLAY ?=
403 export NAN_MESA ?= /usr/src/Mesa-3.1
404 export NAN_ZLIB ?= /usr
405 export NAN_NSPR ?= $(LCGDIR)/nspr
406 export NAN_FREETYPE ?= $(LCGDIR)/freetype
407 export NAN_GETTEXT ?= $(LCGDIR)/gettext
408 export NAN_SDL ?= $(shell sdl-config --prefix)
409 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
410 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
412 # Uncomment the following line to use Mozilla inplace of netscape
413 # CPPFLAGS +=-DMOZ_NOT_NET
414 # Location of MOZILLA/Netscape header files...
415 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
416 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
417 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
418 # if this is not set.
420 export NAN_BUILDINFO ?= true
421 # Be paranoid regarding library creation (do not update archives)
422 export NAN_PARANOID ?= true
425 #export INTERNATIONAL ?= true
427 # enable freetype2 support for text objects
428 #export WITH_FREETYPE2 ?= true
433 export ID = $(LOGNAME)
434 export NAN_PYTHON ?= $(LCGDIR)/python
435 export NAN_ICONV ?= $(LCGDIR)/iconv
436 export NAN_PYTHON_VERSION ?= 2.4
437 ifeq ($(FREE_WINDOWS), true)
438 export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
439 export NAN_FREETYPE ?= $(LCGDIR)/gcc/freetype
440 export NAN_ODE ?= $(LCGDIR)/gcc/ode
442 export NAN_SDL ?= $(LCGDIR)/gcc/sdl
443 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
446 export NAN_PYTHON_BINARY ?= python
447 export NAN_FREETYPE ?= $(LCGDIR)/freetype
448 export NAN_ODE ?= $(LCGDIR)/ode
450 export NAN_SDL ?= $(LCGDIR)/sdl
451 export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
454 export NAN_OPENAL ?= $(LCGDIR)/openal
455 export NAN_FMOD ?= $(LCGDIR)/fmod
456 export NAN_JPEG ?= $(LCGDIR)/jpeg
457 export NAN_PNG ?= $(LCGDIR)/png
458 export NAN_TIFF ?= $(LCGDIR)/tiff
459 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
460 export NAN_MESA ?= /usr/src/Mesa-3.1
461 export NAN_ZLIB ?= $(LCGDIR)/zlib
462 export NAN_NSPR ?= $(LCGDIR)/nspr
463 export NAN_GETTEXT ?= $(LCGDIR)/gettext
465 # Uncomment the following line to use Mozilla inplace of netscape
466 # CPPFLAGS +=-DMOZ_NOT_NET
467 # Location of MOZILLA/Netscape header files...
468 export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
469 export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
470 # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
471 # if this is not set.
472 export NAN_PYTHON_BINARY ?= python
473 export NAN_BUILDINFO ?= true
474 # Be paranoid regarding library creation (do not update archives)
475 export NAN_PARANOID ?= true
478 export INTERNATIONAL ?= true
480 # enable freetype2 support for text objects
481 export WITH_FREETYPE2 ?= true
483 # enable quicktime support
484 # export WITH_QUICKTIME ?= true
486 else # Platform not listed above
488 export NAN_PYTHON ?= $(LCGDIR)/python
489 export NAN_PYTHON_VERSION ?= 2.3
490 export NAN_PYTHON_BINARY ?= python
491 export NAN_OPENAL ?= $(LCGDIR)/openal
492 export NAN_FMOD ?= $(LCGDIR)/fmod
493 export NAN_JPEG ?= $(LCGDIR)/jpeg
494 export NAN_PNG ?= $(LCGDIR)/png
495 export NAN_TIFF ?= $(LCGDIR)/tiff
496 export NAN_SDL ?= $(LCGDIR)/sdl
497 export NAN_ODE ?= $(LCGDIR)/ode
498 export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
499 export NAN_MESA ?= /usr/src/Mesa-3.1
500 export NAN_ZLIB ?= $(LCGDIR)/zlib
501 export NAN_NSPR ?= $(LCGDIR)/nspr
502 export NAN_FREETYPE ?= $(LCGDIR)/freetype
503 export NAN_GETTEXT ?= $(LCGDIR)/gettext
504 export NAN_SDL ?= $(shell sdl-config --prefix)
505 export NAN_SDLLIBS ?= $(shell sdl-config --libs)
506 export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
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.
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
536 # Don't want to build the gameengine?
537 ifeq ($(NAN_NO_KETSJI), true)
538 export NAN_JUST_BLENDERDYNAMIC=true
539 export NAN_NO_OPENAL=true