soc-2008-mxcurioni: corrected compilation issues (remnants of extern_lib3ds)
This commit is contained in:
@@ -269,7 +269,7 @@ if not quickie and do_clean:
|
|||||||
print "clean dir %s"%(B.root_build_dir+dir)
|
print "clean dir %s"%(B.root_build_dir+dir)
|
||||||
shutil.rmtree(B.root_build_dir+dir)
|
shutil.rmtree(B.root_build_dir+dir)
|
||||||
for confile in ['extern/ffmpeg/config.mak', 'extern/x264/config.mak',
|
for confile in ['extern/ffmpeg/config.mak', 'extern/x264/config.mak',
|
||||||
'extern/xvidcore/build/generic/platform.inc','extern/freestyle/lib3ds/Makefile','extern/freestyle/swig/Makefile']:
|
'extern/xvidcore/build/generic/platform.inc']:
|
||||||
if os.path.exists(confile):
|
if os.path.exists(confile):
|
||||||
print "clean file %s"%confile
|
print "clean file %s"%confile
|
||||||
os.remove(confile)
|
os.remove(confile)
|
||||||
|
|||||||
@@ -161,13 +161,8 @@ BF_SOLID_LIB = 'extern_solid'
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
# WITH_BF_OPENEXR = 'true'
|
# WITH_BF_OPENEXR = 'true'
|
||||||
# BF_OPENEXR = '${LCGDIR}/openexr'
|
# BF_OPENEXR = '${LCGDIR}/openexr'
|
||||||
|
|||||||
@@ -87,13 +87,8 @@ BF_SOLID_LIB = 'extern_solid'
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
#WITH_BF_NSPR = 'true'
|
#WITH_BF_NSPR = 'true'
|
||||||
#BF_NSPR = $(LIBDIR)/nspr
|
#BF_NSPR = $(LIBDIR)/nspr
|
||||||
|
|||||||
@@ -7,13 +7,7 @@ BF_VERSE_INCLUDE = "#extern/verse/dist"
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
|
|||||||
@@ -81,13 +81,8 @@ BF_SOLID_LIB = 'extern_solid'
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
#WITH_BF_NSPR = 'true'
|
#WITH_BF_NSPR = 'true'
|
||||||
#BF_NSPR = $(LIBDIR)/nspr
|
#BF_NSPR = $(LIBDIR)/nspr
|
||||||
|
|||||||
@@ -83,13 +83,8 @@ BF_SOLID_LIB = 'extern_solid'
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
#WITH_BF_NSPR = 'true'
|
#WITH_BF_NSPR = 'true'
|
||||||
#BF_NSPR = $(LIBDIR)/nspr
|
#BF_NSPR = $(LIBDIR)/nspr
|
||||||
|
|||||||
@@ -98,13 +98,8 @@ BF_WINTAB_INC = '${BF_WINTAB}/INCLUDE'
|
|||||||
WITH_BF_YAFRAY = 'true'
|
WITH_BF_YAFRAY = 'true'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
#WITH_BF_NSPR = 'true'
|
#WITH_BF_NSPR = 'true'
|
||||||
#BF_NSPR = $(LIBDIR)/nspr
|
#BF_NSPR = $(LIBDIR)/nspr
|
||||||
|
|||||||
@@ -109,13 +109,8 @@ WITH_BF_YAFRAY = 'true'
|
|||||||
WITH_BF_BINRELOC = 'false'
|
WITH_BF_BINRELOC = 'false'
|
||||||
|
|
||||||
WITH_BF_FREESTYLE = 'true'
|
WITH_BF_FREESTYLE = 'true'
|
||||||
BF_FREESTYLE = '#extern/freestyle'
|
|
||||||
BF_FREESTYLE_SRC = '#source/blender/freestyle/src'
|
|
||||||
BF_SWIG = '${BF_FREESTYLE}/swig'
|
|
||||||
BF_SWIG_LIB = 'extern_swig'
|
|
||||||
BF_LIB3DS = '${BF_FREESTYLE}/lib3ds'
|
|
||||||
BF_LIB3DS_LIB = 'extern_lib3ds'
|
|
||||||
BF_LIB3DS_INC = '${BF_LIB3DS}'
|
|
||||||
|
|
||||||
#WITH_BF_NSPR = 'true'
|
#WITH_BF_NSPR = 'true'
|
||||||
#BF_NSPR = $(LIBDIR)/nspr
|
#BF_NSPR = $(LIBDIR)/nspr
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ incs = ''
|
|||||||
|
|
||||||
incs += '../blenkernel ../blenlib ../imbuf ../makesdna ../python '
|
incs += '../blenkernel ../blenlib ../imbuf ../makesdna ../python '
|
||||||
incs += '../render/extern/include ../render/intern/include ../include ../src'
|
incs += '../render/extern/include ../render/intern/include ../include ../src'
|
||||||
incs += ' #/extern/freestyle/lib3ds'
|
|
||||||
incs += ' ' + env['BF_PYTHON_INC']
|
incs += ' ' + env['BF_PYTHON_INC']
|
||||||
incs += ' ' + env['BF_LIB3DS_INC']
|
|
||||||
incs += ' ' + env['BF_PNG_INC']
|
incs += ' ' + env['BF_PNG_INC']
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
|||||||
@@ -158,8 +158,6 @@ def setup_syslibs(lenv):
|
|||||||
syslibs += Split(lenv['BF_OPENEXR_LIB'])
|
syslibs += Split(lenv['BF_OPENEXR_LIB'])
|
||||||
if lenv['WITH_BF_FFMPEG']:
|
if lenv['WITH_BF_FFMPEG']:
|
||||||
syslibs += Split(lenv['BF_FFMPEG_LIB'])
|
syslibs += Split(lenv['BF_FFMPEG_LIB'])
|
||||||
if lenv['WITH_BF_FREESTYLE']:
|
|
||||||
syslibs += Split(lenv['BF_LIB3DS_LIB'])
|
|
||||||
syslibs += Split(lenv['BF_SDL_LIB'])
|
syslibs += Split(lenv['BF_SDL_LIB'])
|
||||||
if not lenv['WITH_BF_STATICOPENGL']:
|
if not lenv['WITH_BF_STATICOPENGL']:
|
||||||
syslibs += Split(lenv['BF_OPENGL_LIB'])
|
syslibs += Split(lenv['BF_OPENGL_LIB'])
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ def validate_arguments(args, bc):
|
|||||||
'BF_FANCY', 'BF_QUIET',
|
'BF_FANCY', 'BF_QUIET',
|
||||||
'BF_X264_CONFIG',
|
'BF_X264_CONFIG',
|
||||||
'BF_XVIDCORE_CONFIG',
|
'BF_XVIDCORE_CONFIG',
|
||||||
'BF_WITH_BF_FREESTYLE', 'BF_FREESTYLE', 'BF_FREESTYLE_SRC', 'BF_SWIG', 'BF_SWIG_LIB', 'BF_LIB3DS', 'BF_LIB3DS_LIB', 'BF_LIB3DS_INC'
|
'BF_WITH_BF_FREESTYLE'
|
||||||
]
|
]
|
||||||
|
|
||||||
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
|
arg_list = ['BF_DEBUG', 'BF_QUIET', 'BF_CROSS', 'BF_UPDATE',
|
||||||
@@ -251,13 +251,6 @@ def read_opts(cfg, args):
|
|||||||
('BF_WINTAB_INC', 'WinTab include dir', ''),
|
('BF_WINTAB_INC', 'WinTab include dir', ''),
|
||||||
|
|
||||||
(BoolOption('WITH_BF_FREESTYLE', 'Use Freestyle if true', 'true')),
|
(BoolOption('WITH_BF_FREESTYLE', 'Use Freestyle if true', 'true')),
|
||||||
('BF_FREESTYLE', 'Freestyle base path', ''),
|
|
||||||
('BF_FREESTYLE_SRC', 'Freestyle source path', ''),
|
|
||||||
('BF_SWIG', 'SWIG base path', ''),
|
|
||||||
('BF_SWIG_LIB', 'SWIG library', ''),
|
|
||||||
('BF_LIB3DS', 'lib3ds base path', ''),
|
|
||||||
('BF_LIB3DS_LIB', 'lib3ds library', ''),
|
|
||||||
('BF_LIB3DS_INC', 'lib3ds include path', ''),
|
|
||||||
|
|
||||||
##
|
##
|
||||||
##WITH_BF_NSPR = 'true'
|
##WITH_BF_NSPR = 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user