mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user