SConscript (4045:43eb54e807d1) | SConscript (4053:ee914b22709e) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 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 --- 83 unchanged lines hidden (view full) --- 92 [ '#/AUTHORS', '#/LICENSE', '#/README', '#/RELEASE_NOTES' ], 93 MakeInfoPyFile) 94 95# Now specify the packages & files for the zip archive. 96addPkg('m5') 97pyzip_files.append('m5/defines.py') 98pyzip_files.append('m5/info.py') 99pyzip_files.append(join(env['ROOT'], 'util/pbs/jobfile.py')) | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 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 --- 83 unchanged lines hidden (view full) --- 92 [ '#/AUTHORS', '#/LICENSE', '#/README', '#/RELEASE_NOTES' ], 93 MakeInfoPyFile) 94 95# Now specify the packages & files for the zip archive. 96addPkg('m5') 97pyzip_files.append('m5/defines.py') 98pyzip_files.append('m5/info.py') 99pyzip_files.append(join(env['ROOT'], 'util/pbs/jobfile.py')) |
100pyzip_files.append(join(env['ROOT'], 'src/base/traceflags.py')) |
|
100 101def swig_it(basename): 102 env.Command(['swig/%s_wrap.cc' % basename, 'm5/internal/%s.py' % basename], 103 'swig/%s.i' % basename, 104 '$SWIG $SWIGFLAGS -outdir ${TARGETS[1].dir} ' 105 '-o ${TARGETS[0]} $SOURCES') 106 pyzip_dep_files.append('m5/internal/%s.py' % basename) 107 --- 16 unchanged lines hidden --- | 101 102def swig_it(basename): 103 env.Command(['swig/%s_wrap.cc' % basename, 'm5/internal/%s.py' % basename], 104 'swig/%s.i' % basename, 105 '$SWIG $SWIGFLAGS -outdir ${TARGETS[1].dir} ' 106 '-o ${TARGETS[0]} $SOURCES') 107 pyzip_dep_files.append('m5/internal/%s.py' % basename) 108 --- 16 unchanged lines hidden --- |