SConstruct revision 8112
12124SN/A# Copyright (c) 2011 Gabe Black
22124SN/A# All rights reserved.
32754Sksewell@umich.edu#
42124SN/A# Redistribution and use in source and binary forms, with or without
52022SN/A# modification, are permitted provided that the following conditions are
62124SN/A# met: redistributions of source code must retain the above copyright
72124SN/A# notice, this list of conditions and the following disclaimer;
82124SN/A# redistributions in binary form must reproduce the above copyright
92124SN/A# notice, this list of conditions and the following disclaimer in the
102124SN/A# documentation and/or other materials provided with the distribution;
112124SN/A# neither the name of the copyright holders nor the names of its
122124SN/A# contributors may be used to endorse or promote products derived from
132124SN/A# this software without specific prior written permission.
142124SN/A#
152124SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162022SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
172124SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
182124SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
192124SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
202124SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
212124SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
222124SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
232124SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
242124SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252124SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262124SN/A#
272124SN/A# Authors: Gabe Black
282665Ssaidi@eecs.umich.edu
292935Sksewell@umich.edusources = ['statetrace.cc', 'tracechild.cc', 'tracechild_arch.cc']
302665Ssaidi@eecs.umich.educxx_flags = "-O3 -ggdb -I ./ -I ./arch"
312022SN/Aobjects = [Object(source, CXXFLAGS=cxx_flags) for source in sources]
322649Ssaidi@eecs.umich.eduProgram('statetrace', objects)
332649Ssaidi@eecs.umich.edu