diff options
| author | ayuanx <ayuanx@gmail.com> | 2010-02-03 02:54:31 +0000 |
|---|---|---|
| committer | ayuanx <ayuanx@gmail.com> | 2010-02-03 02:54:31 +0000 |
| commit | fb4f0edb85823deebaa63dcd6b8389fc1e800984 (patch) | |
| tree | d7aad7db20a00bb48c8388cbe92842be0f940b5c /Source/Plugins/Plugin_nJoy_SDL/Src/SConscript | |
| parent | e17c872d8f6f81aeac79076faa6a55d1f9b05e78 (diff) | |
Falcon4ever prefers to keep a standalone code copy of nJoy in repository.
Nakee, please make a branch/tag after release so that the code of nJoy will be saved as a standalone plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4998 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_nJoy_SDL/Src/SConscript')
| -rw-r--r-- | Source/Plugins/Plugin_nJoy_SDL/Src/SConscript | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/SConscript b/Source/Plugins/Plugin_nJoy_SDL/Src/SConscript new file mode 100644 index 0000000000..a1d90f68c2 --- /dev/null +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/SConscript @@ -0,0 +1,31 @@ +# -*- 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', 'inputcommon' ],
+ )
+
+padenv.SharedLibrary(env['plugin_dir']+name, files)
|
