mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-18 12:01:15 +01:00
a2b1f829cb
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
29 lines
530 B
Python
29 lines
530 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if (sys.platform == 'linux2' and not env['HAVE_BLUEZ']) or \
|
|
(not sys.platform == 'darwin' and
|
|
not sys.platform == 'linux2' and
|
|
not sys.platform == 'win32'):
|
|
env['HAVE_WIIUSE'] = 0
|
|
Return()
|
|
|
|
env['HAVE_WIIUSE'] = 1
|
|
|
|
files = [
|
|
"io.c",
|
|
"ir.c",
|
|
"wiiuse.c",
|
|
]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [ "io_osx.m" ]
|
|
elif sys.platform == 'linux2':
|
|
files += [ "io_nix.c" ]
|
|
elif sys.platform == 'win32':
|
|
files += [ "io_win.c" ]
|
|
|
|
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
|