SConscript (7768:cdb18c1b51ea) SConscript (8092:6782b51ae8a8)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
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

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

38Import('*')
39
40if env['TARGET_ISA'] == 'no':
41 Return()
42
43if not env['RUBY']:
44 Return()
45
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
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

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

38Import('*')
39
40if env['TARGET_ISA'] == 'no':
41 Return()
42
43if not env['RUBY']:
44 Return()
45
46Source('libruby.cc')
47
48def do_embed_text(target, source, env):
49 """convert a text file into a file that can be embedded in C
50 using an #include statement, that defines a \"const char *\" pointing
51 to the same text.
52
53 This is useful to embed scripts and configuration files in object files.
54 """
55

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

90 target = generated_dir.File(basename(source))
91 env.Command(target, source, MakeIncludeAction)
92
93MakeInclude('slicc_interface/AbstractEntry.hh')
94MakeInclude('slicc_interface/AbstractCacheEntry.hh')
95MakeInclude('slicc_interface/AbstractProtocol.hh')
96MakeInclude('slicc_interface/Message.hh')
97MakeInclude('slicc_interface/NetworkMessage.hh')
46def do_embed_text(target, source, env):
47 """convert a text file into a file that can be embedded in C
48 using an #include statement, that defines a \"const char *\" pointing
49 to the same text.
50
51 This is useful to embed scripts and configuration files in object files.
52 """
53

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

88 target = generated_dir.File(basename(source))
89 env.Command(target, source, MakeIncludeAction)
90
91MakeInclude('slicc_interface/AbstractEntry.hh')
92MakeInclude('slicc_interface/AbstractCacheEntry.hh')
93MakeInclude('slicc_interface/AbstractProtocol.hh')
94MakeInclude('slicc_interface/Message.hh')
95MakeInclude('slicc_interface/NetworkMessage.hh')
96MakeInclude('slicc_interface/RubyRequest.hh')
98
99# External types
100MakeInclude('buffers/MessageBuffer.hh')
101MakeInclude('common/Address.hh')
102MakeInclude('common/DataBlock.hh')
103MakeInclude('common/NetDest.hh')
104MakeInclude('common/Set.hh')
105MakeInclude('filters/GenericBloomFilter.hh')
106MakeInclude('system/CacheMemory.hh')
107MakeInclude('system/DMASequencer.hh')
108MakeInclude('system/DirectoryMemory.hh')
109MakeInclude('system/MachineID.hh')
110MakeInclude('system/MemoryControl.hh')
111MakeInclude('system/NodeID.hh')
112MakeInclude('system/PerfectCacheMemory.hh')
113MakeInclude('system/PersistentTable.hh')
114MakeInclude('system/Sequencer.hh')
115MakeInclude('system/TBETable.hh')
116MakeInclude('system/TimerTable.hh')
97
98# External types
99MakeInclude('buffers/MessageBuffer.hh')
100MakeInclude('common/Address.hh')
101MakeInclude('common/DataBlock.hh')
102MakeInclude('common/NetDest.hh')
103MakeInclude('common/Set.hh')
104MakeInclude('filters/GenericBloomFilter.hh')
105MakeInclude('system/CacheMemory.hh')
106MakeInclude('system/DMASequencer.hh')
107MakeInclude('system/DirectoryMemory.hh')
108MakeInclude('system/MachineID.hh')
109MakeInclude('system/MemoryControl.hh')
110MakeInclude('system/NodeID.hh')
111MakeInclude('system/PerfectCacheMemory.hh')
112MakeInclude('system/PersistentTable.hh')
113MakeInclude('system/Sequencer.hh')
114MakeInclude('system/TBETable.hh')
115MakeInclude('system/TimerTable.hh')