diff options
Diffstat (limited to 'Source/Core/InputCommon/SConscript')
| -rw-r--r-- | Source/Core/InputCommon/SConscript | 34 |
1 files changed, 34 insertions, 0 deletions
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) |
