fix osx build, and first step to get real wiimotes on osx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-02-16 21:12:00 +00:00
parent 82a10c9692
commit cf8220dc9c
6 changed files with 23 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# -*- python -*-
import sys
Import('env')
if not env['HAVE_BLUEZ']:
if not (env['HAVE_BLUEZ'] or sys.platform == 'darwin'):
env['HAVE_WIIUSE'] = 0
Return()
@ -11,13 +12,18 @@ files = [
"dynamics.c",
"events.c",
"io.c",
"io_nix.c",
"ir.c",
"nunchuk.c",
"guitar_hero_3.c",
"wiiuse.c",
]
if env['HAVE_BLUEZ']:
files += [ "io_nix.c", ]
if sys.platform == 'darwin':
files += [ "io_osx.c", ]
env_wiiuse = env.Clone(
CCFLAGS = env.filterWarnings(env['CCFLAGS']) + ' -fvisibility=default',
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),