Move SConscript files out from the Src subdirectories to be

consistent with the other build systems.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-03-03 19:44:56 +00:00
parent 1e2d922342
commit 05719ac81a
21 changed files with 534 additions and 528 deletions

View File

@ -0,0 +1,34 @@
# -*- python -*-
import sys
Import('env')
files = [
'Src/ControllerEmu.cpp',
'Src/ControllerInterface/ControllerInterface.cpp',
'Src/InputConfig.cpp',
'Src/UDPWiimote.cpp',
'Src/UDPWrapper.cpp',
]
if sys.platform == 'win32':
files += [
'Src/ControllerInterface/DInput/DInput.cpp',
'Src/ControllerInterface/DInput/DInputJoystick.cpp',
'Src/ControllerInterface/DInput/DInputKeyboardMouse.cpp'
'Src/ControllerInterface/SDL/SDL.cpp',
'Src/ControllerInterface/XInput/XInput.cpp',
]
elif sys.platform == 'darwin':
files += [
'Src/ControllerInterface/OSX/OSX.mm',
'Src/ControllerInterface/OSX/OSXKeyboard.mm',
'Src/ControllerInterface/OSX/OSXJoystick.mm',
]
elif env['HAVE_X11']:
files += [
'Src/ControllerInterface/SDL/SDL.cpp',
'Src/ControllerInterface/Xlib/Xlib.cpp',
]
env['LIBS'] += env.StaticLibrary('inputcommon', files)