summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/SConscript
blob: 750045d285b03e0c8f596301f9a51f4250a6635d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- python -*-
import sys
Import('env')

files = [
	'Configuration.cpp',
	'ControllerEmu.cpp',
	'InputConfig.cpp',
	'SDL_Util.cpp',
	'ControllerInterface/ControllerInterface.cpp',
	'ControllerInterface/SDL/SDL.cpp'
	]

if env['HAVE_X11']:
	files += [
		"X11InputBase.cpp",
		]

if sys.platform == 'darwin':
	files += [
		'ControllerInterface/OSX/OSX.mm',
		'ControllerInterface/OSX/OSXKeyboard.mm',
		'ControllerInterface/OSX/OSXMouse.mm'
		]
		   
if sys.platform == 'linux2':
	files += [
		'ControllerInterface/Xlib/Xlib.cpp'
		]

env.StaticLibrary(env['local_libs'] + "inputcommon", files)