Mac plugin is now in mac/Plugins directory

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@113 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator 2008-07-31 08:38:13 +00:00
parent d1140d999d
commit 60ac064e0c
3 changed files with 21 additions and 4 deletions

View File

@ -1,4 +1,5 @@
Import('env') Import('env')
import sys
files = ["DSPHandler.cpp", files = ["DSPHandler.cpp",
"MailHandler.cpp", "MailHandler.cpp",
@ -16,4 +17,8 @@ files = ["DSPHandler.cpp",
"UCodes/UCode_Zelda.cpp", "UCodes/UCode_Zelda.cpp",
] ]
dspenv=env.Copy(LINKFLAGS = "`pkg-config --libs ao` ") dspenv=env.Copy(LINKFLAGS = "`pkg-config --libs ao` ")
dspenv.SharedLibrary("../../../../Binary/linux/Plugins/dsphle.so", files, LIBS = ["common"])
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"])

View File

@ -1,5 +1,11 @@
Import('env') Import('env')
output = "../../../../Binary/linux/Plugins/padsimple.so" import sys
if sys.platform == 'darwin':
output = "../../../../Binary/mac/Plugins/padsimple.so"
else:
output = "../../../../Binary/linux/Plugins/padsimple.so"
files = ["main.cpp", files = ["main.cpp",
] ]
padenv=env.Copy(CXXFLAGS = " `pkg-config --cflags sdl`", LINKFLAGS = " `pkg-config --libs sdl`") padenv=env.Copy(CXXFLAGS = " `pkg-config --cflags sdl`", LINKFLAGS = " `pkg-config --libs sdl`")

View File

@ -1,8 +1,14 @@
Import('env') Import('env')
output = "../../../../Binary/linux/Plugins/Plugin_nJoy_SDL.so" import sys
if sys.platform == 'darwin':
output = "../../../../Binary/mac/Plugins/Plugin_nJoy_SDL.so"
else:
output = "../../../../Binary/linux/Plugins/Plugin_nJoy_SDL.so"
files = [ "nJoy.cpp", files = [ "nJoy.cpp",
"GUI/AboutBox.cpp", "GUI/AboutBox.cpp",
"GUI/ConfigBox.cpp", "GUI/ConfigBox.cpp",
] ]
padenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags sdl`", LINKFLAGS = "`wx-config --libs` `pkg-config --libs sdl` ") padenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags sdl`", LINKFLAGS = "`wx-config --libs` `pkg-config --libs sdl` ")
padenv.SharedLibrary(output, files, LIBS=["common"]) padenv.SharedLibrary(output, files, LIBS=["common"])