2009-01-15 06:48:15 +00:00
|
|
|
# -*- python -*-
|
2009-01-04 19:54:56 +00:00
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2009-02-08 14:55:51 +00:00
|
|
|
'Configuration.cpp',
|
2009-01-04 19:54:56 +00:00
|
|
|
'EventHandler.cpp',
|
|
|
|
'InputCommon.cpp',
|
2010-01-29 04:42:19 +00:00
|
|
|
'SDL_Util.cpp',
|
2009-01-04 19:54:56 +00:00
|
|
|
]
|
|
|
|
|
2009-07-09 06:50:22 +00:00
|
|
|
if env['HAVE_X11']:
|
|
|
|
files += [
|
|
|
|
"X11InputBase.cpp",
|
|
|
|
]
|
|
|
|
|
2009-01-04 19:54:56 +00:00
|
|
|
env_inputcommon = env.Clone()
|
|
|
|
env_inputcommon.Append(CXXFLAGS = [ '-fPIC' ])
|
2009-04-12 21:30:22 +00:00
|
|
|
env_inputcommon.StaticLibrary(env['local_libs'] + "inputcommon", files)
|