2010-07-19 03:42:37 +00:00
|
|
|
# -*- python -*-
|
2008-11-19 10:22:29 +00:00
|
|
|
|
|
|
|
Import('env')
|
2010-07-19 03:42:37 +00:00
|
|
|
import sys
|
2008-11-19 10:22:29 +00:00
|
|
|
|
|
|
|
files = [
|
2010-11-13 19:15:43 +00:00
|
|
|
"ir.cpp",
|
|
|
|
"wiiuse.cpp",
|
2008-11-19 10:22:29 +00:00
|
|
|
]
|
|
|
|
|
2009-02-16 21:12:00 +00:00
|
|
|
if sys.platform == 'darwin':
|
2010-07-19 03:42:37 +00:00
|
|
|
files += [ "io_osx.m" ]
|
2010-10-12 23:39:16 +00:00
|
|
|
elif sys.platform == 'linux2' and env['HAVE_BLUEZ']:
|
2010-11-13 19:15:43 +00:00
|
|
|
files += [ "io_nix.cpp" ]
|
2010-07-19 03:42:37 +00:00
|
|
|
elif sys.platform == 'win32':
|
2010-11-13 19:15:43 +00:00
|
|
|
files += [ "io_win.cpp" ]
|
2010-10-12 23:39:16 +00:00
|
|
|
else:
|
2010-11-13 19:15:43 +00:00
|
|
|
files += [ "io_dummy.cpp" ]
|
2009-02-16 21:12:00 +00:00
|
|
|
|
2010-07-16 19:08:26 +00:00
|
|
|
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
|
2010-11-13 19:15:43 +00:00
|
|
|
env['CPPPATH'] += ['#Source/Core/wiiuse/Src']
|