SConscript revision 13404:5da37c38d749
14519Sgblack@eecs.umich.edu# Copyright 2018 Google, Inc.
24519Sgblack@eecs.umich.edu#
34519Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
44519Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
54519Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
64519Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
74519Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
84519Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
94519Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
104519Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
114519Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
124519Sgblack@eecs.umich.edu# this software without specific prior written permission.
134519Sgblack@eecs.umich.edu#
144519Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
154519Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
164519Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
174519Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
184519Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
194519Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
204519Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
214519Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
224519Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
234519Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
244519Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
254519Sgblack@eecs.umich.edu#
264519Sgblack@eecs.umich.edu# Authors: Gabe Black
274519Sgblack@eecs.umich.edu
284519Sgblack@eecs.umich.eduImport('*')
294519Sgblack@eecs.umich.edu
304519Sgblack@eecs.umich.eduif env['USE_SYSTEMC']:
314519Sgblack@eecs.umich.edu    SimObject('SystemC.py')
324519Sgblack@eecs.umich.edu
334519Sgblack@eecs.umich.edu    Source('channel.cc')
344519Sgblack@eecs.umich.edu    Source('event.cc')
354519Sgblack@eecs.umich.edu    Source('kernel.cc')
364519Sgblack@eecs.umich.edu    Source('messages.cc')
374519Sgblack@eecs.umich.edu    Source('module.cc')
384519Sgblack@eecs.umich.edu    Source('object.cc')
394519Sgblack@eecs.umich.edu    Source('port.cc')
404519Sgblack@eecs.umich.edu    Source('process.cc')
414519Sgblack@eecs.umich.edu    Source('python.cc')
424519Sgblack@eecs.umich.edu    Source('scheduler.cc')
434519Sgblack@eecs.umich.edu    Source('sched_event.cc')
444519Sgblack@eecs.umich.edu    Source('sensitivity.cc')
454519Sgblack@eecs.umich.edu    Source('time.cc')
464519Sgblack@eecs.umich.edu
474519Sgblack@eecs.umich.edu    Source('sc_attr.cc')
484519Sgblack@eecs.umich.edu    Source('sc_event.cc')
494519Sgblack@eecs.umich.edu    Source('sc_export.cc')
504519Sgblack@eecs.umich.edu    Source('sc_interface.cc')
514519Sgblack@eecs.umich.edu    Source('sc_join.cc')
524519Sgblack@eecs.umich.edu    Source('sc_main.cc')
534519Sgblack@eecs.umich.edu    Source('sc_main_fiber.cc')
544519Sgblack@eecs.umich.edu    Source('sc_module.cc')
554519Sgblack@eecs.umich.edu    Source('sc_module_name.cc')
564519Sgblack@eecs.umich.edu    Source('sc_object.cc')
574519Sgblack@eecs.umich.edu    Source('sc_port.cc')
584519Sgblack@eecs.umich.edu    Source('sc_process_handle.cc')
594519Sgblack@eecs.umich.edu    Source('sc_prim.cc')
604519Sgblack@eecs.umich.edu    Source('sc_sensitive.cc')
614519Sgblack@eecs.umich.edu    Source('sc_simcontext.cc')
624519Sgblack@eecs.umich.edu    Source('sc_spawn.cc')
634519Sgblack@eecs.umich.edu    Source('sc_time.cc')
644519Sgblack@eecs.umich.edu
654519Sgblack@eecs.umich.edu    if env['USE_PYTHON']:
664519Sgblack@eecs.umich.edu        Source('sc_main_python.cc')
674519Sgblack@eecs.umich.edu