2008-08-16 21:58:07 +00:00
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
|
|
|
"DSPHandler.cpp",
|
|
|
|
"MailHandler.cpp",
|
|
|
|
"main.cpp",
|
|
|
|
"Config.cpp",
|
|
|
|
"Globals.cpp",
|
|
|
|
"PCHW/AOSoundStream.cpp",
|
|
|
|
"PCHW/Mixer.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",
|
|
|
|
]
|
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
dspenv = env.Clone()
|
2008-08-26 22:28:42 +00:00
|
|
|
dspenv.Append(
|
|
|
|
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags ao`' ]),
|
|
|
|
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs ao`' ])
|
|
|
|
)
|
2008-08-16 21:58:07 +00:00
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
dspenv.SharedLibrary("../../../../Binary/mac/Plugins/dsphle.so", files, LIBS = ["common"])
|
|
|
|
else:
|
|
|
|
dspenv.SharedLibrary("../../../../Binary/linux/Plugins/dsphle.so", files, LIBS = ["common"])
|