Deleted Added
sdiff udiff text old ( 5190:fc46e0d647b6 ) new ( 5192:582e583f8e7e )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Nathan Binkert
30
31Import('*')
32
33def make_cc(target, source, env):
34 assert(len(source) == 1)
35 assert(len(target) == 1)
36
37 traceflags = {}
38 execfile(str(source[0]), traceflags)
39 func = traceflags['gen_cc']
40 func(str(target[0]))
41
42def make_hh(target, source, env):
43 assert(len(source) == 1)
44 assert(len(target) == 1)
45
46 traceflags = {}
47 execfile(str(source[0]), traceflags)
48 func = traceflags['gen_hh']
49 func(str(target[0]))
50
51env.Command('traceflags.hh', 'traceflags.py', make_hh)
52env.Command('traceflags.cc', 'traceflags.py', make_cc)
53
54Source('annotate.cc')
55Source('bigint.cc')
56Source('circlebuf.cc')
57Source('cprintf.cc')
58Source('crc.cc')
59Source('fast_alloc.cc')
60if env['USE_FENV']:
61 Source('fenv.c')

--- 12 unchanged lines hidden (view full) ---

74Source('range.cc')
75Source('remote_gdb.cc')
76Source('sat_counter.cc')
77Source('socket.cc')
78Source('statistics.cc')
79Source('str.cc')
80Source('time.cc')
81Source('trace.cc')
82Source('traceflags.cc')
83Source('userinfo.cc')
84
85Source('compression/lzss_compression.cc')
86
87Source('loader/aout_object.cc')
88Source('loader/ecoff_object.cc')
89Source('loader/elf_object.cc')
90Source('loader/object_file.cc')

--- 5 unchanged lines hidden (view full) ---

96Source('stats/statdb.cc')
97Source('stats/text.cc')
98Source('stats/visit.cc')
99
100if env['USE_MYSQL']:
101 Source('mysql.cc')
102 Source('stats/mysql.cc')
103
104PySource('m5', 'traceflags.py')