OLD | NEW |
1 | 1 |
2 # Generates the makefile "sysd-rules" given a list of sysdeps | 2 # Generates the makefile "sysd-rules" given a list of sysdeps |
3 # subdirectories (the sysdirs search path). For every basename that | 3 # subdirectories (the sysdirs search path). For every basename that |
4 # appears in the search path, e.g. "vfork", it picks the source file | 4 # appears in the search path, e.g. "vfork", it picks the source file |
5 # that appears first, e.g. "sysdeps/unix/sysv/linux/i386/vfork.S". | 5 # that appears first, e.g. "sysdeps/unix/sysv/linux/i386/vfork.S". |
6 | 6 |
7 # TODO(mseaborn): Handle check-inhibit-asm | 7 # TODO(mseaborn): Handle check-inhibit-asm |
8 # TODO(mseaborn): Handle rule for installing .h files | 8 # TODO(mseaborn): Handle rule for installing .h files |
9 | 9 |
10 import os | 10 import os |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 "sysdeps/ieee754/flt-32/s_copysignf.c", | 142 "sysdeps/ieee754/flt-32/s_copysignf.c", |
143 "sysdeps/ieee754/flt-32/s_llrintf.c", | 143 "sysdeps/ieee754/flt-32/s_llrintf.c", |
144 "sysdeps/ieee754/flt-32/s_lrintf.c", | 144 "sysdeps/ieee754/flt-32/s_lrintf.c", |
145 "sysdeps/ieee754/ldbl-96/e_atanhl.c", | 145 "sysdeps/ieee754/ldbl-96/e_atanhl.c", |
146 "sysdeps/ieee754/ldbl-96/s_asinhl.c", | 146 "sysdeps/ieee754/ldbl-96/s_asinhl.c", |
147 "sysdeps/ieee754/ldbl-96/s_logbl.c", | 147 "sysdeps/ieee754/ldbl-96/s_logbl.c", |
148 "sysdeps/ieee754/ldbl-96/s_rintl.c", | 148 "sysdeps/ieee754/ldbl-96/s_rintl.c", |
149 "sysdeps/nacl/umount.c", | 149 "sysdeps/nacl/umount.c", |
150 "sysdeps/nacl/getpid.c", | 150 "sysdeps/nacl/getpid.c", |
151 "sysdeps/nacl/start.c", | 151 "sysdeps/nacl/start.c", |
| 152 "sysdeps/nacl/truncate.c", |
152 "sysdeps/posix/libc_fatal.c", | 153 "sysdeps/posix/libc_fatal.c", |
153 "sysdeps/posix/posix_fallocate.c", | 154 "sysdeps/posix/posix_fallocate.c", |
154 "sysdeps/posix/writev.c", | 155 "sysdeps/posix/writev.c", |
155 "sysdeps/unix/readdir_r.c", | 156 "sysdeps/unix/readdir_r.c", |
156 "sysdeps/unix/sysv/linux/epoll_pwait.c", | 157 "sysdeps/unix/sysv/linux/epoll_pwait.c", |
157 "sysdeps/unix/sysv/linux/fstatvfs.c", | 158 "sysdeps/unix/sysv/linux/fstatvfs.c", |
158 "sysdeps/unix/sysv/linux/getdirentries.c", | 159 "sysdeps/unix/sysv/linux/getdirentries.c", |
159 "sysdeps/unix/sysv/linux/openat.c", | 160 "sysdeps/unix/sysv/linux/openat.c", |
160 "sysdeps/unix/sysv/linux/sched_getcpu.c", | 161 "sysdeps/unix/sysv/linux/sched_getcpu.c", |
161 "sysdeps/unix/sysv/linux/statvfs.c", | 162 "sysdeps/unix/sysv/linux/statvfs.c", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 260 |
260 def main(args): | 261 def main(args): |
261 generator = RuleGenerator(args) | 262 generator = RuleGenerator(args) |
262 generator.scan_sysdirs() | 263 generator.scan_sysdirs() |
263 generator.put_override_warnings(sys.stdout) | 264 generator.put_override_warnings(sys.stdout) |
264 generator.put_rules(sys.stdout) | 265 generator.put_rules(sys.stdout) |
265 | 266 |
266 | 267 |
267 if __name__ == "__main__": | 268 if __name__ == "__main__": |
268 main(sys.argv[1:]) | 269 main(sys.argv[1:]) |
OLD | NEW |