Port to *BSD. It runs but isn't terribly useful without Cg.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-07-22 03:29:35 +00:00
parent cdce0ec322
commit 83883cee45
29 changed files with 5353 additions and 148 deletions

View File

@ -8,7 +8,8 @@ files = [
'InputConfig.cpp',
'ControllerInterface/ControllerInterface.cpp',
'UDPWiimote.cpp',
'UDPWrapper.cpp'
'UDPWrapper.cpp',
'SDL_Util.cpp', # XXX needed by old Wiimote plugin
]
if sys.platform == 'win32':
@ -16,6 +17,7 @@ if sys.platform == 'win32':
'ControllerInterface/DInput/DInput.cpp',
'ControllerInterface/DInput/DInputJoystick.cpp',
'ControllerInterface/DInput/DInputKeyboardMouse.cpp'
'ControllerInterface/SDL/SDL.cpp',
'ControllerInterface/XInput/XInput.cpp',
]
elif sys.platform == 'darwin':
@ -23,18 +25,12 @@ elif sys.platform == 'darwin':
'ControllerInterface/OSX/OSX.mm',
'ControllerInterface/OSX/OSXKeyboard.mm',
'ControllerInterface/OSX/OSXMouse.mm',
'SDL_Util.cpp', # XXX needed by old Wiimote plugin
]
else:
elif env['HAVE_X11']:
files += [
'ControllerInterface/SDL/SDL.cpp',
'ControllerInterface/Xlib/Xlib.cpp',
'X11InputBase.cpp'
]
if sys.platform == 'win32' or sys.platform == 'linux2':
files += [
'ControllerInterface/SDL/SDL.cpp',
'SDL_Util.cpp',
]
env.StaticLibrary(env['local_libs'] + "inputcommon", files)