2010-01-23 17:30:40 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
|
|
|
name = "Plugin_GCPad"
|
|
|
|
padenv = env.Clone()
|
|
|
|
|
|
|
|
if not env['HAVE_SDL']:
|
|
|
|
print name + " must have SDL to be build"
|
|
|
|
Return()
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'Config.cpp',
|
|
|
|
'GCPad.cpp',
|
|
|
|
'Rumble.cpp',
|
|
|
|
]
|
|
|
|
if padenv['HAVE_WX']:
|
|
|
|
files += [
|
|
|
|
'ConfigJoypad.cpp',
|
|
|
|
'ConfigBox.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
padenv.Append(
|
2010-01-24 06:57:06 +00:00
|
|
|
LIBS = [ 'inputcommon', 'common', ],
|
2010-01-23 17:30:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|