mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
452c2e711a
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5407 8ced0084-cf51-0410-be5f-012b33b47a6e
42 lines
699 B
Python
42 lines
699 B
Python
# -*- python -*-
|
|
import sys
|
|
Import('env')
|
|
icenv = env.Clone()
|
|
|
|
files = [
|
|
'Configuration.cpp',
|
|
'EventHandler.cpp',
|
|
'InputCommon.cpp',
|
|
'SDL_Util.cpp',
|
|
'ControllerInterface/ControllerInterface.cpp',
|
|
]
|
|
|
|
if env['HAVE_X11']:
|
|
files += [
|
|
"X11InputBase.cpp",
|
|
]
|
|
|
|
if env['HAVE_WX']:
|
|
files += [
|
|
"WXInputBase.cpp",
|
|
]
|
|
|
|
if icenv['HAVE_SDL']:
|
|
files += [
|
|
'ControllerInterface/SDL/SDL.cpp'
|
|
]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [
|
|
'ControllerInterface/OSX/OSX.mm'
|
|
]
|
|
icenv['FRAMEWORKS'] = ['IOKit']
|
|
|
|
if sys.platform == 'linux2':
|
|
files += [
|
|
'ControllerInterface/Xlib/Xlib.cpp'
|
|
]
|
|
|
|
icenv.Append(CXXFLAGS = [ '-fPIC' ])
|
|
icenv.StaticLibrary(env['local_libs'] + "inputcommon", files)
|