summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/SConscript
blob: 6d1177c257cf7011260564960286b4cbbec055ca (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
# -*- python -*-

Import('env')

files = [
	'Configuration.cpp',
	'EventHandler.cpp',
	'InputCommon.cpp',
	'SDL_Util.cpp',
	]

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

if env['HAVE_WX']:
	files += [
		"WXInputBase.cpp",
		]

env_inputcommon = env.Clone()
env_inputcommon.Append(CXXFLAGS = [ '-fPIC' ])
env_inputcommon.StaticLibrary(env['local_libs'] + "inputcommon", files)