mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:12:35 +01:00
f99a36ccfa
Don't rely on trailing /'s in directory names. Destdir only works for global builds. Only tar up global builds if they are in a destdir to avoid SCons eating all available memory indexing /usr. Print current status of shared_foo in 'scons -h'. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5966 8ced0084-cf51-0410-be5f-012b33b47a6e
36 lines
784 B
Python
36 lines
784 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import os
|
|
import sys
|
|
|
|
name = os.sep + "Plugin_WiimoteNew"
|
|
|
|
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' ]
|
|
|
|
if not sys.platform == 'darwin':
|
|
libs += [ 'SDL' ]
|
|
|
|
if env['HAVE_WX']:
|
|
libs = [ 'inputuicommon' ] + libs
|
|
files += [ 'WiimoteConfigDiag.cpp' ]
|
|
|
|
if env['HAVE_WIIUSE']:
|
|
files += [ 'WiimoteReal/WiimoteReal.cpp' ]
|
|
libs += [ 'wiiuse' ]
|
|
|
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|