some linux wiimote stuff

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1213 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-19 10:22:29 +00:00
parent 76ca6ac031
commit ec19b6b024
7 changed files with 72 additions and 821 deletions

View File

@ -1,26 +1,35 @@
# -*- python -*-
Import('env')
import sys
name = "Plugin_Wiimote"
files = [
"Wiimote.cpp",
"Config.cpp",
"ConfigDlg.cpp",
"Console.cpp",
"DataReports.cpp",
"EmuDefinitions.cpp",
"EmuMain.cpp",
"Encryption.cpp",
"FillReport.cpp",
"main.cpp",
"wiimote_real.cpp",
]
padenv = env.Clone()
wiimoteenv = env.Clone()
if padenv['osx64']:
padenv.Append(
if wiimoteenv['osx64']:
wiimoteenv.Append(
CXXFLAGS = [ '-arch', 'x86_64' ],
LINKFLAGS = [ '-arch', 'x86_64' ],
LIBS = [ 'common' ],
)
else:
padenv.Append(
wiimoteenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'common' ],
)
padenv.SharedLibrary(env['plugin_dir']+name, files)
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)