21 lines
367 B
Python
21 lines
367 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
files = [
|
|
"ir.cpp",
|
|
"wiiuse.cpp",
|
|
]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [ "io_osx.mm" ]
|
|
elif sys.platform == 'linux2' and env['HAVE_BLUEZ']:
|
|
files += [ "io_nix.cpp" ]
|
|
elif sys.platform == 'win32':
|
|
files += [ "io_win.cpp" ]
|
|
else:
|
|
files += [ "io_dummy.cpp" ]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
|