2008-09-21 19:54:29 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
2008-07-23 18:53:54 +00:00
|
|
|
Import('env')
|
2008-07-31 08:38:13 +00:00
|
|
|
import sys
|
|
|
|
|
2008-11-11 20:59:48 +00:00
|
|
|
name = "Plugin_nJoy_SDL.so"
|
2008-07-31 08:38:13 +00:00
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
2008-09-23 00:26:21 +00:00
|
|
|
'nJoy.cpp',
|
2008-10-04 17:26:12 +00:00
|
|
|
'GUI/AboutBox.cpp',
|
|
|
|
'GUI/ConfigBox.cpp',
|
2008-08-26 22:28:42 +00:00
|
|
|
]
|
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
padenv = env.Clone()
|
2008-08-26 22:28:42 +00:00
|
|
|
padenv.Append(
|
2008-09-22 23:36:16 +00:00
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'common' ],
|
2008-08-26 22:28:42 +00:00
|
|
|
)
|
2008-10-20 17:32:15 +00:00
|
|
|
if not env['osx64']:
|
2008-11-11 20:59:48 +00:00
|
|
|
padenv.SharedLibrary('../../../../'+env['plugin_dir']+name, files)
|