From 05719ac81ab1e784c7aeb85af1e9b227b9cdbe83 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Thu, 3 Mar 2011 19:44:56 +0000 Subject: 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 --- Source/Core/InputCommon/SConscript | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Source/Core/InputCommon/SConscript (limited to 'Source/Core/InputCommon/SConscript') diff --git a/Source/Core/InputCommon/SConscript b/Source/Core/InputCommon/SConscript new file mode 100644 index 0000000000..82e0de571c --- /dev/null +++ b/Source/Core/InputCommon/SConscript @@ -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) -- cgit v1.2.3