SConscript revision 13404:5da37c38d749
12SN/A# Copyright 2018 Google, Inc.
22188SN/A#
32SN/A# Redistribution and use in source and binary forms, with or without
42SN/A# modification, are permitted provided that the following conditions are
52SN/A# met: redistributions of source code must retain the above copyright
62SN/A# notice, this list of conditions and the following disclaimer;
72SN/A# redistributions in binary form must reproduce the above copyright
82SN/A# notice, this list of conditions and the following disclaimer in the
92SN/A# documentation and/or other materials provided with the distribution;
102SN/A# neither the name of the copyright holders nor the names of its
112SN/A# contributors may be used to endorse or promote products derived from
122SN/A# this software without specific prior written permission.
132SN/A#
142SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
152SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
162SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
172SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
182SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
192SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
202SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
212SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
222SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
232SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
242SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
252SN/A#
262SN/A# Authors: Gabe Black
272665SN/A
282665SN/AImport('*')
292665SN/A
302665SN/Aif env['USE_SYSTEMC']:
312665SN/A    SimObject('SystemC.py')
322SN/A
332SN/A    Source('channel.cc')
342SN/A    Source('event.cc')
352SN/A    Source('kernel.cc')
362465SN/A    Source('messages.cc')
373565Sgblack@eecs.umich.edu    Source('module.cc')
385529Snate@binkert.org    Source('object.cc')
398777Sgblack@eecs.umich.edu    Source('port.cc')
401917SN/A    Source('process.cc')
411070SN/A    Source('python.cc')
421917SN/A    Source('scheduler.cc')
432188SN/A    Source('sched_event.cc')
448777Sgblack@eecs.umich.edu    Source('sensitivity.cc')
458777Sgblack@eecs.umich.edu    Source('time.cc')
461917SN/A
472290SN/A    Source('sc_attr.cc')
488777Sgblack@eecs.umich.edu    Source('sc_event.cc')
498777Sgblack@eecs.umich.edu    Source('sc_export.cc')
508706Sandreas.hansson@arm.com    Source('sc_interface.cc')
518799Sgblack@eecs.umich.edu    Source('sc_join.cc')
528809Sgblack@eecs.umich.edu    Source('sc_main.cc')
5310319SAndreas.Sandberg@ARM.com    Source('sc_main_fiber.cc')
548793Sgblack@eecs.umich.edu    Source('sc_module.cc')
558777Sgblack@eecs.umich.edu    Source('sc_module_name.cc')
561070SN/A    Source('sc_object.cc')
571917SN/A    Source('sc_port.cc')
582519SN/A    Source('sc_process_handle.cc')
592SN/A    Source('sc_prim.cc')
602SN/A    Source('sc_sensitive.cc')
612SN/A    Source('sc_simcontext.cc')
622SN/A    Source('sc_spawn.cc')
638820Sgblack@eecs.umich.edu    Source('sc_time.cc')
648820Sgblack@eecs.umich.edu
659384SAndreas.Sandberg@arm.com    if env['USE_PYTHON']:
669384SAndreas.Sandberg@arm.com        Source('sc_main_python.cc')
679384SAndreas.Sandberg@arm.com