2010-04-13 06:09:45 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
|
|
|
name = "Plugin_WiimoteNew"
|
|
|
|
wiinewenv = env.Clone()
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'WiimoteEmu/WiimoteEmu.cpp',
|
|
|
|
'WiimoteEmu/Attachment/Classic.cpp',
|
|
|
|
'WiimoteEmu/Attachment/Attachment.cpp',
|
|
|
|
'WiimoteEmu/Attachment/Nunchuk.cpp',
|
2010-04-24 00:44:10 +00:00
|
|
|
'WiimoteEmu/Attachment/Drums.cpp',
|
|
|
|
'WiimoteEmu/Attachment/Guitar.cpp',
|
2010-04-13 06:09:45 +00:00
|
|
|
'WiimoteEmu/EmuSubroutines.cpp',
|
|
|
|
'WiimoteEmu/Encryption.cpp',
|
2010-04-29 18:51:04 +00:00
|
|
|
'WiimoteEmu/Speaker.cpp',
|
2010-04-13 06:09:45 +00:00
|
|
|
'WiimoteNew.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
wiinewenv.Append(
|
2010-06-03 18:05:08 +00:00
|
|
|
LIBS = [ 'inputplugincommon', 'inputcommon', 'common' ],
|
2010-04-13 06:09:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
2010-04-23 19:15:44 +00:00
|
|
|
wiinewenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'Cocoa', 'IOKit' ]
|
2010-04-13 06:09:45 +00:00
|
|
|
|
|
|
|
wiinewenv.SharedLibrary(env['plugin_dir']+name, files)
|