2008-09-21 21:54:29 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
2008-07-12 19:40:22 +02:00
|
|
|
Import('env')
|
2008-07-31 10:38:13 +02:00
|
|
|
import sys
|
|
|
|
|
2008-11-13 09:12:48 +01:00
|
|
|
name = "Plugin_PadSimple"
|
2008-07-31 10:38:13 +02:00
|
|
|
|
2008-12-06 23:28:32 +01:00
|
|
|
if not env['HAVE_X11']:
|
|
|
|
print name + " must have X11 to be build"
|
|
|
|
Return()
|
|
|
|
|
2008-08-27 00:28:42 +02:00
|
|
|
files = [
|
2008-09-23 11:28:37 +02:00
|
|
|
"PadSimple.cpp",
|
2008-08-27 00:28:42 +02:00
|
|
|
]
|
2008-09-16 18:50:09 +02:00
|
|
|
padenv = env.Clone()
|
2008-10-24 17:48:36 +02:00
|
|
|
|
|
|
|
if not padenv['osx64']:
|
2008-10-25 13:11:20 +02:00
|
|
|
files += [
|
|
|
|
"GUI/ConfigDlg.cpp",
|
|
|
|
"XInputBase.cpp",
|
|
|
|
]
|
2008-10-24 17:48:36 +02:00
|
|
|
|
2008-10-04 19:26:12 +02:00
|
|
|
padenv.Append(LIBS = [ 'common' ])
|
2008-10-24 17:48:36 +02:00
|
|
|
|
|
|
|
if padenv['osx64']:
|
2008-10-25 13:11:20 +02:00
|
|
|
padenv.Append(
|
|
|
|
CXXFLAGS = [ '-arch', 'x86_64' ],
|
|
|
|
LINKFLAGS = [ '-arch', 'x86_64' ],
|
|
|
|
)
|
2008-10-24 17:48:36 +02:00
|
|
|
|
2008-11-13 09:12:48 +01:00
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|