mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
ba8c2aa7e4
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
32 lines
520 B
Python
32 lines
520 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_nJoy_SDL"
|
|
padenv = env.Clone()
|
|
|
|
if not env['HAVE_SDL']:
|
|
print name + " must have SDL to be build"
|
|
Return()
|
|
|
|
files = [
|
|
'Config.cpp',
|
|
'nJoy.cpp',
|
|
'Rumble.cpp',
|
|
]
|
|
if padenv['HAVE_WX']:
|
|
files += [
|
|
'GUI/AboutBox.cpp',
|
|
'GUI/ConfigAdvanced.cpp',
|
|
'GUI/ConfigJoypad.cpp',
|
|
'GUI/ConfigBox.cpp',
|
|
]
|
|
|
|
padenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'common' ],
|
|
)
|
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|