SConstruct revision 8112
18112Sgblack@eecs.umich.edu# Copyright (c) 2011 Gabe Black
28112Sgblack@eecs.umich.edu# All rights reserved.
38112Sgblack@eecs.umich.edu#
48112Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
58112Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
68112Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
78112Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
88112Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
98112Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
108112Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
118112Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
128112Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
138112Sgblack@eecs.umich.edu# this software without specific prior written permission.
148112Sgblack@eecs.umich.edu#
158112Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
168112Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
178112Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
188112Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
198112Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
208112Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
218112Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
228112Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
238112Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
248112Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
258112Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
268112Sgblack@eecs.umich.edu#
278112Sgblack@eecs.umich.edu# Authors: Gabe Black
288112Sgblack@eecs.umich.edu
298112Sgblack@eecs.umich.edusources = ['statetrace.cc', 'tracechild.cc', 'tracechild_arch.cc']
308112Sgblack@eecs.umich.educxx_flags = "-O3 -ggdb -I ./ -I ./arch"
318112Sgblack@eecs.umich.eduobjects = [Object(source, CXXFLAGS=cxx_flags) for source in sources]
328112Sgblack@eecs.umich.eduProgram('statetrace', objects)
33