mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-28 14:24:31 +01:00
6c7e666a75
where Dolphin blocks long enough to lose packets. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5944 8ced0084-cf51-0410-be5f-012b33b47a6e
38 lines
700 B
Python
38 lines
700 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
files = [
|
|
'src/SDL.c',
|
|
'src/SDL_error.c',
|
|
'src/SDL_fatal.c',
|
|
'src/joystick/SDL_joystick.c',
|
|
]
|
|
|
|
if sys.platform.count('bsd'):
|
|
files += [
|
|
'src/joystick/bsd/SDL_sysjoystick.c',
|
|
'src/stdlib/SDL_malloc.c',
|
|
'src/stdlib/SDL_string.c',
|
|
]
|
|
elif sys.platform == 'darwin':
|
|
files += [
|
|
'src/joystick/darwin/SDL_sysjoystick.c',
|
|
]
|
|
elif sys.platform == 'linux2':
|
|
files += [
|
|
'src/joystick/linux/SDL_sysjoystick.c',
|
|
'src/stdlib/SDL_string.c',
|
|
]
|
|
elif sys.platform == 'win32':
|
|
files += [
|
|
'src/joystick/win32/SDL_mmjoystick.c',
|
|
]
|
|
else:
|
|
files += [
|
|
'src/joystick/dummy/SDL_sysjoystick.c',
|
|
]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "SDL", files)
|