SConscript (6229:7cb9ce17a56f) | SConscript (6240:ceb4c8a5e7a2) |
---|---|
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 --- 970 unchanged lines hidden (view full) --- 979 980 static_objs = [ make_obj(s, True) for s in Source.get(skip_lib=False)] 981 shared_objs = [ make_obj(s, False) for s in Source.get(skip_lib=False)] 982 983 static_date = make_obj(date_source, static=True, extra_deps=static_objs) 984 static_objs.append(static_date) 985 986 shared_date = make_obj(date_source, static=False, extra_deps=shared_objs) | 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 --- 970 unchanged lines hidden (view full) --- 979 980 static_objs = [ make_obj(s, True) for s in Source.get(skip_lib=False)] 981 shared_objs = [ make_obj(s, False) for s in Source.get(skip_lib=False)] 982 983 static_date = make_obj(date_source, static=True, extra_deps=static_objs) 984 static_objs.append(static_date) 985 986 shared_date = make_obj(date_source, static=False, extra_deps=shared_objs) |
987 shared_objs.append(static_date) | 987 shared_objs.append(shared_date) |
988 989 # First make a library of everything but main() so other programs can 990 # link against m5. 991 static_lib = new_env.StaticLibrary(libname, static_objs) 992 shared_lib = new_env.SharedLibrary(libname, shared_objs) 993 994 for target, sources in unit_tests: 995 objs = [ make_obj(s, static=True) for s in sources ] --- 65 unchanged lines hidden --- | 988 989 # First make a library of everything but main() so other programs can 990 # link against m5. 991 static_lib = new_env.StaticLibrary(libname, static_objs) 992 shared_lib = new_env.SharedLibrary(libname, shared_objs) 993 994 for target, sources in unit_tests: 995 objs = [ make_obj(s, static=True) for s in sources ] --- 65 unchanged lines hidden --- |