2008-09-25 18:45:53 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2008-11-13 08:12:48 +00:00
|
|
|
name = "Plugin_DSP_NULL"
|
2008-09-25 18:45:53 +00:00
|
|
|
|
|
|
|
files = [
|
|
|
|
"DSPHandler.cpp",
|
|
|
|
"MailHandler.cpp",
|
|
|
|
"main.cpp",
|
|
|
|
"Globals.cpp",
|
|
|
|
"UCodes/UCode_AX.cpp",
|
|
|
|
"UCodes/UCode_CARD.cpp",
|
|
|
|
"UCodes/UCode_InitAudioSystem.cpp",
|
|
|
|
"UCodes/UCode_Jac.cpp",
|
|
|
|
"UCodes/UCode_ROM.cpp",
|
|
|
|
"UCodes/UCodes.cpp",
|
|
|
|
"UCodes/UCode_Zelda.cpp",
|
|
|
|
]
|
|
|
|
|
|
|
|
dspenv = env.Clone()
|
2008-10-24 15:48:36 +00:00
|
|
|
if not dspenv['osx64']:
|
|
|
|
dspenv.Append(
|
2008-09-25 18:45:53 +00:00
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'common' ],
|
|
|
|
)
|
2008-10-24 15:48:36 +00:00
|
|
|
else:
|
|
|
|
dspenv.Append(
|
|
|
|
CXXFLAGS = [ '-fPIC','-arch', 'x86_64' ],
|
|
|
|
LINKFLAGS = [ '-arch', 'x86_64' ],
|
|
|
|
LIBS = [ 'common' ],
|
|
|
|
)
|
|
|
|
|
2008-11-13 08:12:48 +00:00
|
|
|
dspenv.SharedLibrary(env['plugin_dir']+name, files)
|