2008-09-21 19:54:29 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
2009-03-09 00:36:59 +00:00
|
|
|
import sys
|
2008-07-12 17:40:22 +00:00
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
|
|
|
|
"dis_decode.cpp",
|
|
|
|
|
"dis_groups.cpp",
|
|
|
|
|
"resolve.cpp",
|
|
|
|
|
"syntax.cpp",
|
|
|
|
|
"PowerPCDisasm.cpp",
|
|
|
|
|
]
|
2008-07-12 17:40:22 +00:00
|
|
|
|
2009-03-09 00:36:59 +00:00
|
|
|
if sys.platform == 'win32':
|
|
|
|
|
files += [ "stdafx.cpp" ]
|
|
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
env_bochs = env.Clone(
|
2008-09-21 19:54:29 +00:00
|
|
|
CCFLAGS = env.filterWarnings(env['CCFLAGS']),
|
|
|
|
|
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
2008-08-27 09:44:16 +00:00
|
|
|
)
|
2008-09-21 19:54:29 +00:00
|
|
|
|
2009-04-12 21:30:22 +00:00
|
|
|
env_bochs.StaticLibrary(env['local_libs'] + "bdisasm", files)
|