2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
2008-07-31 08:38:13 +00:00
|
|
|
import sys
|
2008-07-12 17:40:22 +00:00
|
|
|
|
|
|
|
files = ["DSPHandler.cpp",
|
|
|
|
"MailHandler.cpp",
|
|
|
|
"main.cpp",
|
|
|
|
"Config.cpp",
|
|
|
|
"Globals.cpp",
|
2008-07-27 14:07:52 +00:00
|
|
|
"PCHW/AOSoundStream.cpp",
|
2008-07-12 17:40:22 +00:00
|
|
|
"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-07-27 14:07:52 +00:00
|
|
|
dspenv=env.Copy(LINKFLAGS = "`pkg-config --libs ao` ")
|
2008-07-31 08:38:13 +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"])
|