SConscript (5190:fc46e0d647b6) SConscript (5192:582e583f8e7e)
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
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')
33Source('annotate.cc')
34Source('bigint.cc')
35Source('circlebuf.cc')
36Source('cprintf.cc')
37Source('crc.cc')
38Source('fast_alloc.cc')
39if env['USE_FENV']:
40 Source('fenv.c')

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

53Source('range.cc')
54Source('remote_gdb.cc')
55Source('sat_counter.cc')
56Source('socket.cc')
57Source('statistics.cc')
58Source('str.cc')
59Source('time.cc')
60Source('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
61Source('userinfo.cc')
62
63Source('compression/lzss_compression.cc')
64
65Source('loader/aout_object.cc')
66Source('loader/ecoff_object.cc')
67Source('loader/elf_object.cc')
68Source('loader/object_file.cc')

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

74Source('stats/statdb.cc')
75Source('stats/text.cc')
76Source('stats/visit.cc')
77
78if env['USE_MYSQL']:
79 Source('mysql.cc')
80 Source('stats/mysql.cc')
81
104PySource('m5', 'traceflags.py')
82TraceFlag('Annotate')
83TraceFlag('GDBAcc')
84TraceFlag('GDBExtra')
85TraceFlag('GDBMisc')
86TraceFlag('GDBRead')
87TraceFlag('GDBRecv')
88TraceFlag('GDBSend')
89TraceFlag('GDBWrite')
90TraceFlag('SQL')
91TraceFlag('StatEvents')
92
93CompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend',
94 'GDBRecv', 'GDBExtra' ])