mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-16 19:19:13 +01:00
2bcdf4f5a4
are properly declared at thread entry/exit. I am leaving the ones in Wiiuse while there's still a small hope that it may be used outside of Dolphin, though. Move the fixed MAP_32BIT definition for OS X to Common.h. UDPNunchuk.cpp was deleted, so update the scons build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5864 8ced0084-cf51-0410-be5f-012b33b47a6e
41 lines
838 B
Python
41 lines
838 B
Python
# -*- 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',
|
|
'WiimoteEmu/Attachment/Drums.cpp',
|
|
'WiimoteEmu/Attachment/Guitar.cpp',
|
|
'WiimoteEmu/EmuSubroutines.cpp',
|
|
'WiimoteEmu/Encryption.cpp',
|
|
'WiimoteEmu/Speaker.cpp',
|
|
'WiimoteNew.cpp'
|
|
]
|
|
|
|
libs = [ 'inputcommon', 'common', 'SDL' ]
|
|
|
|
cxxflags = [ ]
|
|
|
|
if wiinewenv['HAVE_WX']:
|
|
libs = [ 'inputuicommon' ] + libs
|
|
files += [ 'WiimoteConfigDiag.cpp' ]
|
|
|
|
if wiinewenv['HAVE_WIIUSE']:
|
|
cxxflags += [ '-DHAVE_WIIUSE' ]
|
|
files += [ 'WiimoteReal/WiimoteReal.cpp' ]
|
|
libs += [ 'wiiuse' ]
|
|
|
|
wiinewenv.Append(
|
|
CXXFLAGS = cxxflags,
|
|
LIBS = libs
|
|
)
|
|
|
|
wiinewenv.SharedLibrary(env['plugin_dir']+name, files)
|