SConscript revision 11854
12SN/A# -*- mode:python -*-
21762SN/A
32SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42SN/A# All rights reserved.
52SN/A#
62SN/A# Redistribution and use in source and binary forms, with or without
72SN/A# modification, are permitted provided that the following conditions are
82SN/A# met: redistributions of source code must retain the above copyright
92SN/A# notice, this list of conditions and the following disclaimer;
102SN/A# redistributions in binary form must reproduce the above copyright
112SN/A# notice, this list of conditions and the following disclaimer in the
122SN/A# documentation and/or other materials provided with the distribution;
132SN/A# neither the name of the copyright holders nor the names of its
142SN/A# contributors may be used to endorse or promote products derived from
152SN/A# this software without specific prior written permission.
162SN/A#
172SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302665Ssaidi@eecs.umich.edu
312SN/AImport('*')
322SN/A
332SN/ASimObject('ClockedObject.py')
342SN/ASimObject('TickedObject.py')
352SN/ASimObject('Root.py')
362655Sstever@eecs.umich.eduSimObject('ClockDomain.py')
372655Sstever@eecs.umich.eduSimObject('VoltageDomain.py')
382SN/ASimObject('System.py')
392SN/ASimObject('DVFSHandler.py')
401399SN/ASimObject('SubSystem.py')
411396SN/A
422SN/ASource('arguments.cc')
432SN/ASource('async.cc')
442729Ssaidi@eecs.umich.eduSource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
452SN/ASource('core.cc')
461310SN/ASource('tags.cc')
472SN/ASource('cxx_config.cc')
482SN/ASource('cxx_manager.cc')
492SN/ASource('cxx_config_ini.cc')
502667Sstever@eecs.umich.eduSource('debug.cc')
5156SN/ASource('py_interact.cc', skip_no_python=True)
52146SN/ASource('eventq.cc')
531388SN/ASource('global_event.cc')
5456SN/ASource('init.cc', skip_no_python=True)
5556SN/ASource('init_signals.cc')
561311SN/ASource('main.cc', main=True, skip_lib=True)
57400SN/ASource('root.cc')
583356Sbinkertn@umich.eduSource('serialize.cc')
591717SN/ASource('drain.cc')
601717SN/ASource('sim_events.cc')
612738Sstever@eecs.umich.eduSource('sim_object.cc')
622738Sstever@eecs.umich.eduSource('sub_system.cc')
633868Sbinkertn@umich.eduSource('ticked_object.cc')
64146SN/ASource('simulate.cc')
65146SN/ASource('stat_control.cc')
66146SN/ASource('stat_register.cc', skip_no_python=True)
672797Sktlim@umich.eduSource('clock_domain.cc')
6856SN/ASource('voltage_domain.cc')
6956SN/ASource('linear_solver.cc')
7056SN/ASource('system.cc')
713202Shsul@eecs.umich.eduSource('dvfs_handler.cc')
72695SN/ASource('clocked_object.cc')
73695SN/ASource('mathexpr.cc')
741696SN/A
752SN/Aif env['TARGET_ISA'] != 'null':
762SN/A    SimObject('InstTracer.py')
772SN/A    SimObject('Process.py')
782SN/A    Source('aux_vector.cc')
792SN/A    Source('faults.cc')
802SN/A    Source('process.cc')
81329SN/A    Source('fd_entry.cc')
822SN/A    Source('pseudo_inst.cc')
832SN/A    Source('syscall_emul.cc')
842SN/A    Source('syscall_desc.cc')
852SN/A
862SN/Aif env['TARGET_ISA'] != 'x86':
872SN/A    Source('microcode_rom.cc')
882SN/A
892SN/ADebugFlag('Checkpoint')
902SN/ADebugFlag('Config')
912SN/ADebugFlag('CxxConfig')
922SN/ADebugFlag('Drain')
932SN/ADebugFlag('Event')
94329SN/ADebugFlag('Fault')
95329SN/ADebugFlag('Flow')
96329SN/ADebugFlag('IPI')
97329SN/ADebugFlag('IPR')
98329SN/ADebugFlag('Interrupt')
99329SN/ADebugFlag('Loader')
100329SN/ADebugFlag('PseudoInst')
1012SN/ADebugFlag('Stack')
1022SN/ADebugFlag('SyscallBase')
1032SN/ADebugFlag('SyscallVerbose')
1042SN/ADebugFlag('TimeSync')
1052SN/ADebugFlag('Thread')
1062SN/ADebugFlag('Timer')
1072SN/ADebugFlag('VtoPhys')
1082SN/ADebugFlag('WorkItems')
109764SN/ADebugFlag('ClockDomain')
110764SN/ADebugFlag('VoltageDomain')
111764SN/ADebugFlag('DVFS')
112764SN/A
113764SN/ACompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
114764SN/A