dolphin/Source/Core/InputCommon/Src/SConscript
Shawn Hoffman 360b8427fd aaand compile fix on windows :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5583 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03 06:34:54 +00:00

38 lines
691 B
Python

# -*- python -*-
import sys
Import('env')
icenv = env.Clone()
files = [
'Configuration.cpp',
'InputConfig.cpp',
'ControllerEmu.cpp',
'SDL_Util.cpp',
'ControllerInterface/ControllerInterface.cpp',
]
if env['HAVE_X11']:
files += [
"X11InputBase.cpp",
]
if icenv['HAVE_SDL']:
files += [
'ControllerInterface/SDL/SDL.cpp'
]
if sys.platform == 'darwin':
files += [
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm'
]
icenv['FRAMEWORKS'] = ['IOKit']
if sys.platform == 'linux2':
files += [
'ControllerInterface/Xlib/Xlib.cpp'
]
icenv.StaticLibrary(env['local_libs'] + "inputcommon", files)