Soren Jorvang 739c9eb2df Allow building without bluetooth support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6273 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-10-12 23:39:16 +00:00

22 lines
400 B
Python

# -*- python -*-
Import('env')
import sys
files = [
"ir.c",
"wiiuse.c",
]
if sys.platform == 'darwin':
files += [ "io_osx.m" ]
elif sys.platform == 'linux2' and env['HAVE_BLUEZ']:
files += [ "io_nix.c" ]
elif sys.platform == 'win32':
files += [ "io_win.c" ]
else:
files += [ "io_dummy.c" ]
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
env['CPPPATH'] += ['#Externals/WiiUse/Src']