SConscript revision 13404
112852Sgabeblack@google.com# Copyright 2018 Google, Inc. 212852Sgabeblack@google.com# 312852Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 412852Sgabeblack@google.com# modification, are permitted provided that the following conditions are 512852Sgabeblack@google.com# met: redistributions of source code must retain the above copyright 612852Sgabeblack@google.com# notice, this list of conditions and the following disclaimer; 712852Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright 812852Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the 912852Sgabeblack@google.com# documentation and/or other materials provided with the distribution; 1012852Sgabeblack@google.com# neither the name of the copyright holders nor the names of its 1112852Sgabeblack@google.com# contributors may be used to endorse or promote products derived from 1212852Sgabeblack@google.com# this software without specific prior written permission. 1312852Sgabeblack@google.com# 1412852Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1512852Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1612852Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1712852Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1812852Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1912852Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2012852Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2112852Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2212852Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2312852Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2412852Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2512852Sgabeblack@google.com# 2612852Sgabeblack@google.com# Authors: Gabe Black 2712852Sgabeblack@google.com 2812852Sgabeblack@google.comImport('*') 2912852Sgabeblack@google.com 3012852Sgabeblack@google.comif env['USE_SYSTEMC']: 3112852Sgabeblack@google.com SimObject('SystemC.py') 3213312Sgabeblack@google.com 3312852Sgabeblack@google.com Source('channel.cc') 3412852Sgabeblack@google.com Source('event.cc') 3512852Sgabeblack@google.com Source('kernel.cc') 3612852Sgabeblack@google.com Source('messages.cc') 3713245Sgabeblack@google.com Source('module.cc') 3813245Sgabeblack@google.com Source('object.cc') 3912852Sgabeblack@google.com Source('port.cc') 40 Source('process.cc') 41 Source('python.cc') 42 Source('scheduler.cc') 43 Source('sched_event.cc') 44 Source('sensitivity.cc') 45 Source('time.cc') 46 47 Source('sc_attr.cc') 48 Source('sc_event.cc') 49 Source('sc_export.cc') 50 Source('sc_interface.cc') 51 Source('sc_join.cc') 52 Source('sc_main.cc') 53 Source('sc_main_fiber.cc') 54 Source('sc_module.cc') 55 Source('sc_module_name.cc') 56 Source('sc_object.cc') 57 Source('sc_port.cc') 58 Source('sc_process_handle.cc') 59 Source('sc_prim.cc') 60 Source('sc_sensitive.cc') 61 Source('sc_simcontext.cc') 62 Source('sc_spawn.cc') 63 Source('sc_time.cc') 64 65 if env['USE_PYTHON']: 66 Source('sc_main_python.cc') 67