Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-04 12:20:48 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-04 12:20:48 +0300
commit5d99cde8229a481363f1439ea4a4c2af851b1cb1 (patch)
tree76ebd7548ddb8eee0c7039e7f154ac982b57e80f /source
parent1eb5e0b6608b2c2bbc9813d9155ea379a5bc8ef4 (diff)
Remove SCons building system
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
Diffstat (limited to 'source')
-rw-r--r--source/SConscript39
-rw-r--r--source/blender/SConscript77
-rw-r--r--source/blender/avi/SConscript41
-rw-r--r--source/blender/blenfont/SConscript67
-rw-r--r--source/blender/blenkernel/SConscript197
-rw-r--r--source/blender/blenlib/SConscript56
-rw-r--r--source/blender/blenloader/SConscript64
-rw-r--r--source/blender/blentranslation/SConscript46
-rw-r--r--source/blender/bmesh/SConscript59
-rw-r--r--source/blender/collada/SConscript63
-rw-r--r--source/blender/compositor/SConscript78
-rw-r--r--source/blender/depsgraph/SConscript77
-rw-r--r--source/blender/editors/SConscript68
-rw-r--r--source/blender/editors/animation/SConscript52
-rw-r--r--source/blender/editors/armature/SConscript57
-rw-r--r--source/blender/editors/curve/SConscript49
-rw-r--r--source/blender/editors/datafiles/SConscript113
-rw-r--r--source/blender/editors/gpencil/SConscript57
-rw-r--r--source/blender/editors/interface/SConscript63
-rw-r--r--source/blender/editors/io/SConscript51
-rw-r--r--source/blender/editors/mask/SConscript51
-rw-r--r--source/blender/editors/mesh/SConscript72
-rw-r--r--source/blender/editors/metaball/SConscript45
-rw-r--r--source/blender/editors/object/SConscript66
-rw-r--r--source/blender/editors/physics/SConscript58
-rw-r--r--source/blender/editors/render/SConscript70
-rw-r--r--source/blender/editors/screen/SConscript59
-rw-r--r--source/blender/editors/sculpt_paint/SConscript64
-rw-r--r--source/blender/editors/sound/SConscript56
-rw-r--r--source/blender/editors/space_action/SConscript50
-rw-r--r--source/blender/editors/space_api/SConscript47
-rw-r--r--source/blender/editors/space_buttons/SConscript59
-rw-r--r--source/blender/editors/space_clip/SConscript58
-rw-r--r--source/blender/editors/space_console/SConscript52
-rw-r--r--source/blender/editors/space_file/SConscript75
-rw-r--r--source/blender/editors/space_graph/SConscript57
-rw-r--r--source/blender/editors/space_image/SConscript71
-rw-r--r--source/blender/editors/space_info/SConscript57
-rw-r--r--source/blender/editors/space_logic/SConscript58
-rw-r--r--source/blender/editors/space_nla/SConscript53
-rw-r--r--source/blender/editors/space_node/SConscript73
-rw-r--r--source/blender/editors/space_outliner/SConscript53
-rw-r--r--source/blender/editors/space_script/SConscript53
-rw-r--r--source/blender/editors/space_sequencer/SConscript60
-rw-r--r--source/blender/editors/space_text/SConscript58
-rw-r--r--source/blender/editors/space_time/SConscript48
-rw-r--r--source/blender/editors/space_userpref/SConscript47
-rw-r--r--source/blender/editors/space_view3d/SConscript74
-rw-r--r--source/blender/editors/transform/SConscript59
-rw-r--r--source/blender/editors/util/SConscript57
-rw-r--r--source/blender/editors/uvedit/SConscript54
-rw-r--r--source/blender/freestyle/SConscript95
-rw-r--r--source/blender/gpu/SConscript93
-rw-r--r--source/blender/ikplugin/SConscript49
-rw-r--r--source/blender/imbuf/SConscript100
-rw-r--r--source/blender/imbuf/intern/cineon/SConscript46
-rw-r--r--source/blender/imbuf/intern/dds/SConscript47
-rw-r--r--source/blender/imbuf/intern/oiio/SConscript49
-rw-r--r--source/blender/imbuf/intern/openexr/SConscript49
-rw-r--r--source/blender/imbuf/readme.txt4
-rw-r--r--source/blender/makesdna/SConscript45
-rw-r--r--source/blender/makesdna/intern/SConscript94
-rw-r--r--source/blender/makesrna/SConscript165
-rw-r--r--source/blender/makesrna/intern/SConscript247
-rw-r--r--source/blender/modifiers/SConscript88
-rw-r--r--source/blender/nodes/SConscript85
-rw-r--r--source/blender/physics/SConscript44
-rw-r--r--source/blender/python/SConscript210
-rw-r--r--source/blender/quicktime/SConscript63
-rw-r--r--source/blender/render/SConscript125
-rw-r--r--source/blender/windowmanager/SConscript97
-rw-r--r--source/blenderplayer/bad_level_call_stubs/SConscript48
-rw-r--r--source/creator/CMakeLists.txt1
-rw-r--r--source/gameengine/BlenderRoutines/SConscript91
-rw-r--r--source/gameengine/Converter/SConscript94
-rw-r--r--source/gameengine/Expressions/SConscript50
-rw-r--r--source/gameengine/GameLogic/SConscript63
-rw-r--r--source/gameengine/GamePlayer/SConscript29
-rw-r--r--source/gameengine/GamePlayer/common/SConscript81
-rw-r--r--source/gameengine/GamePlayer/ghost/SConscript99
-rw-r--r--source/gameengine/Ketsji/KXNetwork/SConscript52
-rw-r--r--source/gameengine/Ketsji/SConscript110
-rw-r--r--source/gameengine/Network/LoopBackNetwork/SConscript41
-rw-r--r--source/gameengine/Network/SConscript46
-rw-r--r--source/gameengine/Physics/Bullet/SConscript68
-rw-r--r--source/gameengine/Physics/Dummy/SConscript45
-rw-r--r--source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript40
-rw-r--r--source/gameengine/Rasterizer/SConscript63
-rw-r--r--source/gameengine/SConscript51
-rw-r--r--source/gameengine/SceneGraph/SConscript47
-rw-r--r--source/gameengine/VideoTexture/SConscript76
-rw-r--r--source/icons/SConscript38
92 files changed, 1 insertions, 6215 deletions
diff --git a/source/SConscript b/source/SConscript
deleted file mode 100644
index 432cfb31c7d..00000000000
--- a/source/SConscript
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-SConscript(['blender/SConscript'])
-
-if env['WITH_BF_GAMEENGINE']:
- SConscript (['gameengine/SConscript'])
-
-if env['WITH_BF_PLAYER']:
- SConscript (['blenderplayer/bad_level_call_stubs/SConscript'])
-
-if env['OURPLATFORM'] in ('win64-vc', 'win32-vc', 'win32-mingw', 'linuxcross', 'win64-mingw'):
- SConscript (['icons/SConscript'])
diff --git a/source/blender/SConscript b/source/blender/SConscript
deleted file mode 100644
index c6f4994bb4f..00000000000
--- a/source/blender/SConscript
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-import sys
-
-SConscript(['avi/SConscript',
- 'bmesh/SConscript',
- 'blenkernel/SConscript',
- 'blenlib/SConscript',
- 'blenloader/SConscript',
- 'blentranslation/SConscript',
- 'depsgraph/SConscript',
- 'gpu/SConscript',
- 'editors/SConscript',
- 'imbuf/SConscript',
- 'makesdna/SConscript',
- 'render/SConscript',
- 'nodes/SConscript',
- 'modifiers/SConscript',
- 'ikplugin/SConscript',
- 'physics/SConscript',
- 'windowmanager/SConscript',
- 'blenfont/SConscript'])
-
-makesrna = SConscript('makesrna/SConscript')
-
-if env['WITH_BF_PYTHON']:
- SConscript(['python/SConscript'])
-
-if env['WITH_BF_OIIO']:
- SConscript (['imbuf/intern/oiio/SConscript'])
-
-if env['WITH_BF_DDS']:
- SConscript (['imbuf/intern/dds/SConscript'])
-
-if env['WITH_BF_CINEON']:
- SConscript (['imbuf/intern/cineon/SConscript'])
-
-if env['WITH_BF_OPENEXR']:
- SConscript (['imbuf/intern/openexr/SConscript'])
-
-if env['WITH_BF_QUICKTIME']:
- SConscript (['quicktime/SConscript'])
-
-if env['WITH_BF_COLLADA']:
- SConscript (['collada/SConscript'])
-
-if env['WITH_BF_COMPOSITOR']:
- SConscript (['compositor/SConscript'])
-
-if env['WITH_BF_FREESTYLE']:
- SConscript (['freestyle/SConscript'])
diff --git a/source/blender/avi/SConscript b/source/blender/avi/SConscript
deleted file mode 100644
index 6caeada0e05..00000000000
--- a/source/blender/avi/SConscript
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- '#/intern/guardedalloc',
- '../blenlib',
- env['BF_JPEG_INC'],
- ]
-
-defs = []
-
-env.BlenderLib ('bf_avi', sources, incs, defs, libtype=['core','player'], priority = [190,120] )
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript
deleted file mode 100644
index 6c3b5748011..00000000000
--- a/source/blender/blenfont/SConscript
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- 'intern',
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../editors/include',
- '../gpu',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- ]
-
-incs.extend(Split(env['BF_FREETYPE_INC']))
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross':
- defs.append('_WIN32')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
- incs.append('../python')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-env.BlenderLib('bf_blenfont', sources, incs, defines=defs, libtype=['core', 'player'], priority=[210, 210])
diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript
deleted file mode 100644
index edb2852d9ac..00000000000
--- a/source/blender/blenkernel/SConscript
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-import os
-
-sources = env.Glob('intern/*.c')
-sources.remove('intern' + os.sep + 'mask_rasterize.c')
-sources.remove('intern' + os.sep + 'mask_evaluate.c')
-sources.remove('intern' + os.sep + 'mask.c')
-
-sources_mask = env.Glob('intern/mask*.c')
-
-incs = [
- '.',
- '#/extern/libmv',
- '#/intern/ffmpeg',
- '#/intern/guardedalloc',
- '#/intern/memutil',
- '#/intern/mikktspace',
- '#/intern/raskter',
- '#/intern/rigidbody',
- '#/extern/bullet2/src',
- env['BF_GLEW_INC'],
- '#/intern/ghost',
- '#/intern/glew-mx',
- '#/intern/elbeem/extern',
- '#/intern/iksolver/extern',
- '#/intern/smoke/extern',
- '#/intern/atomic',
- '../avi',
- '../blenfont',
- '../blenlib',
- '../blenloader',
- '../blentranslation',
- '../bmesh',
- '../depsgraph',
- '../gpu',
- '../ikplugin',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../modifiers',
- '../nodes',
- '../physics',
- '../render/extern/include',
- '../windowmanager',
- env['BF_ZLIB_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_FRAMESERVER']:
- defs.append('WITH_FRAMESERVER')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ../python'
- defs.append('WITH_PYTHON')
- if env['BF_DEBUG']:
- defs.append('DEBUG')
-
-'''
-if env['WITH_BF_ELTOPO']:
- incs += ' #/extern/eltopo'
- incs += ' #/extern/eltopo/eltopo3d'
- defs.append('WITH_ELTOPO')
-'''
-if env['WITH_BF_QUICKTIME']:
- incs += ' ../quicktime'
-
-if env['WITH_BF_SDL']:
- incs += ' ' + env['BF_SDL_INC']
- defs.append('WITH_SDL')
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-if env['WITH_BF_HDR']:
- defs.append('WITH_HDR')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_JACK']:
- defs.append('WITH_JACK')
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC']
-
-if env['WITH_BF_QUICKTIME']:
- defs.append('WITH_QUICKTIME')
- incs += ' ' + env['BF_QUICKTIME_INC']
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-if env['WITH_BF_FLUID']:
- defs.append('WITH_MOD_FLUID')
-
-if env['WITH_BF_OCEANSIM']:
- defs.append('WITH_OCEANSIM')
-
-if env['WITH_BF_LZO']:
- incs += ' #/extern/lzo/minilzo'
- defs.append('WITH_LZO')
-
-if env['WITH_BF_LZMA']:
- incs += ' #/extern/lzma'
- defs.append('WITH_LZMA')
-
-if env['WITH_BF_GAMEENGINE']:
- incs += ' #/extern/recastnavigation'
- defs.append('WITH_GAMEENGINE')
-else:
- sources.remove('intern' + os.sep + 'navmesh_conversion.c')
-
-if env['WITH_BF_LIBMV']:
- defs.append('WITH_LIBMV')
-
-if env['WITH_BF_FFTW3']:
- defs.append('FFTW3=1')
- incs += ' ' + env['BF_FFTW3_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append('WITH_OPENSUBDIV')
- incs += ' #intern/opensubdiv'
- incs += ' ' + env['BF_OPENSUBDIV_INC']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
- incs += ' ../../../intern/utfconv'
-
-if env['WITH_BF_BINRELOC']:
- incs += ' #extern/binreloc/include'
- defs.append('WITH_BINRELOC')
-
-if env['WITH_BF_LEGACY_DEPSGRAPH']:
- defs.append('WITH_LEGACY_DEPSGRAPH')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
- env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [166,25]) #, cc_compileflags = env['CCFLAGS'].append('/WX') )
-else:
- env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player', 'player2'], priority = [166,25,0] )
-
-env.BlenderLib ( libname = 'bf_blenkernel_mask', sources = sources_mask, includes = Split(incs), defines = defs, libtype=['core','player', 'player2'], priority = [200,25,0] )
diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript
deleted file mode 100644
index 5f92741fde2..00000000000
--- a/source/blender/blenlib/SConscript
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-cflags=''
-# don't add ../blenkernel back!
-incs = [
- '.',
- '#/extern/wcwidth',
- '#/intern/guardedalloc',
- '#/intern/atomic',
- '#/intern/eigen',
- '../makesdna',
- env['BF_FREETYPE_INC'],
- env['BF_ZLIB_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
- incs += ' ../../../intern/utfconv'
-
-if env['OURPLATFORM'] == 'linuxcross':
- if env['WITH_BF_OPENMP']:
- incs += ' ' + env['BF_OPENMP_INC']
-
-env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [370,230], compileflags =cflags )
diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript
deleted file mode 100644
index 7f2a1e0723c..00000000000
--- a/source/blender/blenloader/SConscript
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- '#/intern/guardedalloc',
- '../blenfont',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../nodes',
- '../render/extern/include',
- env['BF_ZLIB_INC'],
- ]
-
-defs = []
-
-if env['BF_BUILDINFO']:
- defs.append('WITH_BUILDINFO')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
- env.BlenderLib('bf_blenloader', sources, incs, defs, libtype=['core', 'player'], priority = [167, 30]) #, cc_compileflags=['/WX'])
-else:
- env.BlenderLib('bf_blenloader', sources, incs, defs, libtype=['core', 'player', 'player2'], priority=[167, 30, 5])
diff --git a/source/blender/blentranslation/SConscript b/source/blender/blentranslation/SConscript
deleted file mode 100644
index c7e9853618c..00000000000
--- a/source/blender/blentranslation/SConscript
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- '#/intern/guardedalloc',
- '#/intern/locale',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../makesdna',
- '../makesrna',
- ]
-
-defs = []
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
- incs.append('../python')
-
-env.BlenderLib('bf_blentranslation', sources, incs, defines=defs, libtype=['core', 'player'], priority=[211, 211])
diff --git a/source/blender/bmesh/SConscript b/source/blender/bmesh/SConscript
deleted file mode 100644
index 6bf4fdf7c78..00000000000
--- a/source/blender/bmesh/SConscript
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-cflags=''
-
-sources = env.Glob('intern/*.c')
-sources += env.Glob('operators/*.c')
-sources += env.Glob('tools/*.c')
-
-incs = [
- './',
- '../blenlib',
- '../blentranslation',
- '../makesdna',
- '../blenkernel',
- '#/intern/guardedalloc',
- '#/intern/eigen',
- '#/extern/bullet2/src',
- '#/extern/rangetree',
- ]
-
-defs = []
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-env.BlenderLib ( libname = 'bf_bmesh', sources = sources, includes = Split(incs), libtype = ['core','player'], defines=defs, priority=[100, 100], compileflags=cflags )
diff --git a/source/blender/collada/SConscript b/source/blender/collada/SConscript
deleted file mode 100644
index 7853769a0f8..00000000000
--- a/source/blender/collada/SConscript
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Arystanbek Dyussenov, Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-defs = []
-
-# TODO sanitize inc path building
-# relative paths to include dirs, space-separated, string
-incs = [
- '../ikplugin',
- '#/intern/iksolver/extern',
- '../blenlib',
- '../blenkernel',
- '../blentranslation',
- '../windowmanager',
- '../makesdna',
- '../makesrna',
- '../editors/include',
- '../imbuf',
- '../bmesh',
- '#/intern/guardedalloc',
-]
-incs += [
- env['BF_OPENCOLLADA_INC'] + '/COLLADAStreamWriter',
- env['BF_OPENCOLLADA_INC'] + '/COLLADABaseUtils',
- env['BF_OPENCOLLADA_INC'] + '/COLLADAFramework',
- env['BF_OPENCOLLADA_INC'] + '/COLLADASaxFrameworkLoader',
- env['BF_OPENCOLLADA_INC'] + '/GeneratedSaxParser',
-]
-
-if env['BF_BUILDINFO']:
- defs.append('WITH_BUILDINFO')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ('bf_collada', sources, incs, defs, libtype='core', priority=200 )
diff --git a/source/blender/compositor/SConscript b/source/blender/compositor/SConscript
deleted file mode 100644
index ee91c47a531..00000000000
--- a/source/blender/compositor/SConscript
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2011, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Jeroen Bakker, Monique Dewanchand, Blender Developers Fund.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-defs = ['GLEW_STATIC', 'CL_USE_DEPRECATED_OPENCL_1_1_APIS']
-
-sources_intern = env.Glob('intern/*.cpp')
-sources_nodes = env.Glob('nodes/*.cpp')
-sources_operations = env.Glob('operations/*.cpp')
-
-incs = [
- '.',
- 'intern',
- 'nodes',
- 'operations',
- '#/extern/clew/include',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../nodes',
- '../nodes/composite',
- '../nodes/intern',
- '../render/extern/include',
- '../render/intern/include',
- '../windowmanager',
- '../../../intern/guardedalloc',
- '../../../intern/atomic',
-
- # data files
- env['DATA_HEADERS'],
- ]
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
- incs.append(env['BF_PTHREADS_INC'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']:
- defs.append('WITH_CYCLES_DEBUG')
-
-if False: # gives link errors 'win' in env['OURPLATFORM']:
- # split into 3 modules to work around command length limit on Windows
- env.BlenderLib('bf_composite_intern', sources_intern, incs, defines=defs, libtype=['core'], priority=[166])
- env.BlenderLib('bf_composite_nodes', sources_nodes, incs, defines=defs, libtype=['core'], priority=[165])
- env.BlenderLib('bf_composite_operations', sources_operations, incs, defines=defs, libtype=['core'], priority=[164])
-else:
- sources = sources_intern + sources_nodes + sources_operations
- env.BlenderLib('bf_composite', sources, incs, defines=defs, libtype=['core'], priority=[164])
-
-
diff --git a/source/blender/depsgraph/SConscript b/source/blender/depsgraph/SConscript
deleted file mode 100644
index 7f49e8f4643..00000000000
--- a/source/blender/depsgraph/SConscript
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2013, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory, Joshua Leung.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import('env')
-
-sources = env.Glob('intern/*.cc') + env.Glob('util/*.cc')
-
-incs = [
- '.',
- './intern',
- './util',
- '#/intern/atomic',
- '#/intern/guardedalloc',
- '../bmesh',
- '../blenlib',
- '../blenkernel',
- '../makesdna',
- '../makesrna',
- '../modifiers',
- '../windowmanager',
- ]
-
-defs = []
-
-if env['WITH_BF_BOOST']:
- incs.append(env['BF_BOOST_INC'])
- defs.append('HAVE_BOOST_FUNCTION_BINDINGS')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-
-if env['WITH_UNORDERED_MAP_SUPPORT']:
- if env['UNORDERED_MAP_HEADER'] == 'unordered_map':
- if env['UNORDERED_MAP_NAMESPACE'] == 'std':
- defs.append('DEG_STD_UNORDERED_MAP')
- elif env['UNORDERED_MAP_NAMESPACE'] == 'std::tr1':
- defs.append('DEG_STD_UNORDERED_MAP_IN_TR1_NAMESPACE')
- elif env['UNORDERED_MAP_NAMESPACE'] == 'std::tr1':
- defs.append('DEG_TR1_UNORDERED_MAP')
-else:
- print("-- Replacing unordered_map/set with map/set (warning: slower!)")
- defs.append('DEG_NO_UNORDERED_MAP')
-
-if env['WITH_BF_LEGACY_DEPSGRAPH']:
- defs.append('WITH_LEGACY_DEPSGRAPH')
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append('WITH_OPENSUBDIV')
-
-env.BlenderLib(libname='bf_depsgraph', sources=sources,
- includes=incs, defines=defs,
- libtype=['core', 'player'], priority=[200, 40])
diff --git a/source/blender/editors/SConscript b/source/blender/editors/SConscript
deleted file mode 100644
index 1ea2bc0e4ef..00000000000
--- a/source/blender/editors/SConscript
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-
-SConscript(['datafiles/SConscript',
- 'space_api/SConscript',
- 'util/SConscript',
- 'interface/SConscript',
- 'io/SConscript',
- 'animation/SConscript',
- 'armature/SConscript',
- 'mask/SConscript',
- 'mesh/SConscript',
- 'metaball/SConscript',
- 'object/SConscript',
- 'curve/SConscript',
- 'gpencil/SConscript',
- 'physics/SConscript',
- 'render/SConscript',
- 'sound/SConscript',
- 'space_buttons/SConscript',
- 'space_clip/SConscript',
- 'space_file/SConscript',
- 'space_image/SConscript',
- 'space_info/SConscript',
- 'space_graph/SConscript',
- 'space_node/SConscript',
- 'space_outliner/SConscript',
- 'space_time/SConscript',
- 'space_view3d/SConscript',
- 'space_action/SConscript',
- 'space_nla/SConscript',
- 'space_script/SConscript',
- 'space_text/SConscript',
- 'space_sequencer/SConscript',
- 'space_logic/SConscript',
- 'space_console/SConscript',
- 'space_userpref/SConscript',
- 'transform/SConscript',
- 'screen/SConscript',
- 'sculpt_paint/SConscript',
- 'uvedit/SConscript'])
diff --git a/source/blender/editors/animation/SConscript b/source/blender/editors/animation/SConscript
deleted file mode 100644
index fb5ff53cf16..00000000000
--- a/source/blender/editors/animation/SConscript
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_animation', sources, incs, defs, libtype=['core'], priority=[125])
diff --git a/source/blender/editors/armature/SConscript b/source/blender/editors/armature/SConscript
deleted file mode 100644
index 850834d2cd4..00000000000
--- a/source/blender/editors/armature/SConscript
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '#/intern/eigen',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_armature', sources, Split(incs), defs, libtype=['core'], priority=[44] )
diff --git a/source/blender/editors/curve/SConscript b/source/blender/editors/curve/SConscript
deleted file mode 100644
index eadec4f65b6..00000000000
--- a/source/blender/editors/curve/SConscript
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-
-incs = [
- '#/intern/guardedalloc',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_curve', sources, incs, defs, libtype=['core'], priority=[45])
diff --git a/source/blender/editors/datafiles/SConscript b/source/blender/editors/datafiles/SConscript
deleted file mode 100644
index 6bc8f21e384..00000000000
--- a/source/blender/editors/datafiles/SConscript
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-# all source generated now
-# sources = env.Glob('*.c')
-sources = []
-incs = []
-defs = []
-
-# generated data files
-import os
-sources.extend((
- os.path.join(env['DATA_SOURCES'], "bfont.pfb.c"),
- os.path.join(env['DATA_SOURCES'], "bfont.ttf.c"),
- os.path.join(env['DATA_SOURCES'], "bmonofont.ttf.c"),
-
- os.path.join(env['DATA_SOURCES'], "splash.png.c"),
- os.path.join(env['DATA_SOURCES'], "splash_2x.png.c"),
- os.path.join(env['DATA_SOURCES'], "blender_icons16.png.c"),
- os.path.join(env['DATA_SOURCES'], "blender_icons32.png.c"),
- os.path.join(env['DATA_SOURCES'], "prvicons.png.c"),
-
- os.path.join(env['DATA_SOURCES'], "startup.blend.c"),
- os.path.join(env['DATA_SOURCES'], "preview.blend.c"),
- os.path.join(env['DATA_SOURCES'], "preview_cycles.blend.c"),
-
- os.path.join(env['DATA_SOURCES'], "add.png.c"),
- os.path.join(env['DATA_SOURCES'], "blob.png.c"),
- os.path.join(env['DATA_SOURCES'], "blur.png.c"),
- os.path.join(env['DATA_SOURCES'], "clay.png.c"),
- os.path.join(env['DATA_SOURCES'], "claystrips.png.c"),
- os.path.join(env['DATA_SOURCES'], "clone.png.c"),
- os.path.join(env['DATA_SOURCES'], "crease.png.c"),
- os.path.join(env['DATA_SOURCES'], "darken.png.c"),
- os.path.join(env['DATA_SOURCES'], "draw.png.c"),
- os.path.join(env['DATA_SOURCES'], "fill.png.c"),
- os.path.join(env['DATA_SOURCES'], "flatten.png.c"),
- os.path.join(env['DATA_SOURCES'], "grab.png.c"),
- os.path.join(env['DATA_SOURCES'], "inflate.png.c"),
- os.path.join(env['DATA_SOURCES'], "layer.png.c"),
- os.path.join(env['DATA_SOURCES'], "lighten.png.c"),
- os.path.join(env['DATA_SOURCES'], "mask.png.c"),
- os.path.join(env['DATA_SOURCES'], "mix.png.c"),
- os.path.join(env['DATA_SOURCES'], "multiply.png.c"),
- os.path.join(env['DATA_SOURCES'], "nudge.png.c"),
- os.path.join(env['DATA_SOURCES'], "pinch.png.c"),
- os.path.join(env['DATA_SOURCES'], "scrape.png.c"),
- os.path.join(env['DATA_SOURCES'], "smear.png.c"),
- os.path.join(env['DATA_SOURCES'], "smooth.png.c"),
- os.path.join(env['DATA_SOURCES'], "snake_hook.png.c"),
- os.path.join(env['DATA_SOURCES'], "soften.png.c"),
- os.path.join(env['DATA_SOURCES'], "subtract.png.c"),
- os.path.join(env['DATA_SOURCES'], "texdraw.png.c"),
- os.path.join(env['DATA_SOURCES'], "texfill.png.c"),
- os.path.join(env['DATA_SOURCES'], "texmask.png.c"),
- os.path.join(env['DATA_SOURCES'], "thumb.png.c"),
- os.path.join(env['DATA_SOURCES'], "twist.png.c"),
- os.path.join(env['DATA_SOURCES'], "vertexdraw.png.c"),
-
- os.path.join(env['DATA_SOURCES'], "mc01.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc02.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc03.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc04.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc05.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc06.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc07.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc08.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc09.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc10.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc11.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc12.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc13.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc14.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc15.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc16.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc17.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc18.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc19.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc20.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc21.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc22.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc23.jpg.c"),
- os.path.join(env['DATA_SOURCES'], "mc24.jpg.c"),
-
- ))
-
-env.BlenderLib ( 'bf_editor_datafiles', sources, incs, defs, libtype=['core', 'player'], priority=[235, 30] )
diff --git a/source/blender/editors/gpencil/SConscript b/source/blender/editors/gpencil/SConscript
deleted file mode 100644
index 3830a164b7b..00000000000
--- a/source/blender/editors/gpencil/SConscript
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/elbeem/extern',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_gpencil', sources, incs, defs, libtype=['core'], priority=[45])
diff --git a/source/blender/editors/interface/SConscript b/source/blender/editors/interface/SConscript
deleted file mode 100644
index ea6f35c54e6..00000000000
--- a/source/blender/editors/interface/SConscript
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- # python button eval
- '../../python',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'win64-mingw'):
- if env['WITH_BF_IME']:
- defs.append('WITH_INPUT_IME')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-env.BlenderLib('bf_editors_interface', sources, incs, defs, libtype=['core'], priority=[110])
diff --git a/source/blender/editors/io/SConscript b/source/blender/editors/io/SConscript
deleted file mode 100644
index 2b1a638b891..00000000000
--- a/source/blender/editors/io/SConscript
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-
-incs = [
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../collada',
- '../../makesrna',
- '../../windowmanager',
- '../../bmesh../../makesdna',
- ]
-
-if env['WITH_BF_COLLADA']:
- defs += ['WITH_COLLADA']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs += ['WITH_INTERNATIONAL']
-
-env.BlenderLib ( 'bf_editor_io', sources, incs, defines=defs, libtype=['core','player'], priority=[330,210] )
diff --git a/source/blender/editors/mask/SConscript b/source/blender/editors/mask/SConscript
deleted file mode 100644
index c4e6daaf5df..00000000000
--- a/source/blender/editors/mask/SConscript
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-env.BlenderLib('bf_editors_mask', sources, incs, defs, libtype=['core'], priority=[100])
diff --git a/source/blender/editors/mesh/SConscript b/source/blender/editors/mesh/SConscript
deleted file mode 100644
index df58b2a90b3..00000000000
--- a/source/blender/editors/mesh/SConscript
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../uvedit',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_GAMEENGINE']:
- incs += ' #/extern/recastnavigation'
- defs.append('WITH_GAMEENGINE')
-else:
- sources.remove('mesh_navmesh.c')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-env.BlenderLib ( 'bf_editors_mesh', sources, Split(incs), defs, libtype=['core'], priority=[45] )
diff --git a/source/blender/editors/metaball/SConscript b/source/blender/editors/metaball/SConscript
deleted file mode 100644
index d31a10afe90..00000000000
--- a/source/blender/editors/metaball/SConscript
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-
-defs = []
-
-env.BlenderLib ( 'bf_editors_metaball', sources, incs, defs, libtype=['core'], priority=[45] )
diff --git a/source/blender/editors/object/SConscript b/source/blender/editors/object/SConscript
deleted file mode 100644
index 914ffa3061c..00000000000
--- a/source/blender/editors/object/SConscript
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/extern/recastnavigation',
- '#/intern/guardedalloc',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../ikplugin',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../python',
- # for object_bake.c
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] )
diff --git a/source/blender/editors/physics/SConscript b/source/blender/editors/physics/SConscript
deleted file mode 100644
index be399a58732..00000000000
--- a/source/blender/editors/physics/SConscript
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/rigidbody',
- '#/intern/elbeem/extern',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_physics', sources, Split(incs), defs, libtype=['core'], priority=[45] )
diff --git a/source/blender/editors/render/SConscript b/source/blender/editors/render/SConscript
deleted file mode 100644
index 24270ca2324..00000000000
--- a/source/blender/editors/render/SConscript
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/elbeem/extern',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blenloader',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_FREESTYLE']:
- incs += ' ../../freestyle'
- env.Append(CFLAGS=['-DWITH_FREESTYLE'])
-
-if env['WITH_BF_QUICKTIME']:
- incs += ' ../../quicktime'
- env.Append(CFLAGS=['-DWITH_QUICKTIME'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_render', sources, Split(incs), defs, libtype=['core'], priority=[45])
diff --git a/source/blender/editors/screen/SConscript b/source/blender/editors/screen/SConscript
deleted file mode 100644
index 5f48894c3e7..00000000000
--- a/source/blender/editors/screen/SConscript
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_screen', sources, Split(incs), Split(defs), libtype=['core'], priority=[105] )
diff --git a/source/blender/editors/sculpt_paint/SConscript b/source/blender/editors/sculpt_paint/SConscript
deleted file mode 100644
index 52fab472189..00000000000
--- a/source/blender/editors/sculpt_paint/SConscript
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../uvedit',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-if env['OURPLATFORM'] == 'linuxcross':
- if env['WITH_BF_OPENMP']:
- incs += ' ' + env['BF_OPENMP_INC']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_sculpt_paint', sources, Split(incs), defines=defs, libtype=['core'], priority=[40] )
diff --git a/source/blender/editors/sound/SConscript b/source/blender/editors/sound/SConscript
deleted file mode 100644
index fad52c64df1..00000000000
--- a/source/blender/editors/sound/SConscript
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
-
-if env['WITH_BF_SNDFILE']:
- defs.append('WITH_SNDFILE')
-
-env.BlenderLib ( 'bf_editors_sound', sources, Split(incs), defs, libtype=['core'], priority=[35] )
diff --git a/source/blender/editors/space_action/SConscript b/source/blender/editors/space_action/SConscript
deleted file mode 100644
index 346324e129d..00000000000
--- a/source/blender/editors/space_action/SConscript
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-env.BlenderLib ( 'bf_editors_space_action', sources, Split(incs), defs, libtype=['core'], priority=[40] )
diff --git a/source/blender/editors/space_api/SConscript b/source/blender/editors/space_api/SConscript
deleted file mode 100644
index 2ba918ffc84..00000000000
--- a/source/blender/editors/space_api/SConscript
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '#/extern/glew/include',
- '../include',
- '../io',
- '../../blenkernel',
- '../../blenlib',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = ''
-
-env.BlenderLib ( 'bf_editors_space_api', sources, Split(incs), Split(defs), libtype=['core'], priority=[30] )
diff --git a/source/blender/editors/space_buttons/SConscript b/source/blender/editors/space_buttons/SConscript
deleted file mode 100644
index c39df449647..00000000000
--- a/source/blender/editors/space_buttons/SConscript
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-env.BlenderLib ( 'bf_editors_space_buttons', sources, Split(incs), defs, libtype=['core'], priority=[120] )
diff --git a/source/blender/editors/space_clip/SConscript b/source/blender/editors/space_clip/SConscript
deleted file mode 100644
index 37b83946e93..00000000000
--- a/source/blender/editors/space_clip/SConscript
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'bf_editors_space_clip', sources, Split(incs), defs, libtype=['core'], priority=[95] )
diff --git a/source/blender/editors/space_console/SConscript b/source/blender/editors/space_console/SConscript
deleted file mode 100644
index f189cd3920a..00000000000
--- a/source/blender/editors/space_console/SConscript
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '../include',
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../../makesdna',
- '../../makesrna',
- '../../blenkernel',
- '../../blenlib',
- '../../gpu',
- '../../windowmanager',
- '../../blenfont',
- ]
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-env.BlenderLib ( 'bf_editors_space_console', sources, incs, defs, libtype=['core'], priority=[95] )
diff --git a/source/blender/editors/space_file/SConscript b/source/blender/editors/space_file/SConscript
deleted file mode 100644
index a66a14a32de..00000000000
--- a/source/blender/editors/space_file/SConscript
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-incs = [
- '#/intern/atomic',
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blenloader',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'bf_editors_space_file', sources, Split(incs), defs, libtype=['core'], priority=[115] )
diff --git a/source/blender/editors/space_graph/SConscript b/source/blender/editors/space_graph/SConscript
deleted file mode 100644
index af17853556e..00000000000
--- a/source/blender/editors/space_graph/SConscript
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs.append(env['BF_AUDASPACE_C_INC'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_space_graph', sources, incs, defs, libtype=['core'], priority=[50])
diff --git a/source/blender/editors/space_image/SConscript b/source/blender/editors/space_image/SConscript
deleted file mode 100644
index 95d23d177e7..00000000000
--- a/source/blender/editors/space_image/SConscript
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- '../../gpu',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'bf_editors_space_image', sources, Split(incs), defs, libtype=['core'], priority=[40] )
diff --git a/source/blender/editors/space_info/SConscript b/source/blender/editors/space_info/SConscript
deleted file mode 100644
index e17c39f7e38..00000000000
--- a/source/blender/editors/space_info/SConscript
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blenloader',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_space_info', sources, Split(incs), defs, libtype=['core'], priority=[70] )
diff --git a/source/blender/editors/space_logic/SConscript b/source/blender/editors/space_logic/SConscript
deleted file mode 100644
index 4b618710d1f..00000000000
--- a/source/blender/editors/space_logic/SConscript
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../interface',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_space_game', sources, Split(incs), defs, libtype=['core'], priority=[120] )
diff --git a/source/blender/editors/space_nla/SConscript b/source/blender/editors/space_nla/SConscript
deleted file mode 100644
index 5bfa8d6c4c2..00000000000
--- a/source/blender/editors/space_nla/SConscript
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_space_nla', sources, Split(incs), defs, libtype=['core'], priority=[85] )
diff --git a/source/blender/editors/space_node/SConscript b/source/blender/editors/space_node/SConscript
deleted file mode 100644
index b559b61cf5a..00000000000
--- a/source/blender/editors/space_node/SConscript
+++ /dev/null
@@ -1,73 +0,0 @@
-
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../compositor',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../nodes',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-cf = []
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
- #cf.append('/WX')
- pass
-if env['CC'] == 'gcc':
- #cf.append('-Werror')
- pass
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_COMPOSITOR']:
- defs.append("WITH_COMPOSITOR")
-
-env.BlenderLib ( 'bf_editors_space_node', sources, Split(incs), defs, libtype=['core'], priority=[55], compileflags=cf )
diff --git a/source/blender/editors/space_outliner/SConscript b/source/blender/editors/space_outliner/SConscript
deleted file mode 100644
index dce559a21df..00000000000
--- a/source/blender/editors/space_outliner/SConscript
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs == env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_space_outliner', sources, incs, defines=defs, libtype=['core'], priority=[60] )
diff --git a/source/blender/editors/space_script/SConscript b/source/blender/editors/space_script/SConscript
deleted file mode 100644
index c03a61ec197..00000000000
--- a/source/blender/editors/space_script/SConscript
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../python',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-env.BlenderLib ( 'bf_editors_space_script', sources, incs, defs, libtype=['core'], priority=[90] )
diff --git a/source/blender/editors/space_sequencer/SConscript b/source/blender/editors/space_sequencer/SConscript
deleted file mode 100644
index 9c654d7a1e5..00000000000
--- a/source/blender/editors/space_sequencer/SConscript
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs.append(env['BF_AUDASPACE_C_INC'])
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_space_sequencer', sources, incs, defs, libtype=['core'], priority=[100])
diff --git a/source/blender/editors/space_text/SConscript b/source/blender/editors/space_text/SConscript
deleted file mode 100644
index d11671fe743..00000000000
--- a/source/blender/editors/space_text/SConscript
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../python',
- '../../windowmanager',
- ]
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib('bf_editors_space_text', sources, incs, defs, libtype=['core'], priority=[95])
diff --git a/source/blender/editors/space_time/SConscript b/source/blender/editors/space_time/SConscript
deleted file mode 100644
index 86437b9c258..00000000000
--- a/source/blender/editors/space_time/SConscript
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-env.BlenderLib('bf_editors_space_time', sources, incs, defs, libtype=['core'], priority=[65])
diff --git a/source/blender/editors/space_userpref/SConscript b/source/blender/editors/space_userpref/SConscript
deleted file mode 100644
index ce2e83f7b33..00000000000
--- a/source/blender/editors/space_userpref/SConscript
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '#/extern/glew/include',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-defs = []
-
-env.BlenderLib('bf_editors_space_userpref', sources, incs, defs, libtype=['core'], priority=[70])
diff --git a/source/blender/editors/space_view3d/SConscript b/source/blender/editors/space_view3d/SConscript
deleted file mode 100644
index 7fdccce1c0e..00000000000
--- a/source/blender/editors/space_view3d/SConscript
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/smoke/extern',
- '#/source/gameengine/BlenderRoutines',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../render/extern/include',
- '../../windowmanager',
- '../../depsgraph',
- ]
-
-if env['WITH_BF_PYTHON']:
- incs.append('../../python')
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_LEGACY_DEPSGRAPH']:
- defs.append('WITH_LEGACY_DEPSGRAPH')
-
-env.BlenderLib ( 'bf_editors_space_view3d', sources, incs, defines = defs, libtype=['core'], priority=[40] )
diff --git a/source/blender/editors/transform/SConscript b/source/blender/editors/transform/SConscript
deleted file mode 100644
index d35c2fc24ae..00000000000
--- a/source/blender/editors/transform/SConscript
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../ikplugin',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- '../../depsgraph',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_LEGACY_DEPSGRAPH']:
- defs.append('WITH_LEGACY_DEPSGRAPH')
-
-env.BlenderLib ( 'bf_editors_transform', sources, incs, defs, libtype=['core'], priority=[40] )
diff --git a/source/blender/editors/util/SConscript b/source/blender/editors/util/SConscript
deleted file mode 100644
index 7d9991e6483..00000000000
--- a/source/blender/editors/util/SConscript
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
- incs.append('../../python')
-
-env.BlenderLib ( 'bf_editors_util', sources, incs, defines=defs, libtype=['core','player'], priority=[330,210] )
diff --git a/source/blender/editors/uvedit/SConscript b/source/blender/editors/uvedit/SConscript
deleted file mode 100644
index 85ea7f45536..00000000000
--- a/source/blender/editors/uvedit/SConscript
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-sources = env.Glob('*.c')
-
-incs = [
- '#/intern/guardedalloc',
- '#/intern/eigen',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../include',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../gpu',
- '../../makesdna',
- '../../makesrna',
- '../../windowmanager',
- ]
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-env.BlenderLib ( 'bf_editors_uvedit', sources, incs, defs, libtype=['core'], priority=[45] )
diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript
deleted file mode 100644
index ac1cbefa48c..00000000000
--- a/source/blender/freestyle/SConscript
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/python
-import sys
-Import ('env')
-
-sources = []
-
-incs = [
- '#/intern/guardedalloc',
- '#/extern/glew/include',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../freestyle',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../python',
- '../python/intern',
- '../render/extern/include',
- '../render/intern/include',
- env['BF_PYTHON_INC'],
- env['BF_PNG_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = ['WITH_FREESTYLE']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-########################################################
-# folders sources
-########################################################
-
-# system
-prefix = 'intern/system'
-system_sources = env.Glob(prefix + '/*.cpp')
-
-# image
-prefix = 'intern/image'
-image_sources = env.Glob(prefix + '/*.cpp')
-
-# geometry
-prefix = 'intern/geometry'
-geometry_sources = env.Glob(prefix + '/*.cpp')
-
-# scene_graph
-prefix = 'intern/scene_graph'
-scene_graph_sources = env.Glob(prefix + '/*.cpp')
-
-# winged_edge
-prefix = 'intern/winged_edge'
-winged_edge_sources = env.Glob(prefix + '/*.cpp')
-
-# view_map
-prefix = 'intern/view_map'
-view_map_sources = env.Glob(prefix + '/*.cpp')
-
-# stroke
-prefix = 'intern/stroke'
-stroke_sources = env.Glob(prefix + '/*.cpp')
-
-# application
-prefix = 'intern/application'
-application_sources = env.Glob(prefix + '/*.cpp')
-
-# blender_interface
-prefix = 'intern/blender_interface'
-interface_sources = env.Glob(prefix + '/*.cpp')
-
-# Python
-prefix = 'intern/python'
-python_sources = env.Glob(prefix + '/*.cpp') + \
- env.Glob(prefix + '/*/*.cpp') + \
- env.Glob(prefix + '/*/*/*.cpp') + \
- env.Glob(prefix + '/*/*/*/*.cpp')
-
-sources = system_sources + image_sources + geometry_sources + scene_graph_sources + \
- winged_edge_sources + view_map_sources + stroke_sources + \
- application_sources + interface_sources
-
-if False: # gives link errors 'win' in env['OURPLATFORM']:
- env.BlenderLib(libname="bf_freestyle_python", sources=python_sources, includes=Split(incs),
- defines=defs, libtype=['core'], priority = [369] # bf_python is 361
- )
-else:
- sources += python_sources
-
-env.BlenderLib(libname="bf_freestyle", sources=sources, includes=Split(incs),
- defines=defs, libtype=['core'], priority = [370] # bf_python is 361
-)
-
diff --git a/source/blender/gpu/SConscript b/source/blender/gpu/SConscript
deleted file mode 100644
index 15898f5c203..00000000000
--- a/source/blender/gpu/SConscript
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-sources += env.Glob('shaders/*.c')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '.',
- '#/intern/glew-mx',
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/smoke/extern',
- '../blenkernel',
- '../blenlib',
- '../bmesh',
- '../imbuf',
- '../include',
- '../makesdna',
- '../makesrna',
- '../nodes',
- '../nodes/intern',
- ]
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append('WITH_OPENSUBDIV')
-
-# generated data files
-import os
-sources.extend((
- os.path.join(env['DATA_SOURCES'], "gpu_shader_geometry.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_program_smoke_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_program_smoke_color_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_basic_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_basic_vert.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_ssao_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_vert.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_hq_geo.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_dof_vert.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_depth_resolve.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_lib.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_fx_vert.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_material.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_sep_gaussian_blur_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_sep_gaussian_blur_vert.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_vertex.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_vertex_world.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_vsm_store_frag.glsl.c"),
- os.path.join(env['DATA_SOURCES'], "gpu_shader_vsm_store_vert.glsl.c"),
- ))
-
-env.BlenderLib('bf_gpu', sources, incs, defines=defs, libtype=['core', 'player'], priority=[160, 110])
diff --git a/source/blender/ikplugin/SConscript b/source/blender/ikplugin/SConscript
deleted file mode 100644
index 4a4cb4f2cbd..00000000000
--- a/source/blender/ikplugin/SConscript
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c') + env.Glob('intern/*.cpp')
-
-incs = [
- '#/extern/Eigen3',
- '#/intern/guardedalloc',
- '#/intern/itasc',
- '#/intern/iksolver/extern',
- '../blenkernel',
- '../blenlib',
- '../ikplugin',
- '../include',
- '../makesdna',
- ]
-
-defs = [
- 'WITH_IK_ITASC',
- 'WITH_IK_SOLVER',
- ]
-
-env.BlenderLib('bf_ikplugin', sources, incs, defs, libtype=['core', 'player'], priority=[180, 190])
diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript
deleted file mode 100644
index ccee3ebcc85..00000000000
--- a/source/blender/imbuf/SConscript
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import os
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- '#/intern/opencolorio',
- '#/intern/ffmpeg',
- '#/intern/guardedalloc',
- '#/intern/memutil',
- '../avi',
- '../blenkernel',
- '../blenlib',
- '../blenloader',
- '../makesdna',
- '../makesrna',
- env['BF_JPEG_INC'],
- env['BF_PNG_INC'],
- env['BF_TIFF_INC'],
- env['BF_ZLIB_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
- incs += ' ../../../intern/utfconv'
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-else:
- sources.append(os.path.join('intern', 'openexr', 'openexr_stub.cpp'))
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-else:
- sources.remove(os.path.join('intern', 'tiff.c'))
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-if env['WITH_BF_HDR']:
- defs.append('WITH_HDR')
-else:
- sources.remove(os.path.join('intern', 'radiance_hdr.c'))
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC']
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
- incs += ' ' + env['BF_OPENJPEG_INC']
-else:
- sources.remove(os.path.join('intern', 'jp2.c'))
-
-if env['WITH_BF_REDCODE']:
- defs.append('WITH_REDCODE')
- incs += ' ' + env['BF_REDCODE_INC']
-
-if env['WITH_BF_QUICKTIME']:
- incs += ' ../quicktime ' + env['BF_QUICKTIME_INC']
- defs.append('WITH_QUICKTIME')
-
-env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [185,115] )
diff --git a/source/blender/imbuf/intern/cineon/SConscript b/source/blender/imbuf/intern/cineon/SConscript
deleted file mode 100644
index 037a7fec1bc..00000000000
--- a/source/blender/imbuf/intern/cineon/SConscript
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-source_files = env.Glob('*.c')
-
-incs = ['.',
- '../../../blenkernel',
- '../../',
- '..',
- '../../../blenlib',
- 'intern/include',
- '#/intern/guardedalloc',
- '../../../makesdna']
-
-defs = []
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-env.BlenderLib ('bf_imbuf_cineon', source_files, incs, defs, libtype=['core','player'], priority = [220,175])
diff --git a/source/blender/imbuf/intern/dds/SConscript b/source/blender/imbuf/intern/dds/SConscript
deleted file mode 100644
index 960e15f8e55..00000000000
--- a/source/blender/imbuf/intern/dds/SConscript
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-source_files = ['dds_api.cpp', 'DirectDrawSurface.cpp', 'Stream.cpp', 'BlockDXT.cpp', 'ColorBlock.cpp', 'Image.cpp', 'FlipDXT.cpp']
-
-incs = [
- '.',
- '..',
- '../..',
- '../../../makesdna',
- '../../../blenkernel',
- '../../../blenlib',
- 'intern/include',
- '#/intern/guardedalloc',
- '#/intern/utfconv'
- ]
-
-
-defs = ['WITH_DDS']
-
-env.BlenderLib ('bf_imbuf_dds', source_files, incs, defs, libtype=['core','player'], priority = [230,190])
diff --git a/source/blender/imbuf/intern/oiio/SConscript b/source/blender/imbuf/intern/oiio/SConscript
deleted file mode 100644
index 82b47e9c46b..00000000000
--- a/source/blender/imbuf/intern/oiio/SConscript
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2013, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s):
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-source_files = ['openimageio_api.cpp']
-
-incs = ['.',
- '../../../blenkernel',
- '../../',
- '..',
- '../../../blenlib',
- 'intern/include',
- '#/intern/guardedalloc',
- '../../../makesdna',
- '#/intern/utfconv']
-
-incs += Split(env['BF_OIIO_INC'])
-
-defs = ['WITH_OPENIMAGEIO']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
- incs.append(env['BF_PTHREADS_INC'])
-
-env.BlenderLib ('bf_imbuf_openimageio', source_files, incs, defs, libtype=['core','player'], priority = [225,180])
diff --git a/source/blender/imbuf/intern/openexr/SConscript b/source/blender/imbuf/intern/openexr/SConscript
deleted file mode 100644
index ac38c0458d9..00000000000
--- a/source/blender/imbuf/intern/openexr/SConscript
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-source_files = ['openexr_api.cpp']
-
-incs = ['.',
- '../../../blenkernel',
- '../../',
- '..',
- '../../../blenlib',
- 'intern/include',
- '#/intern/guardedalloc',
- '../../../makesdna',
- '#/intern/utfconv']
-
-incs += Split(env['BF_OPENEXR_INC'])
-
-defs = ['WITH_OPENEXR']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
- incs.append(env['BF_PTHREADS_INC'])
-
-env.BlenderLib ('bf_imbuf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [225,180])
diff --git a/source/blender/imbuf/readme.txt b/source/blender/imbuf/readme.txt
index 181d5485310..d50cb8c781d 100644
--- a/source/blender/imbuf/readme.txt
+++ b/source/blender/imbuf/readme.txt
@@ -38,10 +38,8 @@ and add your extension so that your format gets recognized in the thumbnails.
Step 6:
Alter the build process:
-For scons you need to edit blender/source/blender/imbuf/SConscript
+For cmake you need to edit blender/source/blender/imbuf/CMakeLists.txt
and add in your additional files to source_files.
-For msvp you need to edit blender/projectfiles/blender/imbuf/BL_imbuf.dsp
-and add in your additional files.
If you have any external library info you will also need to add that
to the various build processes.
diff --git a/source/blender/makesdna/SConscript b/source/blender/makesdna/SConscript
deleted file mode 100644
index f276070f3dc..00000000000
--- a/source/blender/makesdna/SConscript
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-objs = []
-defs = []
-
-o = SConscript('intern/SConscript')
-objs += o
-
-incs = [
- '.',
- '#/intern/guardedalloc',
- '../blenlib',
- ]
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-env.BlenderLib('bf_dna', objs, incs, defs, libtype=['core', 'player'], priority = [215, 200])
diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript
deleted file mode 100644
index 50c26eb6732..00000000000
--- a/source/blender/makesdna/intern/SConscript
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-import os
-
-def normpath(path):
- return os.path.abspath(os.path.normpath(path))
-
-Import ('env')
-cflags = ''
-defines = []
-root_build_dir=normpath(env['BF_BUILDDIR'])
-
-source_files = ['makesdna.c']
-header_files = env.Glob('../*.h')
-
-makesdna_tool = env.Clone()
-dna = env.Clone()
-makesdna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesdna/\\"" ')
-
-makesdna_tool.Append (CPPPATH = ['#/intern/guardedalloc',
- '#/intern/atomic',
- '../../makesdna', '../../bmesh',
- '../../blenlib'])
-
-if env['OURPLATFORM'] == 'linuxcross':
- USE_WINE = True # when cross compiling on linux 64bit this is useful
-else:
- USE_WINE = False
-
-if not USE_WINE:
- if env['OURPLATFORM'] == 'linuxcross':
- makesdna_tool.Replace(CC='gcc')
- makesdna_tool.Replace(AR='ar')
- makesdna_tool.Replace(LINK='gcc')
-
-if sys.platform != 'cygwin':
- makesdna_tool.Append (CCFLAGS = cflags)
-makesdna_tool.Append (CPPDEFINES = defines)
-makesdna_tool.Append( CFLAGS = env['CFLAGS'])
-makesdna_tool.Append( CCFLAGS = env['CCFLAGS'])
-makesdna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS'])
-targetdir = normpath(root_build_dir+'/lib')
-
-if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
- targetdir = '#'+targetdir
-makesdna_tool.Append (LIBPATH = targetdir)
-if env['BF_PROFILE']:
- makesdna_tool.Append (LINKFLAGS = env['BF_PROFILE_LINKFLAGS'])
-
-targetdir = normpath(root_build_dir + '/makesdna')
-
-if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
- targetdir = '#' + targetdir
-
-makesdna = makesdna_tool.Program (target = targetdir, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_blenlib'])
-
-dna_dict = dna.Dictionary()
-dna.Depends ('dna.c', makesdna)
-dna.Depends ('dna.c', header_files)
-
-if env['OURPLATFORM'] != 'linuxcross':
- dna.Command ('dna.c', '', "\"" + root_build_dir+os.sep+"makesdna\" $TARGET")
-else:
- dna.Command ('dna.c', '', ('', 'wine ')[USE_WINE] + root_build_dir+os.sep+"makesdna $TARGET")
-
-# TODO, get WITH_DNA_GHASH working, see CMake's 'WITH_DNA_GHASH'
-obj = ['intern/dna.c', 'intern/dna_genfile.c']
-Return ('obj')
diff --git a/source/blender/makesrna/SConscript b/source/blender/makesrna/SConscript
deleted file mode 100644
index 1ed4982cf94..00000000000
--- a/source/blender/makesrna/SConscript
+++ /dev/null
@@ -1,165 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-objs = []
-
-o = SConscript('intern/SConscript')
-objs += o
-
-incs = [
- '.',
- './intern',
- '#/intern/guardedalloc',
- '#/intern/atomic',
- '#/intern/memutil',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/cycles/blender',
- '#/intern/smoke/extern',
- '../blenfont',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../bmesh',
- '../depsgraph',
- '../editors/include',
- '../gpu',
- '../ikplugin',
- '../imbuf',
- '../makesdna',
- '../nodes',
- '../physics',
- '../render/extern/include',
- '../windowmanager',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
- incs += ' #/intern/rigidbody'
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-if env['WITH_BF_HDR']:
- defs.append('WITH_HDR')
-
-if env['WITH_BF_FRAMESERVER']:
- defs.append('WITH_FRAMESERVER')
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC'] + ' #/intern/ffmpeg'
-
-if env['WITH_BF_QUICKTIME']:
- defs.append('WITH_QUICKTIME')
- incs += ' ../quicktime'
- # Quicktime needs audaspace defines
- if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['BF_UNIT_TEST']:
- defs.append('UNIT_TEST')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
- incs += ' ../python'
-
-if env['WITH_BF_COLLADA']:
- defs.append('WITH_COLLADA')
-
-if env['WITH_BF_OCEANSIM']:
- defs.append('WITH_OCEANSIM')
-
-if env['WITH_BF_CYCLES']:
- defs.append('WITH_CYCLES')
-
- if env['WITH_BF_CYCLES_DEBUG']:
- defs.append('WITH_CYCLES_DEBUG')
-
-if env['WITH_BF_SDL']:
- if env['WITH_BF_SDL_DYNLOAD']:
- defs.append('WITH_SDL_DYNLOAD')
- incs += ' #extern/sdlew/include'
- defs.append('WITH_SDL')
-
-if env['WITH_BF_OPENAL']:
- defs.append('WITH_OPENAL')
-
-if env['WITH_BF_JACK']:
- defs.append('WITH_JACK')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
- incs += ' ../freestyle'
-
-if env['WITH_BF_OPENSUBDIV']:
- incs += ' #/intern/opensubdiv'
- defs.append('WITH_OPENSUBDIV')
-
-if env['WITH_BF_AUDASPACE']:
- defs.append('WITH_AUDASPACE')
-
-if env['OURPLATFORM'] == 'linux':
- cflags='-pthread'
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-rnalib = env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )
-
-Return ('rnalib')
diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript
deleted file mode 100644
index 8307e4cec6f..00000000000
--- a/source/blender/makesrna/intern/SConscript
+++ /dev/null
@@ -1,247 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-import os
-
-def normpath(path):
- return os.path.abspath(os.path.normpath(path))
-
-Import ('env')
-cflags = [] #['-Wall']
-defines = []
-root_build_dir=normpath(env['BF_BUILDDIR'])
-
-source_files = env.Glob('*.c')
-source_files.remove('rna_access.c')
-
-generated_files = source_files[:]
-generated_files.remove('rna_define.c')
-generated_files.remove('makesrna.c')
-
-api_files = env.Glob('*_api.c')
-for api_file in api_files:
- generated_files.remove(api_file)
-
-generated_files = [filename[:-2] + '_gen.c' for filename in generated_files]
-
-makesrna_tool = env.Clone()
-rna = env.Clone()
-makesrna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesrna/\\"" ')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/cycles/blender',
- '#/intern/smoke/extern',
- '../../blenfont',
- '../../blenkernel',
- '../../blenlib',
- '../../blentranslation',
- '../../bmesh',
- '../../depsgraph',
- '../../editors/include',
- '../../gpu',
- '../../ikplugin',
- '../../imbuf',
- '../../makesdna',
- '../../makesrna',
- '../../physics',
- '../../render/extern/include',
- '../../windowmanager',
- ]
-incs = ' '.join(incs)
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
- incs += ' #/intern/rigidbody'
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-if env['WITH_BF_HDR']:
- defs.append('WITH_HDR')
-
-if env['WITH_BF_FRAMESERVER']:
- defs.append('WITH_FRAMESERVER')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC'] + ' #/intern/ffmpeg'
-
-if env['WITH_BF_QUICKTIME']:
- defs.append('WITH_QUICKTIME')
- incs += ' ../../quicktime'
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_FFTW3']:
- defs.append('WITH_FFTW3')
-
-if env['WITH_BF_SDL']:
- if env['WITH_BF_SDL_DYNLOAD']:
- defs.append('WITH_SDL_DYNLOAD')
- incs += ' #extern/sdlew/include'
- defs.append('WITH_SDL')
-
-if env['WITH_BF_OPENAL']:
- defs.append('WITH_OPENAL')
-
-if env['WITH_BF_JACK']:
- defs.append('WITH_JACK')
-
-if env['BF_UNIT_TEST']:
- defs.append('UNIT_TEST')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_COLLADA']:
- defs.append('WITH_COLLADA')
-
-if env['WITH_BF_CYCLES']:
- defs.append('WITH_CYCLES')
- if env['WITH_BF_CYCLES_DEBUG']:
- defs.append('WITH_CYCLES_DEBUG')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
- incs += ' ../../freestyle'
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append('WITH_OPENSUBDIV')
- incs += ' #intern/opensubdiv'
-
-if env['WITH_BF_AUDASPACE']:
- defs.append('WITH_AUDASPACE')
-
-if env['OURPLATFORM'] == 'linux':
- cflags='-pthread'
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if not env['BF_DEBUG']:
- defs.append('NDEBUG')
-
-makesrna_tool.Append(CPPDEFINES=defs)
-
-makesrna_tool.Append (CPPPATH = Split(incs))
-
-if env['OURPLATFORM'] == 'linuxcross':
- USE_WINE = True # when cross compiling on linux 64bit this is useful
-else:
- USE_WINE = False
-
-if not USE_WINE:
- if env['OURPLATFORM'] == 'linuxcross':
- makesdna_tool.Replace(CC='gcc')
- makesdna_tool.Replace(AR='ar')
- makesdna_tool.Replace(LINK='gcc')
-
-if sys.platform != 'cygwin':
- makesrna_tool.Append (CCFLAGS = cflags)
-makesrna_tool.Append (CPPDEFINES = defines)
-
-libdir = root_build_dir+'/lib'
-if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
- libdir = '#' + libdir
-
-makesrna_tool.Append (LIBPATH = libdir)
-
-makesrna_tool.Append( CFLAGS = env['CFLAGS'])
-makesrna_tool.Append( CCFLAGS = env['CCFLAGS'])
-makesrna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS'])
-
-if env['BF_PROFILE']:
- makesrna_tool.Append (LINKFLAGS = env['BF_PROFILE_FLAGS'])
-
-if env['BF_DEBUG']:
- makesrna_tool.Append(CFLAGS = env['BF_DEBUG_CFLAGS'])
- makesrna_tool.Append(CCFLAGS = env['BF_DEBUG_CCFLAGS'])
- if env['OURPLATFORM'] in ('win32-vc','win64-vc'):
- makesrna_tool.Append(LINKFLAGS = ['/DEBUG','/PDB:makesrna.pdb'])
-
-targetpath = root_build_dir+'/makesrna'
-if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
- targetpath = '#' + targetpath
-
-if env['OURPLATFORM'] == 'linux' and root_build_dir[0]==os.sep:
- makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib'])
-else:
- makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib'])
-
-rna_dict = rna.Dictionary()
-rna.Depends (generated_files, makesrna)
-
-build_dir = Dir(".").abspath + os.sep
-
-if env['OURPLATFORM'] != 'linuxcross':
- if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'):
- rna.Command (generated_files, '', "\"" + root_build_dir+os.sep+"makesrna.exe\" \"" + build_dir )
- else:
- rna.Command (generated_files, '', "\"" + root_build_dir+os.sep+"makesrna\" \"" + build_dir + '"' )
-else:
- rna.Command (generated_files, '', ('', 'wine ')[USE_WINE] + root_build_dir+os.sep+"makesrna.exe " + build_dir)
-
-
-obj = ['intern/rna_access.c']
-for generated_file in generated_files:
- obj += ['intern/' + generated_file]
-
-Return ('obj')
-
diff --git a/source/blender/modifiers/SConscript b/source/blender/modifiers/SConscript
deleted file mode 100644
index 30007118562..00000000000
--- a/source/blender/modifiers/SConscript
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import('env')
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- './intern',
- '#/intern/guardedalloc',
- '#/intern/eigen',
- '#/intern/elbeem/extern',
- '../render/extern/include',
- '../bmesh',
- '../include',
- '../blenlib',
- '../blenfont',
- '../depsgraph',
- '../makesdna',
- '../makesrna',
- '../blenkernel',
- '../gpu',
- env['BF_ZLIB_INC'],
- ]
-
-defs = []
-
-if env['WITH_BF_BOOLEAN']:
- incs.append('#/extern/carve')
- defs.append('WITH_MOD_BOOLEAN')
-else:
- from os import path
- sources.remove(path.join('intern', 'MOD_boolean_util.c'))
-
-if env['WITH_BF_REMESH']:
- incs.append('#/intern/dualcon')
- defs.append('WITH_MOD_REMESH')
-
-if env['WITH_BF_FLUID']:
- defs.append('WITH_MOD_FLUID')
-
-if env['WITH_BF_OCEANSIM']:
- defs.append('WITH_OCEANSIM')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-if env['WITH_BF_GAMEENGINE']:
- incs.append('#/extern/recastnavigation')
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append('WITH_OPENSUBDIV')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs.append(env['BF_PTHREADS_INC'])
-
-env.BlenderLib(libname='bf_modifiers', sources=sources,
- includes=incs, defines=defs,
- libtype=['core', 'player'], priority=[80, 40])
diff --git a/source/blender/nodes/SConscript b/source/blender/nodes/SConscript
deleted file mode 100644
index ad500725812..00000000000
--- a/source/blender/nodes/SConscript
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.c')
-cmpsources = env.Glob('composite/*.c') + env.Glob('composite/nodes/*.c')
-shdsources = env.Glob('shader/*.c') + env.Glob('shader/nodes/*.c')
-texsources = env.Glob('texture/*.c') + env.Glob('texture/nodes/*.c')
-
-incs = [
- '.',
- './composite',
- './intern',
- './shader',
- './texture',
- '#/intern/guardedalloc',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../gpu',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../render/extern/include',
- env['BF_ZLIB_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- incs += ' ../python'
- defs.append('WITH_PYTHON')
- if env['BF_DEBUG']:
- defs.append('_DEBUG')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['WITH_BF_COMPOSITOR']:
- incs += ' ../compositor '
- defs.append("WITH_COMPOSITOR")
-
-if env['WITH_BF_FREESTYLE']:
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']:
- defs.append('WITH_CYCLES_DEBUG')
-
-env.BlenderLib ( libname = 'bf_nodes', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [190,105] )
-env.BlenderLib ( libname = 'bf_cmpnodes', sources = cmpsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] )
-env.BlenderLib ( libname = 'bf_shdnodes', sources = shdsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] )
-env.BlenderLib ( libname = 'bf_texnodes', sources = texsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] )
diff --git a/source/blender/physics/SConscript b/source/blender/physics/SConscript
deleted file mode 100644
index c8165886cab..00000000000
--- a/source/blender/physics/SConscript
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2011, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Jeroen Bakker, Monique Dewanchand, Blender Developers Fund.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-defs = []
-
-sources = env.Glob('intern/*.cpp') + env.Glob('intern/*.c')
-
-incs = [
- '.',
- 'intern',
- '../blenlib',
- '../blenkernel',
- '../imbuf',
- '../makesdna',
- '../../../intern/guardedalloc',
- '../../../extern/Eigen3',
- ]
-
-env.BlenderLib('bf_physics', sources, incs, defines=defs, libtype=['core', 'player'], priority=[180, 190])
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
deleted file mode 100644
index 79c53760302..00000000000
--- a/source/blender/python/SConscript
+++ /dev/null
@@ -1,210 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-# TODO, split into 3 files.
-
-Import ('env')
-
-incs = [
- '.',
- '#/intern/guardedalloc',
- '#/intern/memutil',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#/intern/cycles/blender',
- '../blentranslation',
- '../blenfont',
- '../blenkernel',
- '../blenlib',
- '../blenloader',
- '../bmesh',
- '../editors/include',
- '../gpu',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../nodes',
- '../render/extern/include',
- '../windowmanager',
- env['BF_PYTHON_INC'],
- ]
-incs = ' '.join(incs)
-
-is_debug = (env['OURPLATFORM'] in ('win32-mingw', 'win32-vc','win64-vc', 'win64-mingw') and env['BF_DEBUG'])
-
-# bmesh
-defs = []
-
-sources = env.Glob('bmesh/*.c')
-env.BlenderLib( libname = 'bf_python_bmesh', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165])
-
-# generic
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if is_debug:
- defs.append('_DEBUG')
-
-sources = env.Glob('generic/*.c')
-env.BlenderLib( libname = 'bf_python_ext', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [363,165]) # ketsji is 360
-
-
-# mathutils
-defs = []
-
-sources = env.Glob('mathutils/*.c')
-env.BlenderLib( libname = 'bf_python_mathutils', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165])
-
-
-# bpy
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if is_debug:
- defs.append('_DEBUG')
-
-if env['WITH_BF_PYTHON_SAFETY']:
- defs.append('WITH_PYTHON_SAFETY')
-
-if env['BF_BUILDINFO']:
- defs.append('BUILD_DATE')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-# AVI is always on currently
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC']
-
-if env['WITH_BF_QUICKTIME']:
- defs.append('WITH_QUICKTIME')
-
-if env['WITH_BF_SNDFILE']:
- defs.append('WITH_SNDFILE')
-
-if env['WITH_BF_COMPOSITOR']:
- defs.append('WITH_COMPOSITOR')
-
-if env['WITH_BF_CYCLES']:
- defs.append('WITH_CYCLES')
-
-if env['WITH_BF_CYCLES_OSL']:
- defs.append('WITH_CYCLES_OSL')
-
-if env['WITH_BF_FREESTYLE']:
- incs += ' ../freestyle/intern/python'
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_CINEON']:
- defs.append('WITH_CINEON')
-
-if env['WITH_BF_DDS']:
- defs.append('WITH_DDS')
-
-if env['WITH_BF_FRAMESERVER']:
- defs.append('WITH_FRAMESERVER')
-
-if env['WITH_BF_HDR']:
- defs.append('WITH_HDR')
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_OPENJPEG']:
- defs.append('WITH_OPENJPEG')
-
-if env['WITH_BF_REDCODE']:
- defs.append('WITH_REDCODE')
-
-if env['WITH_BF_TIFF']:
- defs.append('WITH_TIFF')
-
-# NDof is always on currently
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_OPENAL']:
- defs.append('WITH_OPENAL')
-
-if env['WITH_BF_SDL']:
- defs.append('WITH_SDL')
- incs += ' ' + env['BF_SDL_INC']
-
- if env['WITH_BF_SDL_DYNLOAD']:
- defs.append('WITH_SDL_DYNLOAD')
- incs += ' #extern/sdlew/include'
-
-if env['WITH_BF_JACK']:
- defs.append('WITH_JACK')
-
-if env['WITH_BF_LIBMV']:
- defs.append('WITH_LIBMV')
-
-if env['WITH_BF_BOOLEAN']:
- defs.append('WITH_MOD_BOOLEAN')
-
-if env['WITH_BF_FLUID']:
- defs.append('WITH_MOD_FLUID')
-
-if env['WITH_BF_OCEANSIM']:
- defs.append('WITH_OCEANSIM')
-
-if env['WITH_BF_REMESH']:
- defs.append('WITH_MOD_REMESH')
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_COLLADA']:
- defs.append('WITH_COLLADA')
-
-if env['WITH_BF_OCIO']:
- defs.append('WITH_OCIO')
- incs += ' ' + '#/intern/opencolorio'
-
-if env['WITH_BF_OIIO']:
- defs.append('WITH_OPENIMAGEIO')
- incs += ' ../imbuf/intern/oiio'
-
-if env['WITH_BF_PLAYER']:
- defs.append('WITH_PLAYER')
-
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-mingw', 'linuxcross', 'win64-vc'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-sources = env.Glob('intern/*.c')
-env.BlenderLib( libname = 'bf_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core'], priority = [361])
diff --git a/source/blender/quicktime/SConscript b/source/blender/quicktime/SConscript
deleted file mode 100644
index 746662ebf3e..00000000000
--- a/source/blender/quicktime/SConscript
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-
-source_files = ['apple/qtkit_import.m',
- 'apple/qtkit_export.m']
-
-
-incs = ['.',
- '../quicktime',
- '../makesdna',
- '../makesrna',
- '../windowmanager',
- '#/intern/guardedalloc',
- '../blenlib',
- '../blenkernel',
- '../avi',
- '../imbuf',
- '../imbuf/intern',
- '../render/extern/include',
- '../editors/include']
-
-incs.append(env['BF_QUICKTIME_INC'])
-
-types = ['core','player']
-priorities = [200,235]
-
-defs=['WITH_QUICKTIME']
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs.append(env['BF_AUDASPACE_C_INC'])
-
-if env['C_COMPILER_ID'] == 'gcc' and env['CCVERSION'] >= '4.6': # always use default-Apple-gcc for objC language, gnu-compilers do not support it fully yet
- env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities, cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++')
-else:
- env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities)
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript
deleted file mode 100644
index 16d9b4a832d..00000000000
--- a/source/blender/render/SConscript
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/source/*.c')
-raysources = env.Glob('intern/raytrace/*.cpp')
-
-incs = [
- 'extern/include',
- 'intern/include',
- '#/intern/guardedalloc',
- '../blenkernel',
- '../blenlib',
- '../blentranslation',
- '../imbuf',
- '../depsgraph',
- '../makesdna',
- '../makesrna',
- '../physics',
- '../../../intern/mikktspace',
- '../../../intern/smoke/extern',
- ]
-incs = ' '.join(incs)
-
-cflags_raytrace = env['CCFLAGS']
-cxxflags_raytrace = env['CXXFLAGS']
-
-defs = []
-defs_raytrace = []
-
-if env['WITH_BF_SMOKE']:
- defs.append('WITH_SMOKE')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ../python'
- defs.append('WITH_PYTHON')
- if env['BF_DEBUG']:
- defs.append('DEBUG')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
- if env['WITH_BF_RAYOPTIMIZATION']:
- cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
- cxxflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
-
-if env['OURPLATFORM'] in ('win32-mingw', 'win64-mingw'):
- if env['WITH_BF_RAYOPTIMIZATION']:
- cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
- cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
-
-if env['OURPLATFORM'] == 'darwin':
- if env['MACOSX_ARCHITECTURE'] in ('i386', 'x86_64') and env['WITH_BF_RAYOPTIMIZATION']:
- cflags_raytrace = env['CFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
- cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
-
-if env['OURPLATFORM'] == 'linux':
- if env['WITH_BF_RAYOPTIMIZATION']:
- cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
- cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
-
-if env['OURPLATFORM'] == 'linuxcross':
- if env['WITH_BF_RAYOPTIMIZATION']:
- cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
- cxxflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS']
-
-if env['WITH_BF_QUICKTIME']:
- defs.append('WITH_QUICKTIME')
- incs += ' ../quicktime ' + env['BF_QUICKTIME_INC']
-
-if env['WITH_BF_OPENEXR']:
- defs.append('WITH_OPENEXR')
-
-if env['WITH_BF_FREESTYLE']:
- incs += ' ../freestyle'
- defs.append('WITH_FREESTYLE')
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_CYCLES'] and env['WITH_BF_CYCLES_DEBUG']:
- defs.append('WITH_CYCLES_DEBUG')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-#
-# HACK: To fix problem with error 'MMX instruction set not enabled' from mmintrin.h
-#
-if env['OURPLATFORM'] == 'linuxcross':
- defs.append('__SSE__')
- defs_raytrace.append('__MMX__')
-
-if env['WITH_BF_RAYOPTIMIZATION']:
- defs.append('__SSE__')
- defs_raytrace.append('__SSE__')
-
-env.BlenderLib ( libname = 'bf_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=145 )
-env.BlenderLib ( libname = 'bf_render_raytrace', sources = raysources, includes = Split(incs), defines=defs_raytrace, libtype='core', priority=145, compileflags=cflags_raytrace, cxx_compileflags=cxxflags_raytrace )
diff --git a/source/blender/windowmanager/SConscript b/source/blender/windowmanager/SConscript
deleted file mode 100644
index 1a058ca3136..00000000000
--- a/source/blender/windowmanager/SConscript
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-import os
-
-sources = env.Glob('intern/*.c')
-
-incs = [
- '.',
- '#/intern/ghost',
- '#/intern/guardedalloc',
- '#/intern/memutil',
- '#/source/gameengine/BlenderRoutines',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '../blenfont',
- '../blenkernel',
- '../blenlib',
- '../blenloader',
- '../blentranslation',
- '../compositor',
- '../editors/include',
- '../gpu',
- '../imbuf',
- '../makesdna',
- '../makesrna',
- '../nodes',
- '../python',
- '../render/extern/include',
- env['BF_ZLIB_INC'],
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_COLLADA']:
- defs.append('WITH_COLLADA')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-if env['BF_BUILDINFO']:
- defs.append('WITH_BUILDINFO')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'win64-mingw'):
- if env['WITH_BF_IME']:
- defs.append('WITH_INPUT_IME')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_COMPOSITOR']:
- defs.append("WITH_COMPOSITOR")
-
-if env['WITH_BF_PYTHON_SECURITY']:
- defs.append("WITH_PYTHON_SECURITY")
-
-if env['OURPLATFORM'] in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'aix4', 'aix5'):
- defs.append("WITH_X11")
-
-if env['WITH_BF_OPENSUBDIV']:
- defs.append("WITH_OPENSUBDIV")
-
-env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defines=defs, libtype=['core'], priority=[5] )
diff --git a/source/blenderplayer/bad_level_call_stubs/SConscript b/source/blenderplayer/bad_level_call_stubs/SConscript
deleted file mode 100644
index a331b6d1e6e..00000000000
--- a/source/blenderplayer/bad_level_call_stubs/SConscript
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = ['stubs.c']
-
-incs = [
- '..',
- '#/intern/guardedalloc',
- '#/source/blender/makesdna',
- '#/source/blender/makesrna',
- '#/source/blender/blenlib',
- ]
-
-defs = []
-
-if env['WITH_BF_GAMEENGINE']:
- defs.append('WITH_GAMEENGINE')
-
-if env['WITH_BF_FREESTYLE']:
- defs.append(' WITH_FREESTYLE')
-
-env.BlenderLib('blenkernel_blc', sources=sources, includes=incs, defines=defs, libtype=['player'], priority=[220])
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index d084aeac9bd..9bbf4d97092 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -524,7 +524,6 @@ if(UNIX AND NOT APPLE)
unset(_pypath_real)
# Copy the systems python into the install directory
- # Scons copy in tools/Blender.py
# install(CODE "message(\"copying a subset of the systems python...\")")
install(
DIRECTORY ${PYTHON_LIBPATH}/python${PYTHON_VERSION}
diff --git a/source/gameengine/BlenderRoutines/SConscript b/source/gameengine/BlenderRoutines/SConscript
deleted file mode 100644
index ea14092943a..00000000000
--- a/source/gameengine/BlenderRoutines/SConscript
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '.',
- '#intern/container',
- '#intern/guardedalloc',
- '#intern/string',
- '#source/blender',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#intern/ghost/include',
- '#intern/moto/include',
- '#source/blender/blenfont',
- '#source/blender/blenkernel',
- '#source/blender/blenlib',
- '#source/blender/blenloader',
- '#source/blender/gpu',
- '#source/blender/imbuf',
- '#source/blender/makesdna',
- '#source/blender/makesrna',
- '#source/blender/misc',
- '#source/blender/windowmanager',
- '#source/gameengine/Converter',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Network',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '#source/blender/editors/include',
- '#source/gameengine/Network/LoopBackNetwork',
- '#source/gameengine/Physics/Bullet',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- ]
-incs = ' '.join(incs)
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-incs += ' ' + env['BF_BULLET_INC']
-incs += ' ' + env['BF_OPENGL_INC']
-incs += ' ' + env['BF_BOOST_INC']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'ge_blen_routines', sources, Split(incs), defs, libtype=['core','player'], priority=[300,35] , cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Converter/SConscript b/source/gameengine/Converter/SConscript
deleted file mode 100644
index 6336fcd3906..00000000000
--- a/source/gameengine/Converter/SConscript
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-defs = []
-
-incs = [
- '.',
- '#extern/Eigen3',
- '#intern/container',
- '#intern/guardedalloc',
- '#intern/string',
- '#source/blender',
- '#intern/moto/include',
- '#source/blender/blenkernel',
- '#source/blender/blenlib',
- '#source/blender/blenloader',
- '#source/blender/gpu',
- '#source/blender/ikplugin',
- '#source/blender/imbuf',
- '#source/blender/makesdna',
- '#source/blender/makesrna',
- '#source/blender/misc',
- '#source/blender/windowmanager',
- '#source/gameengine/BlenderRoutines',
- '#source/gameengine/Converter',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Network',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '#extern/recastnavigation/Detour/Include',
- '#source/blender/editors/include',
- '#source/gameengine/Ketsji/KXNetwork',
- '#source/gameengine/Network/LoopBackNetwork',
- '#source/gameengine/Physics/Bullet',
- '#source/gameengine/Physics/Dummy',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- ]
-incs = ' '.join(incs)
-
-incs += ' ' + env['BF_BULLET_INC']
-incs += ' ' + env['BF_BOOST_INC']
-
-if env['BF_DEBUG']:
- if env['OURPLATFORM'] in ('win32-mingw', 'win32-vc', 'win64-vc', 'win64-mingw'):
- defs.append('_DEBUG')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'ge_converter', sources, Split(incs), defs, libtype=['core','player'], priority=[305,40], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Expressions/SConscript b/source/gameengine/Expressions/SConscript
deleted file mode 100644
index b66d36c2080..00000000000
--- a/source/gameengine/Expressions/SConscript
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('intern/*.cpp')
-
-incs = [
- '.',
- '#intern/guardedalloc',
- '#intern/string',
- '#intern/moto/include',
- '#source/gameengine/SceneGraph',
- '#source/blender/blenlib',
- ]
-
-defs = []
-
-if env['WITH_BF_PYTHON']:
- incs.extend(Split(env['BF_PYTHON_INC']))
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-env.BlenderLib('ge_logic_expressions', sources, incs, defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript
deleted file mode 100644
index 0ecd08d3495..00000000000
--- a/source/gameengine/GameLogic/SConscript
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp') + env.Glob('Joystick/*.cpp')
-
-incs = [
- '.',
- '#intern/container',
- '#intern/ghost',
- '#/intern/string',
- '#/intern/moto/include',
- '#/source/blender/blenlib',
- '#/source/gameengine/Expressions',
- '#/source/gameengine/Rasterizer',
- '#/source/gameengine/SceneGraph',
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['WITH_BF_SDL']:
- defs.append('WITH_SDL')
- incs += ' ' + env['BF_SDL_INC']
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
- if env['BF_DEBUG']:
- defs.append('_DEBUG')
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
- incs += ' #/intern/guardedalloc'
-
-env.BlenderLib ( 'ge_logic', sources, Split(incs), defs, libtype=['core','player'], priority=[330,65], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/GamePlayer/SConscript b/source/gameengine/GamePlayer/SConscript
deleted file mode 100644
index d1930aca26d..00000000000
--- a/source/gameengine/GamePlayer/SConscript
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-SConscript(['common/SConscript',
- 'ghost/SConscript'])
diff --git a/source/gameengine/GamePlayer/common/SConscript b/source/gameengine/GamePlayer/common/SConscript
deleted file mode 100644
index dc105491c98..00000000000
--- a/source/gameengine/GamePlayer/common/SConscript
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-Import ('env')
-
-
-source_files = [
- 'GPC_Canvas.cpp',
- 'GPC_KeyboardDevice.cpp',
- 'GPC_MouseDevice.cpp',
- ]
-
-incs = [
- '.',
- '#intern/string',
- '#intern/ghost',
- '#intern/guardedalloc',
- '#intern/moto/include',
- '#intern/container',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- '#source/gameengine/Converter',
- '#source/gameengine/BlenderRoutines',
- '#source/blender/imbuf',
- '#source/gameengine/Ketsji',
- '#source/blender/blenlib',
- '#source/blender/blenfont',
- '#source/blender/blenkernel',
- '#source/blender',
- '#source/blender/include',
- '#source/blender/makesdna',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Expressions',
- '#source/gameengine/Network',
- '#source/gameengine/SceneGraph',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Network/LoopBackNetwork',
- '#source/gameengine/GamePlayer/ghost',
- '#source/blender/misc',
- '#source/blender/blenloader',
- '#source/blender/gpu',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- incs.extend(Split(env['BF_PYTHON_INC']))
- defs.append('WITH_PYTHON')
-
-incs.extend(Split(env['BF_PNG_INC']))
-incs.extend(Split(env['BF_ZLIB_INC']))
-
-env.BlenderLib (libname='ge_player_common', sources=source_files, includes=incs, defines = defs, libtype=['player'], priority=[5], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/GamePlayer/ghost/SConscript b/source/gameengine/GamePlayer/ghost/SConscript
deleted file mode 100644
index be9f50f40fb..00000000000
--- a/source/gameengine/GamePlayer/ghost/SConscript
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-Import ('env')
-
-source_files = [
- 'GPG_Application.cpp',
- 'GPG_Canvas.cpp',
- 'GPG_ghost.cpp',
- 'GPG_KeyboardDevice.cpp',
- 'GPG_System.cpp',
- ]
-
-incs = [
- '.',
- '#intern/string',
- '#intern/ghost',
- '#intern/guardedalloc',
- '#intern/memutil',
- '#intern/moto/include',
- '#intern/container',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- '#source/gameengine/BlenderRoutines',
- '#source/gameengine/Converter',
- '#source/blender/imbuf',
- '#source/gameengine/Ketsji',
- '#source/blender/blenfont',
- '#source/blender/blenlib',
- '#source/blender/blenkernel',
- '#source/blender/blentranslation',
- '#source/blender',
- '#source/blender/include',
- '#source/blender/makesdna',
- '#source/blender/makesrna',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Expressions',
- '#source/gameengine/Network',
- '#source/gameengine/SceneGraph',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Network/LoopBackNetwork',
- '#source/gameengine/GamePlayer/common',
- '#source/blender/misc',
- '#source/blender/blenloader',
- '#source/blender/gpu',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- ]
-
-incs.append(env['BF_PTHREADS_INC'])
-incs.append(env['BF_BOOST_INC'])
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- incs += Split(env['BF_PYTHON_INC'])
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs.append(env['BF_AUDASPACE_C_INC'])
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
-
-if env['WITH_BF_INTERNATIONAL']:
- defs.append('WITH_INTERNATIONAL')
-
-if env['WITH_BF_SDL'] and env['WITH_BF_SDL_DYNLOAD']:
- defs.append('WITH_SDL_DYNLOAD')
- incs += ['#extern/sdlew/include']
-
-env.BlenderLib (libname='ge_player_ghost', sources=source_files, includes = incs, defines = defs, libtype=['player'],priority=[0], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Ketsji/KXNetwork/SConscript b/source/gameengine/Ketsji/KXNetwork/SConscript
deleted file mode 100644
index ab03e03e74d..00000000000
--- a/source/gameengine/Ketsji/KXNetwork/SConscript
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-incs = [
- '.',
- '#intern/container',
- '#intern/string',
- '#intern/moto/include',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Network',
- '#source/gameengine/SceneGraph',
- '../../../blender/blenlib',
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-env.BlenderLib ( 'bf_network', Split(sources), Split(incs), defines=defs,libtype=['core','player'], priority=[400,125], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript
deleted file mode 100644
index d8dfd3d9bca..00000000000
--- a/source/gameengine/Ketsji/SConscript
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '.',
- '#intern/container',
- '#intern/guardedalloc',
- '#intern/string',
- '#source/blender',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#intern/moto/include',
- '#source/blender/blenfont',
- '#source/blender/blenkernel',
- '#source/blender/blenlib',
- '#source/blender/gpu',
- '#source/blender/imbuf',
- '#source/blender/makesdna',
- '#source/blender/makesrna',
- '#source/blender/misc',
- '#source/blender/python',
- '#source/gameengine/BlenderRoutines',
- '#source/gameengine/Converter',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Network',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '#extern/recastnavigation/Detour/Include',
- '#extern/recastnavigation/Recast/Include',
- '#source/blender/editors/include',
- # Only for bpy_internal_import.h, be very careful
- '#source/blender/python/generic',
- # Only for mathutils, be very careful
- '#source/blender/python/mathutils',
- '#source/gameengine/Ketsji/KXNetwork',
- '#source/gameengine/Physics/Dummy',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- ]
-incs = ' '.join(incs)
-
-incs += ' ' + env['BF_BULLET_INC']
-incs += ' ' + env['BF_OPENGL_INC']
-incs += ' ' + env['BF_BOOST_INC']
-
-if env['WITH_BF_SDL']:
- incs += ' ' + env['BF_SDL_INC']
- defs.append('WITH_SDL')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_AUDASPACE']:
- defs += env['BF_AUDASPACE_DEF']
- incs += ' ' + env['BF_AUDASPACE_C_INC']
- incs += ' ' + env['BF_AUDASPACE_PY_INC']
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'):
- if env['BF_DEBUG']:
- defs.append('_DEBUG') # for Python
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
- incs += ' #source/gameengine/Physics/Bullet'
-
-if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
- incs += ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'ge_logic_ketsji', sources, Split(incs), defs, libtype=['core','player'], priority=[320,45], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Network/LoopBackNetwork/SConscript b/source/gameengine/Network/LoopBackNetwork/SConscript
deleted file mode 100644
index 01352fbe732..00000000000
--- a/source/gameengine/Network/LoopBackNetwork/SConscript
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = [
- 'NG_LoopBackNetworkDeviceInterface.cpp',
- ]
-
-incs = [
- '.',
- '#intern/container',
- '#intern/string',
- '#source/gameengine/Network',
- ]
-
-env.BlenderLib('ge_logic_loopbacknetwork', sources, incs, defines=[], libtype=['core', 'player'], priority=[400, 135])
diff --git a/source/gameengine/Network/SConscript b/source/gameengine/Network/SConscript
deleted file mode 100644
index feb14e29552..00000000000
--- a/source/gameengine/Network/SConscript
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp') #'NG_NetworkMessage.cpp NG_NetworkObject.cpp NG_NetworkScene.cpp'
-
-incs = [
- '.',
- '../../blender/blenlib',
- '#intern/container',
- '#intern/string',
- '#intern/moto/include',
- ]
-
-defs = []
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
- incs.append('#intern/guardedalloc')
-
-env.BlenderLib('ge_logic_ngnetwork', sources, incs, defs, libtype=['core', 'player'], priority=[400, 130])
diff --git a/source/gameengine/Physics/Bullet/SConscript b/source/gameengine/Physics/Bullet/SConscript
deleted file mode 100644
index 5c5b1fe6ea6..00000000000
--- a/source/gameengine/Physics/Bullet/SConscript
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp CcdGraphicController.cpp'
-
-incs = [
- '.',
- '#intern/container',
- '#intern/guardedalloc',
- '#intern/string',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#intern/moto/include',
- '#source/blender/blenkernel',
- '#source/blender/blenlib',
- '#source/blender/makesdna',
- '#source/gameengine/Converter',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '../common',
- ]
-incs = ' '.join(incs)
-
-incs += ' ' + env['BF_BULLET_INC']
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-if env['WITH_BF_BULLET']:
- defs.append('WITH_BULLET')
-
-env.BlenderLib ( 'ge_phys_bullet', Split(sources), Split(incs), defs, libtype=['core','player'], priority=[350,50], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Physics/Dummy/SConscript b/source/gameengine/Physics/Dummy/SConscript
deleted file mode 100644
index 3715dcf6aed..00000000000
--- a/source/gameengine/Physics/Dummy/SConscript
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = 'DummyPhysicsEnvironment.cpp'
-
-incs = [
- '.',
- '../common',
- '../../../../intern/moto/include',
- ]
-incs = ' '.join(incs)
-
-defs = []
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
- incs += ' #intern/guardedalloc'
-
-env.BlenderLib ( 'ge_phys_dummy', Split(sources), Split(incs), defs, libtype=['core','player'], priority=[350,60] )
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
deleted file mode 100644
index ce520df2a21..00000000000
--- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/python
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-incs = [
- '.',
- '#intern/container',
- '#intern/guardedalloc',
- '#intern/string',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#intern/moto/include',
- '#source/blender/blenkernel',
- '#source/blender/blenfont',
- '#source/blender/blenlib',
- '#source/blender/gpu',
- '#source/blender/makesdna',
- '#source/gameengine/BlenderRoutines',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Physics/common',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '#source/gameengine/Ketsji',
- env['BF_OPENGL_INC'],
- ]
-incs = ' '.join(incs)
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-env.BlenderLib ( 'ge_oglrasterizer', Split(sources), Split(incs), defines = defs, libtype=['core','player'], priority=[350,75], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript
deleted file mode 100644
index a29acda545a..00000000000
--- a/source/gameengine/Rasterizer/SConscript
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-incs = [
- '.',
- '#intern/guardedalloc',
- '#intern/string',
- '#intern/moto/include',
- '#intern/container',
- '#source/gameengine/BlenderRoutines',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#source/gameengine/Expressions',
- '#source/gameengine/SceneGraph',
- '#source/blender/blenlib',
- '#source/blender/blenkernel',
- '#source/blender/gpu',
- '#source/blender/makesdna',
- '#source/blender/imbuf',
- ]
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['WITH_BF_PYTHON']:
- incs.extend(Split(env['BF_PYTHON_INC']))
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
-
-env.BlenderLib('ge_rasterizer', sources,
- includes=incs, defines=defs,
- libtype=['core', 'player'], priority=[350, 70],
- cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/SConscript b/source/gameengine/SConscript
deleted file mode 100644
index ae1bb756f8e..00000000000
--- a/source/gameengine/SConscript
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-SConscript(['BlenderRoutines/SConscript',
- 'Converter/SConscript',
- 'Expressions/SConscript', #310
- 'GameLogic/SConscript',
- 'Ketsji/SConscript',
- 'Ketsji/KXNetwork/SConscript',
- 'Network/SConscript',
- 'Network/LoopBackNetwork/SConscript',
- 'Physics/Dummy/SConscript',
- 'Rasterizer/SConscript',
- 'Rasterizer/RAS_OpenGLRasterizer/SConscript',
- 'SceneGraph/SConscript',
- ])
-
-if env['WITH_BF_PYTHON']:
- SConscript(['VideoTexture/SConscript'])
-
-if env['WITH_BF_PLAYER']:
- SConscript(['GamePlayer/SConscript'])
-
-if env['WITH_BF_BULLET']:
- SConscript(['Physics/Bullet/SConscript'])
diff --git a/source/gameengine/SceneGraph/SConscript b/source/gameengine/SceneGraph/SConscript
deleted file mode 100644
index f6e73a902a4..00000000000
--- a/source/gameengine/SceneGraph/SConscript
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-incs = [
- '.',
- '#intern/moto/include',
- ]
-
-defs = []
-
-if env['WITH_BF_CXX_GUARDEDALLOC']:
- defs.append('WITH_CXX_GUARDEDALLOC')
- incs.append('#intern/guardedalloc')
-
-if env['WITH_BF_PYTHON']:
- defs.append('WITH_PYTHON')
- incs.extend(Split(env['BF_PYTHON_INC']))
-
-env.BlenderLib('ge_scenegraph', sources, incs, defs, libtype=['core', 'player'], priority=[325, 85], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/gameengine/VideoTexture/SConscript b/source/gameengine/VideoTexture/SConscript
deleted file mode 100644
index dc708904309..00000000000
--- a/source/gameengine/VideoTexture/SConscript
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-import sys
-
-Import ('env')
-
-sources = env.Glob('*.cpp')
-
-incs = [
- '.',
- '#intern/container',
- '#intern/ffmpeg',
- '#intern/guardedalloc',
- '#intern/string',
- env['BF_GLEW_INC'],
- '#/intern/glew-mx',
- '#intern/moto/include',
- '#source/blender/blenkernel',
- '#source/blender/blenlib',
- '#source/blender/gpu',
- '#source/blender/imbuf',
- '#source/blender/makesdna',
- '#source/blender/python',
- '#source/gameengine/BlenderRoutines',
- '#source/gameengine/Expressions',
- '#source/gameengine/GameLogic',
- '#source/gameengine/Ketsji',
- '#source/gameengine/Rasterizer',
- '#source/gameengine/SceneGraph',
- '#source/blender/editors/include',
- '#source/blender/python/generic',
- '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer',
- ]
-incs = ' '.join(incs)
-
-defs = []
-defs += env['BF_GL_DEFINITIONS']
-
-if env['OURPLATFORM'] in ('win32-vc', 'win64-vc','win32-mingw', 'win64-mingw'):
- if env['BF_DEBUG']:
- defs.append('_DEBUG')
-
-if env['WITH_BF_PYTHON']:
- incs += ' ' + env['BF_PYTHON_INC']
- defs.append('WITH_PYTHON')
-
-if env['WITH_BF_FFMPEG']:
- defs.append('WITH_FFMPEG')
- incs += ' ' + env['BF_FFMPEG_INC'] + ' ' + env['BF_PTHREADS_INC']
-
-env.BlenderLib ( 'ge_videotex', sources, Split(incs), defs, libtype=['core','player'], priority=[340,205], cxx_compileflags=env['BGE_CXXFLAGS'])
diff --git a/source/icons/SConscript b/source/icons/SConscript
deleted file mode 100644
index 443f6454417..00000000000
--- a/source/icons/SConscript
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env python
-#
-# ***** BEGIN GPL LICENSE BLOCK *****
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# The Original Code is Copyright (C) 2006, Blender Foundation
-# All rights reserved.
-#
-# The Original Code is: all of this file.
-#
-# Contributor(s): Nathan Letwory.
-#
-# ***** END GPL LICENSE BLOCK *****
-
-Import ('env')
-import btools
-
-env['RCFLAGS'].append("-DWINDRES")
-env['RCFLAGS'].append("-DBLEN_VER_RC_STR_M=" + btools.VERSION)
-env['RCFLAGS'].append("-DBLEN_VER_RC_1=" + btools.VERSION[0])
-env['RCFLAGS'].append("-DBLEN_VER_RC_2=" + btools.VERSION[2])
-env['RCFLAGS'].append("-DBLEN_VER_RC_3=" + btools.VERSION[3])
-env['RCFLAGS'].append("-DBLEN_VER_RC_4=0")
-
-env.BlenderRes('winresource', 'winblender.rc', ['core'], priority=[95])