cleaned up SConscripts

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-09-21 19:54:29 +00:00
parent 5c6407b805
commit e0291e735c
15 changed files with 62 additions and 29 deletions

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
files = [

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
files = ["Console.cpp",

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
files = ["LogWindow.cpp",
@ -17,14 +19,16 @@ files = ["LogWindow.cpp",
]
wxenv = env.Clone()
wxenv.Append(
CXXFLAGS = [
'-DUSE_XPM_BITMAPS',
'-DwxNEEDS_CHARPP'
CPPDEFINES = [
'USE_XPM_BITMAPS',
'wxNEEDS_CHARPP'
],
LINKFLAGS = [
'-L/usr/local/lib',
'-pthread',
]
)
libs = [
'common'
]
wxenv.StaticLibrary("debwx", files, LIBS = [ "common" ])
wxenv.StaticLibrary("debwx", files, LIBS = libs)

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
files = ["BannerLoader.cpp",
@ -16,4 +18,7 @@ files = ["BannerLoader.cpp",
"AES/aes_cbc.c",
"AES/aes_core.c",
]
env.StaticLibrary("discio", files, LIBS = ["common"])
libs = [
'common'
]
env.StaticLibrary("discio", files, LIBS = libs)

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys
@ -23,12 +25,11 @@ libs = [
wxenv = env.Clone()
wxenv.Append(
CXXFLAGS = [
'-DUSE_XPM_BITMAPS',
'-DwxNEEDS_CHARPP',
CPPDEFINES = [
'USE_XPM_BITMAPS',
'wxNEEDS_CHARPP',
],
LINKFLAGS = [
'-L/usr/local/lib',
'-pthread',
]
)

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
files = [

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
output = "../../../../Binary/linux/Plugins/dsplle.so"

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys
@ -37,6 +39,7 @@ if sys.platform == 'darwin':
platform = 'mac'
# SDL is currently the only way to get video on Mac OS X.
useSDL = True
# TODO: clean it up (use incpath and libpath)
# Use libraries from MacPorts.
compileFlags.append('-I/opt/local/include')
linkFlags.append('-L/opt/local/lib')
@ -50,7 +53,7 @@ else:
# By default, GLX is used on Linux to setup OpenGL, but you can select SDL
# instead if you like, by changing the line below.
useSDL = False
gfxenv.ParseConfig("pkg-config --libs ao")
gfxenv.ParseConfig("pkg-config x11 --cflags --libs")
# Libraries without pkg-config support.
libs += [ 'GL', 'Cg', 'CgGL', 'X11' ]

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys

View File

@ -1,3 +1,5 @@
# -*- python -*-
Import('env')
import sys