SConscript (6168:ba6fe02228db) | SConscript (6286:40b142645016) |
---|---|
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 --- 26 unchanged lines hidden (view full) --- 35 36import SCons 37 38Import('*') 39 40if not env['RUBY']: 41 Return() 42 | 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 --- 26 unchanged lines hidden (view full) --- 35 36import SCons 37 38Import('*') 39 40if not env['RUBY']: 41 Return() 42 |
43Source('init.cc') | 43Source('libruby.cc') |
44 45def do_embed_text(target, source, env): 46 """convert a text file into a file that can be embedded in C 47 using an #include statement, that defines a \"const char *\" pointing 48 to the same text. 49 50 This is useful to embed scripts and configuration files in object files. 51 """ --- 38 unchanged lines hidden (view full) --- 90 for s in source: 91 print >>f, '#include "%s"' % str(s.abspath) 92 f.close() 93 94def MakeInclude(source): 95 target = generated_dir.File(basename(source)) 96 env.Command(target, source, MakeIncludeAction) 97 | 44 45def do_embed_text(target, source, env): 46 """convert a text file into a file that can be embedded in C 47 using an #include statement, that defines a \"const char *\" pointing 48 to the same text. 49 50 This is useful to embed scripts and configuration files in object files. 51 """ --- 38 unchanged lines hidden (view full) --- 90 for s in source: 91 print >>f, '#include "%s"' % str(s.abspath) 92 f.close() 93 94def MakeInclude(source): 95 target = generated_dir.File(basename(source)) 96 env.Command(target, source, MakeIncludeAction) 97 |
98MakeInclude('slicc_interface/AbstractCacheEntry.hh') 99MakeInclude('slicc_interface/AbstractProtocol.hh') 100MakeInclude('slicc_interface/Message.hh') 101MakeInclude('slicc_interface/NetworkMessage.hh') 102 103# External types |
|
98MakeInclude('buffers/MessageBuffer.hh') 99MakeInclude('common/Address.hh') 100MakeInclude('common/DataBlock.hh') 101MakeInclude('common/NetDest.hh') 102MakeInclude('common/Set.hh') | 104MakeInclude('buffers/MessageBuffer.hh') 105MakeInclude('common/Address.hh') 106MakeInclude('common/DataBlock.hh') 107MakeInclude('common/NetDest.hh') 108MakeInclude('common/Set.hh') |
103MakeInclude('slicc_interface/AbstractCacheEntry.hh') 104MakeInclude('slicc_interface/AbstractProtocol.hh') 105MakeInclude('slicc_interface/Message.hh') 106MakeInclude('slicc_interface/NetworkMessage.hh') | 109MakeInclude('filters/GenericBloomFilter.hh') |
107MakeInclude('system/CacheMemory.hh') | 110MakeInclude('system/CacheMemory.hh') |
111MakeInclude('system/DMASequencer.hh') |
|
108MakeInclude('system/DirectoryMemory.hh') 109MakeInclude('system/MachineID.hh') 110MakeInclude('system/MemoryControl.hh') 111MakeInclude('system/NodeID.hh') | 112MakeInclude('system/DirectoryMemory.hh') 113MakeInclude('system/MachineID.hh') 114MakeInclude('system/MemoryControl.hh') 115MakeInclude('system/NodeID.hh') |
112MakeInclude('system/NodePersistentTable.hh') | |
113MakeInclude('system/PerfectCacheMemory.hh') | 116MakeInclude('system/PerfectCacheMemory.hh') |
114MakeInclude('system/PersistentTable.hh') | |
115MakeInclude('system/Sequencer.hh') | 117MakeInclude('system/Sequencer.hh') |
116MakeInclude('system/StoreBuffer.hh') | |
117MakeInclude('system/TBETable.hh') 118MakeInclude('system/TimerTable.hh') | 118MakeInclude('system/TBETable.hh') 119MakeInclude('system/TimerTable.hh') |