Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 1 | # Automake input for strace. |
| 2 | |
Dmitry V. Levin | 679c47c | 2015-01-23 22:45:02 +0000 | [diff] [blame] | 3 | if HAVE_M32_RUNTIME |
| 4 | TESTS_M32 = tests-m32 |
| 5 | endif |
| 6 | if HAVE_MX32_RUNTIME |
| 7 | TESTS_MX32 = tests-mx32 |
| 8 | endif |
| 9 | SUBDIRS = tests $(TESTS_M32) $(TESTS_MX32) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 10 | |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 11 | bin_PROGRAMS = strace |
| 12 | man_MANS = strace.1 |
Denys Vlasenko | 796f6e8 | 2012-03-09 14:21:59 +0100 | [diff] [blame] | 13 | bin_SCRIPTS = strace-graph strace-log-merge |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 14 | |
Dmitry V. Levin | ee245d8 | 2012-02-25 15:34:10 +0100 | [diff] [blame] | 15 | OS = linux |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 16 | # ARCH is `i386', `m68k', `sparc', etc. |
| 17 | ARCH = @arch@ |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 18 | |
Dmitry V. Levin | 916aded | 2010-09-09 17:36:36 +0000 | [diff] [blame] | 19 | ACLOCAL_AMFLAGS = -I m4 |
Dmitry V. Levin | 918e49b | 2010-09-09 17:41:15 +0000 | [diff] [blame] | 20 | AM_CFLAGS = $(WARN_CFLAGS) |
Dmitry V. Levin | 579836c | 2015-01-13 06:12:16 +0000 | [diff] [blame] | 21 | AM_CPPFLAGS = -I$(builddir)/$(OS)/$(ARCH) \ |
| 22 | -I$(srcdir)/$(OS)/$(ARCH) \ |
| 23 | -I$(builddir)/$(OS) \ |
Dmitry V. Levin | cf3ecbd | 2015-08-26 22:50:58 +0000 | [diff] [blame] | 24 | -I$(srcdir)/$(OS) \ |
| 25 | -I$(builddir) \ |
| 26 | -I$(srcdir) |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 27 | |
Mike Frysinger | 761ed9b | 2014-02-16 01:59:20 -0500 | [diff] [blame] | 28 | include xlat/Makemodule.am |
| 29 | |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 30 | strace_CPPFLAGS = $(AM_CPPFLAGS) |
| 31 | strace_LDFLAGS = |
| 32 | strace_LDADD = |
| 33 | noinst_LIBRARIES = |
| 34 | |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 35 | strace_SOURCES = \ |
Dmitry V. Levin | 304cd81 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 36 | access.c \ |
Dmitry V. Levin | b94b983 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 37 | affinity.c \ |
Dmitry V. Levin | 2b64034 | 2013-11-11 15:06:18 +0000 | [diff] [blame] | 38 | aio.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 39 | bjm.c \ |
| 40 | block.c \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 41 | bpf.c \ |
Dmitry V. Levin | 95edb8b | 2014-12-03 20:50:08 +0000 | [diff] [blame] | 42 | cacheflush.c \ |
Dmitry V. Levin | 5e7987b | 2014-12-03 20:30:15 +0000 | [diff] [blame] | 43 | capability.c \ |
Dmitry V. Levin | 2f0808b | 2015-02-18 23:59:50 +0000 | [diff] [blame] | 44 | caps0.h \ |
| 45 | caps1.h \ |
Dmitry V. Levin | 9b2f674 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 46 | chdir.c \ |
Dmitry V. Levin | ad5cf1e | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 47 | chmod.c \ |
Dmitry V. Levin | 265903a | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 48 | clone.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 49 | count.c \ |
| 50 | desc.c \ |
Dmitry V. Levin | 2ed2cc7 | 2014-09-11 22:40:37 +0000 | [diff] [blame] | 51 | dirent.c \ |
Dmitry V. Levin | a367db8 | 2015-11-19 18:13:53 +0000 | [diff] [blame] | 52 | dirent64.c \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 53 | empty.h \ |
Dmitry V. Levin | aba868c | 2015-08-01 22:58:17 +0000 | [diff] [blame] | 54 | epoll.c \ |
Etienne Gemsa | 4f750b9 | 2015-02-20 17:14:10 +0100 | [diff] [blame] | 55 | evdev.c \ |
Dmitry V. Levin | 28471d1 | 2015-08-01 20:36:53 +0000 | [diff] [blame] | 56 | eventfd.c \ |
Dmitry V. Levin | 7be2318 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 57 | execve.c \ |
Dmitry V. Levin | 9175909 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 58 | exit.c \ |
Dmitry V. Levin | 63f28dd | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 59 | fadvise.c \ |
Dmitry V. Levin | 2795a5f | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 60 | fallocate.c \ |
Dmitry V. Levin | 99db95d | 2014-02-05 04:13:18 +0000 | [diff] [blame] | 61 | fanotify.c \ |
Dmitry V. Levin | 2f7d020 | 2014-12-13 16:20:44 +0000 | [diff] [blame] | 62 | fchownat.c \ |
Dmitry V. Levin | 2512003 | 2015-10-01 12:24:01 +0000 | [diff] [blame] | 63 | fcntl.c \ |
Dmitry V. Levin | 7a12974 | 2015-09-19 21:28:23 +0000 | [diff] [blame] | 64 | fetch_seccomp_fprog.c \ |
Dmitry V. Levin | 1a713d9 | 2015-09-19 23:48:56 +0000 | [diff] [blame] | 65 | fetch_struct_flock.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 66 | file.c \ |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 67 | file_handle.c \ |
Dmitry V. Levin | 5d68f46 | 2015-10-01 12:20:11 +0000 | [diff] [blame] | 68 | flock.c \ |
Dmitry V. Levin | 6250e6c | 2015-10-09 01:38:07 +0000 | [diff] [blame] | 69 | flock.h \ |
Dmitry V. Levin | e314f80 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 70 | futex.c \ |
Dmitry V. Levin | 8357638 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 71 | get_robust_list.c \ |
Dmitry V. Levin | 665f10c | 2014-12-11 19:21:54 +0000 | [diff] [blame] | 72 | getcpu.c \ |
Dmitry V. Levin | a836430 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 73 | getcwd.c \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 74 | getrandom.c \ |
Dmitry V. Levin | 03c06ea | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 75 | hostname.c \ |
Dmitry V. Levin | 2f332e9 | 2014-02-05 15:43:04 +0000 | [diff] [blame] | 76 | inotify.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 77 | io.c \ |
| 78 | ioctl.c \ |
Dmitry V. Levin | 2aa180e | 2015-11-22 18:18:43 +0000 | [diff] [blame] | 79 | ioperm.c \ |
Dmitry V. Levin | dcd00c3 | 2015-11-22 18:21:54 +0000 | [diff] [blame] | 80 | iopl.c \ |
Dmitry V. Levin | fc4727d | 2014-02-05 17:27:43 +0000 | [diff] [blame] | 81 | ioprio.c \ |
Elvira Khabirova | c01ad06 | 2015-08-19 05:06:26 +0300 | [diff] [blame] | 82 | ipc_defs.h \ |
| 83 | ipc_msg.c \ |
| 84 | ipc_msgctl.c \ |
| 85 | ipc_sem.c \ |
| 86 | ipc_shm.c \ |
| 87 | ipc_shmctl.c \ |
Dmitry V. Levin | 7aa9c0d | 2015-11-22 18:35:27 +0000 | [diff] [blame] | 88 | kcmp.c \ |
Dmitry V. Levin | bdb07e3 | 2015-11-27 01:51:22 +0000 | [diff] [blame] | 89 | kernel_types.h \ |
Dmitry V. Levin | 90aa9f4 | 2014-02-05 13:48:26 +0000 | [diff] [blame] | 90 | kexec.c \ |
Dmitry V. Levin | 3acf403 | 2014-02-05 22:41:45 +0000 | [diff] [blame] | 91 | keyctl.c \ |
Dmitry V. Levin | 99a0544 | 2014-04-10 14:10:17 +0000 | [diff] [blame] | 92 | ldt.c \ |
Dmitry V. Levin | 231b19f | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 93 | link.c \ |
Dmitry V. Levin | c31481f | 2015-12-04 14:37:02 +0000 | [diff] [blame] | 94 | linux/asm_stat.h \ |
Dmitry V. Levin | cfde1e3 | 2015-12-04 15:00:37 +0000 | [diff] [blame] | 95 | linux/x32/asm_stat.h \ |
Dmitry V. Levin | 60d7524 | 2015-11-22 19:28:17 +0000 | [diff] [blame] | 96 | lookup_dcookie.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 97 | loop.c \ |
Dmitry V. Levin | b5d25ec | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 98 | lseek.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 99 | mem.c \ |
Dmitry V. Levin | 2aec1e6 | 2015-11-15 02:29:29 +0000 | [diff] [blame] | 100 | membarrier.c \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 101 | memfd_create.c \ |
Dmitry V. Levin | db23b34 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 102 | mknod.c \ |
Dmitry V. Levin | 6da7ca3 | 2014-12-03 21:12:07 +0000 | [diff] [blame] | 103 | mount.c \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 104 | mpers_type.h \ |
Dmitry V. Levin | e2fb0bb | 2015-09-15 21:51:15 +0000 | [diff] [blame] | 105 | mq.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 106 | mtd.c \ |
Dmitry V. Levin | e2fb0bb | 2015-09-15 21:51:15 +0000 | [diff] [blame] | 107 | native_defs.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 108 | net.c \ |
Dmitry V. Levin | 964d80a | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 109 | open.c \ |
Dmitry V. Levin | f6eb0d6 | 2014-12-03 20:00:42 +0000 | [diff] [blame] | 110 | or1k_atomic.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 111 | pathtrace.c \ |
Dmitry V. Levin | 0d60cf7 | 2015-08-01 20:28:21 +0000 | [diff] [blame] | 112 | perf.c \ |
Dmitry V. Levin | d28b6a0 | 2014-12-03 21:06:11 +0000 | [diff] [blame] | 113 | personality.c \ |
Dmitry V. Levin | 811bda6 | 2015-07-30 16:49:42 +0000 | [diff] [blame] | 114 | poll.c \ |
Dmitry V. Levin | 53c993d | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 115 | prctl.c \ |
Elvira Khabirova | c01ad06 | 2015-08-19 05:06:26 +0300 | [diff] [blame] | 116 | print_mq_attr.c \ |
| 117 | print_msgbuf.c \ |
Dmitry V. Levin | d6b0558 | 2015-09-16 18:05:43 +0000 | [diff] [blame] | 118 | print_sigevent.c \ |
Dmitry V. Levin | b5a23ed | 2015-08-04 01:52:40 +0300 | [diff] [blame] | 119 | print_time.c \ |
Dmitry V. Levin | dd6bf4b | 2015-09-16 21:47:48 +0000 | [diff] [blame] | 120 | print_timex.c \ |
Dmitry V. Levin | 9514ac7 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 121 | printmode.c \ |
Dmitry V. Levin | 1e08a16 | 2015-07-17 23:50:02 +0000 | [diff] [blame] | 122 | printrusage.c \ |
Dmitry V. Levin | 537c964 | 2015-03-27 23:28:15 +0000 | [diff] [blame] | 123 | printsiginfo.c \ |
Dmitry V. Levin | 0e946ab | 2015-07-17 23:56:54 +0000 | [diff] [blame] | 124 | printsiginfo.h \ |
Dmitry V. Levin | ab21a94 | 2014-12-28 18:15:25 +0000 | [diff] [blame] | 125 | printstat.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 126 | process.c \ |
Dmitry V. Levin | db16c52 | 2014-12-11 19:21:54 +0000 | [diff] [blame] | 127 | process_vm.c \ |
Stefan Sørensen | b88a6f8 | 2014-01-31 12:01:01 +0100 | [diff] [blame] | 128 | ptp.c \ |
Dmitry V. Levin | fadf379 | 2015-02-13 00:26:38 +0000 | [diff] [blame] | 129 | ptrace.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 130 | quota.c \ |
Dmitry V. Levin | 9e9ceab | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 131 | readahead.c \ |
Dmitry V. Levin | 46245b3 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 132 | readlink.c \ |
Dmitry V. Levin | 9aaf88c | 2014-02-05 14:51:19 +0000 | [diff] [blame] | 133 | reboot.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 134 | regs.h \ |
Dmitry V. Levin | 6d20a0b | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 135 | renameat.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 136 | resource.c \ |
Dmitry V. Levin | 746db06 | 2015-07-04 08:56:21 +0000 | [diff] [blame] | 137 | rtc.c \ |
Dmitry V. Levin | fff2f31 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 138 | sched.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 139 | scsi.c \ |
Dmitry V. Levin | 2af6903 | 2015-02-04 23:50:50 +0000 | [diff] [blame] | 140 | seccomp.c \ |
Dmitry V. Levin | 7a12974 | 2015-09-19 21:28:23 +0000 | [diff] [blame] | 141 | seccomp_fprog.h \ |
Dmitry V. Levin | ac2e728 | 2015-08-18 22:09:30 +0000 | [diff] [blame] | 142 | sendfile.c \ |
Dmitry V. Levin | 174bb2b | 2015-03-26 13:03:25 +0000 | [diff] [blame] | 143 | sigaltstack.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 144 | signal.c \ |
Dmitry V. Levin | 2307d5c | 2015-08-03 09:12:26 +0000 | [diff] [blame] | 145 | signalfd.c \ |
Dmitry V. Levin | 74219ea | 2015-03-06 01:47:18 +0000 | [diff] [blame] | 146 | sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 147 | sock.c \ |
Dmitry V. Levin | 2f6510c | 2014-08-21 03:17:48 +0000 | [diff] [blame] | 148 | socketutils.c \ |
Dmitry V. Levin | e36c72c | 2014-12-03 20:56:36 +0000 | [diff] [blame] | 149 | sram_alloc.c \ |
Dmitry V. Levin | 9a0dd74 | 2014-09-22 00:17:42 +0000 | [diff] [blame] | 150 | statfs.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 151 | strace.c \ |
Dmitry V. Levin | 85a364a | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 152 | swapon.c \ |
Dmitry V. Levin | 710b3ae | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 153 | sync_file_range.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 154 | syscall.c \ |
Dmitry V. Levin | 172241b | 2014-12-03 20:20:52 +0000 | [diff] [blame] | 155 | sysctl.c \ |
Dmitry V. Levin | 57d45a2 | 2014-09-29 23:13:05 +0000 | [diff] [blame] | 156 | sysinfo.c \ |
Dmitry V. Levin | b21e2fb | 2014-12-03 21:01:35 +0000 | [diff] [blame] | 157 | syslog.c \ |
Dmitry V. Levin | 600e33c | 2014-12-03 20:08:44 +0000 | [diff] [blame] | 158 | sysmips.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 159 | term.c \ |
| 160 | time.c \ |
Elvira Khabirova | 254ff1e | 2015-08-03 07:09:34 +0300 | [diff] [blame] | 161 | times.c \ |
Dmitry V. Levin | 6934182 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 162 | truncate.c \ |
Dmitry V. Levin | e93ef1e | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 163 | uid.c \ |
Dmitry V. Levin | 80f7db1 | 2014-12-13 21:49:01 +0000 | [diff] [blame] | 164 | uid16.c \ |
Dmitry V. Levin | d590f3c | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 165 | umask.c \ |
Dmitry V. Levin | 542ca1e | 2014-12-03 21:09:26 +0000 | [diff] [blame] | 166 | umount.c \ |
Dmitry V. Levin | 58dd2cf | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 167 | uname.c \ |
Dmitry V. Levin | a6ebdb1 | 2015-11-15 02:22:44 +0000 | [diff] [blame] | 168 | userfaultfd.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 169 | util.c \ |
Dmitry V. Levin | fb470f3 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 170 | utime.c \ |
Dmitry V. Levin | 481e067 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 171 | utimes.c \ |
Philippe De Muyter | 0cc9614 | 2014-11-03 21:27:40 +0100 | [diff] [blame] | 172 | v4l2.c \ |
Dmitry V. Levin | 769ffe9 | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 173 | vsprintf.c \ |
Dmitry V. Levin | 7ccc144 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 174 | wait.c \ |
Dmitry V. Levin | 3e9d71f | 2015-05-25 20:41:02 +0000 | [diff] [blame] | 175 | xattr.c \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 176 | xmalloc.c \ |
| 177 | # end of strace_SOURCES |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 178 | |
Luca Clementi | 327064b | 2013-07-23 00:11:35 -0700 | [diff] [blame] | 179 | if USE_LIBUNWIND |
| 180 | strace_SOURCES += unwind.c |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 181 | strace_CPPFLAGS += $(libunwind_CPPFLAGS) |
| 182 | strace_LDFLAGS += $(libunwind_LDFLAGS) |
| 183 | strace_LDADD += $(libunwind_LIBS) |
Luca Clementi | 327064b | 2013-07-23 00:11:35 -0700 | [diff] [blame] | 184 | endif |
| 185 | |
Roland McGrath | 2746edd | 2002-12-30 09:13:08 +0000 | [diff] [blame] | 186 | noinst_HEADERS = defs.h |
Denys Vlasenko | 76f61be | 2013-03-06 18:59:09 +0100 | [diff] [blame] | 187 | # Enable this to get link map generated |
| 188 | #strace_CFLAGS = $(AM_CFLAGS) -Wl,-Map=strace.mapfile |
Roland McGrath | 6d2b349 | 2002-12-30 00:51:30 +0000 | [diff] [blame] | 189 | |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 190 | EXTRA_DIST = \ |
| 191 | $(man_MANS) \ |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 192 | .version \ |
Mike Frysinger | 6c19136 | 2013-05-15 16:33:09 -0400 | [diff] [blame] | 193 | COPYING \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 194 | CREDITS \ |
| 195 | ChangeLog \ |
| 196 | ChangeLog-CVS \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 197 | README-linux-ptrace \ |
| 198 | debian/changelog \ |
| 199 | debian/compat \ |
| 200 | debian/control \ |
| 201 | debian/copyright \ |
| 202 | debian/rules \ |
| 203 | debian/source/format \ |
| 204 | debian/strace-udeb.install \ |
| 205 | debian/strace.docs \ |
| 206 | debian/strace.examples \ |
| 207 | debian/strace.install \ |
| 208 | debian/strace.manpages \ |
| 209 | debian/strace64.install \ |
| 210 | debian/strace64.manpages \ |
| 211 | debian/watch \ |
| 212 | errnoent.sh \ |
Elvira Khabirova | 28e32df | 2015-07-10 22:24:54 +0300 | [diff] [blame] | 213 | generate_sen.sh \ |
Dmitry V. Levin | 00119f6 | 2014-11-04 01:40:42 +0000 | [diff] [blame] | 214 | ioctlsort.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 215 | linux/32/ioctls_inc.h \ |
Dmitry V. Levin | 8c20d89 | 2015-05-21 16:19:40 +0000 | [diff] [blame] | 216 | linux/32/ioctls_inc_align32.h \ |
| 217 | linux/32/ioctls_inc_align64.h \ |
Dmitry V. Levin | dee03a3 | 2015-01-11 04:04:54 +0300 | [diff] [blame] | 218 | linux/32/syscallent.h \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 219 | linux/64/ioctls_inc.h \ |
Dmitry V. Levin | 200c02c | 2015-01-10 20:51:37 +0300 | [diff] [blame] | 220 | linux/64/syscallent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 221 | linux/aarch64/arch_regs.c \ |
Andreas Schwab | 64fc9ce | 2015-03-12 11:54:08 +0100 | [diff] [blame] | 222 | linux/aarch64/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 223 | linux/aarch64/arch_sigreturn.c \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 224 | linux/aarch64/errnoent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 225 | linux/aarch64/get_error.c \ |
| 226 | linux/aarch64/get_scno.c \ |
| 227 | linux/aarch64/get_syscall_args.c\ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 228 | linux/aarch64/ioctls_arch0.h \ |
| 229 | linux/aarch64/ioctls_arch1.h \ |
| 230 | linux/aarch64/ioctls_inc0.h \ |
| 231 | linux/aarch64/ioctls_inc1.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 232 | linux/aarch64/signalent1.h \ |
| 233 | linux/aarch64/syscallent.h \ |
| 234 | linux/aarch64/syscallent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 235 | linux/alpha/arch_getrval2.c \ |
| 236 | linux/alpha/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 237 | linux/alpha/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 238 | linux/alpha/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 239 | linux/alpha/errnoent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 240 | linux/alpha/get_error.c \ |
| 241 | linux/alpha/get_scno.c \ |
| 242 | linux/alpha/get_syscall_args.c \ |
| 243 | linux/alpha/get_syscall_result.c\ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 244 | linux/alpha/ioctls_arch0.h \ |
| 245 | linux/alpha/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 246 | linux/alpha/signalent.h \ |
| 247 | linux/alpha/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 248 | linux/alpha/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 249 | linux/arc/arch_regs.c \ |
| 250 | linux/arc/get_error.c \ |
| 251 | linux/arc/get_scno.c \ |
| 252 | linux/arc/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 253 | linux/arc/ioctls_arch0.h \ |
| 254 | linux/arc/ioctls_inc0.h \ |
Vineet Gupta | 7daacbb | 2013-08-16 12:47:06 +0530 | [diff] [blame] | 255 | linux/arc/syscallent.h \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 256 | linux/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 257 | linux/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 258 | linux/arm/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 259 | linux/arm/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 260 | linux/arm/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 261 | linux/arm/get_error.c \ |
| 262 | linux/arm/get_scno.c \ |
| 263 | linux/arm/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 264 | linux/arm/ioctls_arch0.h \ |
| 265 | linux/arm/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 266 | linux/arm/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 267 | linux/arm/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 268 | linux/avr32/arch_regs.c \ |
| 269 | linux/avr32/get_error.c \ |
| 270 | linux/avr32/get_scno.c \ |
| 271 | linux/avr32/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 272 | linux/avr32/ioctls_arch0.h \ |
| 273 | linux/avr32/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 274 | linux/avr32/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 275 | linux/avr32/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 276 | linux/bfin/arch_regs.c \ |
| 277 | linux/bfin/get_error.c \ |
| 278 | linux/bfin/get_scno.c \ |
| 279 | linux/bfin/get_syscall_args.c \ |
| 280 | linux/bfin/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 281 | linux/bfin/ioctls_arch0.h \ |
| 282 | linux/bfin/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 283 | linux/bfin/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 284 | linux/bfin/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 285 | linux/crisv10/arch_regs.c \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 286 | linux/crisv10/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 287 | linux/crisv10/get_error.c \ |
| 288 | linux/crisv10/get_scno.c \ |
| 289 | linux/crisv10/get_syscall_args.c \ |
| 290 | linux/crisv10/get_syscall_result.c \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 291 | linux/crisv10/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 292 | linux/crisv32/arch_regs.c \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 293 | linux/crisv32/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 294 | linux/crisv32/get_error.c \ |
| 295 | linux/crisv32/get_scno.c \ |
| 296 | linux/crisv32/get_syscall_args.c \ |
| 297 | linux/crisv32/get_syscall_result.c \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 298 | linux/crisv32/userent.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 299 | linux/dummy.h \ |
| 300 | linux/errnoent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 301 | linux/hppa/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 302 | linux/hppa/arch_regs.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 303 | linux/hppa/errnoent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 304 | linux/hppa/get_error.c \ |
| 305 | linux/hppa/get_scno.c \ |
| 306 | linux/hppa/get_syscall_args.c \ |
| 307 | linux/hppa/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 308 | linux/hppa/ioctls_arch0.h \ |
| 309 | linux/hppa/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 310 | linux/hppa/signalent.h \ |
| 311 | linux/hppa/syscallent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 312 | linux/i386/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 313 | linux/i386/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 314 | linux/i386/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 315 | linux/i386/get_error.c \ |
| 316 | linux/i386/get_scno.c \ |
| 317 | linux/i386/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 318 | linux/i386/ioctls_arch0.h \ |
| 319 | linux/i386/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 320 | linux/i386/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 321 | linux/i386/userent.h \ |
| 322 | linux/i386/userent0.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 323 | linux/ia64/arch_getrval2.c \ |
| 324 | linux/ia64/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 325 | linux/ia64/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 326 | linux/ia64/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 327 | linux/ia64/get_error.c \ |
| 328 | linux/ia64/get_scno.c \ |
| 329 | linux/ia64/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 330 | linux/ia64/ioctls_arch0.h \ |
| 331 | linux/ia64/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 332 | linux/ia64/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 333 | linux/ia64/userent.h \ |
Dmitry V. Levin | 2f6510c | 2014-08-21 03:17:48 +0000 | [diff] [blame] | 334 | linux/inet_diag.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 335 | linux/m68k/arch_regs.c \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 336 | linux/m68k/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 337 | linux/m68k/get_error.c \ |
| 338 | linux/m68k/get_scno.c \ |
| 339 | linux/m68k/get_syscall_args.c \ |
| 340 | linux/m68k/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 341 | linux/m68k/ioctls_arch0.h \ |
| 342 | linux/m68k/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 343 | linux/m68k/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 344 | linux/m68k/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 345 | linux/metag/arch_regs.c \ |
| 346 | linux/metag/get_error.c \ |
| 347 | linux/metag/get_scno.c \ |
| 348 | linux/metag/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 349 | linux/metag/ioctls_arch0.h \ |
| 350 | linux/metag/ioctls_inc0.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 351 | linux/metag/syscallent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 352 | linux/microblaze/arch_regs.c \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 353 | linux/microblaze/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 354 | linux/microblaze/get_error.c \ |
| 355 | linux/microblaze/get_scno.c \ |
| 356 | linux/microblaze/get_syscall_args.c \ |
| 357 | linux/microblaze/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 358 | linux/microblaze/ioctls_arch0.h \ |
| 359 | linux/microblaze/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 360 | linux/microblaze/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 361 | linux/microblaze/userent.h \ |
Dmitry V. Levin | 8e8d7d2 | 2015-03-23 23:14:08 +0000 | [diff] [blame] | 362 | linux/mips/arch_getrval2.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 363 | linux/mips/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 364 | linux/mips/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 365 | linux/mips/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 366 | linux/mips/errnoent.h \ |
Dmitry V. Levin | d59287d | 2015-01-13 04:57:27 +0000 | [diff] [blame] | 367 | linux/mips/genstub.sh \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 368 | linux/mips/get_error.c \ |
| 369 | linux/mips/get_scno.c \ |
| 370 | linux/mips/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 371 | linux/mips/ioctls_arch0.h \ |
| 372 | linux/mips/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 373 | linux/mips/signalent.h \ |
Dmitry V. Levin | 34c445b | 2013-05-07 02:46:46 +0000 | [diff] [blame] | 374 | linux/mips/syscallent-compat.h \ |
| 375 | linux/mips/syscallent-n32.h \ |
| 376 | linux/mips/syscallent-n64.h \ |
| 377 | linux/mips/syscallent-o32.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 378 | linux/mips/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 379 | linux/mips/userent.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 380 | linux/mtd-abi.h \ |
Ezequiel Garcia | bd8dd77 | 2015-04-18 17:33:27 -0300 | [diff] [blame] | 381 | linux/nios2/arch_regs.c \ |
| 382 | linux/nios2/get_error.c \ |
| 383 | linux/nios2/get_scno.c \ |
| 384 | linux/nios2/get_syscall_args.c \ |
| 385 | linux/nios2/ioctls_arch0.h \ |
| 386 | linux/nios2/ioctls_inc0.h \ |
Ezequiel Garcia | bd8dd77 | 2015-04-18 17:33:27 -0300 | [diff] [blame] | 387 | linux/nios2/syscallent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 388 | linux/or1k/arch_regs.c \ |
| 389 | linux/or1k/get_error.c \ |
| 390 | linux/or1k/get_scno.c \ |
| 391 | linux/or1k/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 392 | linux/or1k/ioctls_arch0.h \ |
| 393 | linux/or1k/ioctls_inc0.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 394 | linux/or1k/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 395 | linux/or1k/userent.h \ |
Dmitry V. Levin | 2a32eaa | 2014-02-05 02:09:49 +0000 | [diff] [blame] | 396 | linux/personality.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 397 | linux/powerpc/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 398 | linux/powerpc/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 399 | linux/powerpc/arch_sigreturn.c \ |
Dmitry V. Levin | b2f8c77 | 2015-02-23 03:10:25 +0000 | [diff] [blame] | 400 | linux/powerpc/errnoent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 401 | linux/powerpc/get_error.c \ |
| 402 | linux/powerpc/get_scno.c \ |
| 403 | linux/powerpc/get_syscall_args.c \ |
| 404 | linux/powerpc/getregs_old.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 405 | linux/powerpc/ioctls_arch0.h \ |
| 406 | linux/powerpc/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 407 | linux/powerpc/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 408 | linux/powerpc/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 409 | linux/powerpc64/arch_regs.c \ |
Dmitry V. Levin | 7226c3a | 2015-02-23 21:28:33 +0000 | [diff] [blame] | 410 | linux/powerpc64/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 411 | linux/powerpc64/arch_sigreturn.c \ |
Dmitry V. Levin | b2f8c77 | 2015-02-23 03:10:25 +0000 | [diff] [blame] | 412 | linux/powerpc64/errnoent.h \ |
Dmitry V. Levin | af3ab5b | 2015-01-21 17:04:31 +0000 | [diff] [blame] | 413 | linux/powerpc64/errnoent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 414 | linux/powerpc64/get_error.c \ |
| 415 | linux/powerpc64/get_scno.c \ |
| 416 | linux/powerpc64/get_syscall_args.c \ |
| 417 | linux/powerpc64/getregs_old.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 418 | linux/powerpc64/ioctls_arch0.h \ |
| 419 | linux/powerpc64/ioctls_arch1.h \ |
| 420 | linux/powerpc64/ioctls_inc0.h \ |
| 421 | linux/powerpc64/ioctls_inc1.h \ |
Dmitry V. Levin | af3ab5b | 2015-01-21 17:04:31 +0000 | [diff] [blame] | 422 | linux/powerpc64/signalent1.h \ |
| 423 | linux/powerpc64/syscallent.h \ |
| 424 | linux/powerpc64/syscallent1.h \ |
| 425 | linux/powerpc64/userent.h \ |
Stefan Sørensen | b88a6f8 | 2014-01-31 12:01:01 +0100 | [diff] [blame] | 426 | linux/ptp_clock.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 427 | linux/s390/arch_regs.c \ |
Dmitry V. Levin | 20eca8a | 2015-03-05 22:10:15 +0000 | [diff] [blame] | 428 | linux/s390/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 429 | linux/s390/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 430 | linux/s390/get_error.c \ |
| 431 | linux/s390/get_scno.c \ |
| 432 | linux/s390/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 433 | linux/s390/ioctls_arch0.h \ |
| 434 | linux/s390/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 435 | linux/s390/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 436 | linux/s390/userent.h \ |
| 437 | linux/s390/userent0.h \ |
| 438 | linux/s390/userent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 439 | linux/s390x/arch_regs.c \ |
Dmitry V. Levin | 20eca8a | 2015-03-05 22:10:15 +0000 | [diff] [blame] | 440 | linux/s390x/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 441 | linux/s390x/arch_sigreturn.c \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 442 | linux/s390x/get_error.c \ |
| 443 | linux/s390x/get_scno.c \ |
| 444 | linux/s390x/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 445 | linux/s390x/ioctls_arch0.h \ |
| 446 | linux/s390x/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 447 | linux/s390x/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 448 | linux/s390x/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 449 | linux/sh/arch_getrval2.c \ |
| 450 | linux/sh/arch_regs.c \ |
| 451 | linux/sh/get_error.c \ |
| 452 | linux/sh/get_scno.c \ |
| 453 | linux/sh/get_syscall_args.c \ |
| 454 | linux/sh/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 455 | linux/sh/ioctls_arch0.h \ |
| 456 | linux/sh/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 457 | linux/sh/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 458 | linux/sh/userent.h \ |
| 459 | linux/sh/userent0.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 460 | linux/sh64/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 461 | linux/sh64/arch_regs.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 462 | linux/sh64/get_error.c \ |
| 463 | linux/sh64/get_scno.c \ |
| 464 | linux/sh64/get_syscall_args.c \ |
| 465 | linux/sh64/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 466 | linux/sh64/ioctls_arch0.h \ |
| 467 | linux/sh64/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 468 | linux/sh64/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 469 | linux/sh64/userent.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 470 | linux/signalent.h \ |
Dmitry V. Levin | 2f6510c | 2014-08-21 03:17:48 +0000 | [diff] [blame] | 471 | linux/sock_diag.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 472 | linux/sparc/arch_getrval2.c \ |
| 473 | linux/sparc/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 474 | linux/sparc/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 475 | linux/sparc/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 476 | linux/sparc/errnoent.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 477 | linux/sparc/gen.pl \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 478 | linux/sparc/get_error.c \ |
| 479 | linux/sparc/get_scno.c \ |
| 480 | linux/sparc/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 481 | linux/sparc/ioctls_arch0.h \ |
| 482 | linux/sparc/ioctls_inc0.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 483 | linux/sparc/signalent.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 484 | linux/sparc/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 485 | linux/sparc/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 486 | linux/sparc64/arch_getrval2.c \ |
| 487 | linux/sparc64/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 488 | linux/sparc64/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 489 | linux/sparc64/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 490 | linux/sparc64/errnoent.h \ |
Denys Vlasenko | 588a90f | 2015-03-25 15:11:36 +0100 | [diff] [blame] | 491 | linux/sparc64/errnoent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 492 | linux/sparc64/get_error.c \ |
| 493 | linux/sparc64/get_scno.c \ |
| 494 | linux/sparc64/get_syscall_args.c\ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 495 | linux/sparc64/ioctls_arch0.h \ |
Denys Vlasenko | 588a90f | 2015-03-25 15:11:36 +0100 | [diff] [blame] | 496 | linux/sparc64/ioctls_arch1.h \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 497 | linux/sparc64/ioctls_inc0.h \ |
Denys Vlasenko | 588a90f | 2015-03-25 15:11:36 +0100 | [diff] [blame] | 498 | linux/sparc64/ioctls_inc1.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 499 | linux/sparc64/signalent.h \ |
Denys Vlasenko | 588a90f | 2015-03-25 15:11:36 +0100 | [diff] [blame] | 500 | linux/sparc64/signalent1.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 501 | linux/sparc64/syscallent.h \ |
Denys Vlasenko | 588a90f | 2015-03-25 15:11:36 +0100 | [diff] [blame] | 502 | linux/sparc64/syscallent1.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 503 | linux/sparc64/userent.h \ |
Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 504 | linux/subcall.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 505 | linux/syscall.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 506 | linux/tile/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 507 | linux/tile/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 508 | linux/tile/arch_sigreturn.c \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 509 | linux/tile/errnoent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 510 | linux/tile/get_error.c \ |
| 511 | linux/tile/get_scno.c \ |
| 512 | linux/tile/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 513 | linux/tile/ioctls_arch0.h \ |
| 514 | linux/tile/ioctls_arch1.h \ |
| 515 | linux/tile/ioctls_inc0.h \ |
| 516 | linux/tile/ioctls_inc1.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 517 | linux/tile/signalent1.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 518 | linux/tile/syscallent.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 519 | linux/tile/syscallent1.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 520 | linux/tile/userent.h \ |
Dmitry V. Levin | 8e0b8be | 2013-06-02 18:09:44 +0000 | [diff] [blame] | 521 | linux/ubi-user.h \ |
Dmitry V. Levin | ce21ef0 | 2015-01-09 02:02:39 +0000 | [diff] [blame] | 522 | linux/unix_diag.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 523 | linux/userent.h \ |
| 524 | linux/userent0.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 525 | linux/x32/arch_regs.c \ |
Dmitry V. Levin | 19fcb27 | 2015-02-26 20:40:43 +0000 | [diff] [blame] | 526 | linux/x32/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 527 | linux/x32/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 528 | linux/x32/errnoent1.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 529 | linux/x32/get_error.c \ |
| 530 | linux/x32/get_scno.c \ |
| 531 | linux/x32/get_syscall_args.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 532 | linux/x32/ioctls_arch0.h \ |
| 533 | linux/x32/ioctls_arch1.h \ |
| 534 | linux/x32/ioctls_inc0.h \ |
| 535 | linux/x32/ioctls_inc1.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 536 | linux/x32/signalent1.h \ |
| 537 | linux/x32/syscallent.h \ |
| 538 | linux/x32/syscallent1.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 539 | linux/x32/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 540 | linux/x86_64/arch_regs.c \ |
Dmitry V. Levin | 5503dd2 | 2015-02-13 02:12:14 +0000 | [diff] [blame] | 541 | linux/x86_64/arch_regs.h \ |
Dmitry V. Levin | a3c4835 | 2015-03-23 21:16:07 +0000 | [diff] [blame] | 542 | linux/x86_64/arch_sigreturn.c \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 543 | linux/x86_64/errnoent1.h \ |
| 544 | linux/x86_64/errnoent2.h \ |
| 545 | linux/x86_64/gentab.pl \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 546 | linux/x86_64/get_error.c \ |
| 547 | linux/x86_64/get_scno.c \ |
| 548 | linux/x86_64/get_syscall_args.c \ |
| 549 | linux/x86_64/getregs_old.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 550 | linux/x86_64/ioctls_arch0.h \ |
| 551 | linux/x86_64/ioctls_arch1.h \ |
Dmitry V. Levin | 4341373 | 2015-03-02 02:38:50 +0000 | [diff] [blame] | 552 | linux/x86_64/ioctls_arch2.h \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 553 | linux/x86_64/ioctls_inc0.h \ |
| 554 | linux/x86_64/ioctls_inc1.h \ |
Dmitry V. Levin | 4341373 | 2015-03-02 02:38:50 +0000 | [diff] [blame] | 555 | linux/x86_64/ioctls_inc2.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 556 | linux/x86_64/signalent1.h \ |
| 557 | linux/x86_64/signalent2.h \ |
| 558 | linux/x86_64/syscallent.h \ |
| 559 | linux/x86_64/syscallent1.h \ |
| 560 | linux/x86_64/syscallent2.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 561 | linux/x86_64/userent.h \ |
Dmitry V. Levin | d70d1c4 | 2015-03-22 22:13:55 +0000 | [diff] [blame] | 562 | linux/xtensa/arch_regs.c \ |
| 563 | linux/xtensa/get_error.c \ |
| 564 | linux/xtensa/get_scno.c \ |
| 565 | linux/xtensa/get_syscall_args.c \ |
| 566 | linux/xtensa/get_syscall_result.c \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 567 | linux/xtensa/ioctls_arch0.h \ |
| 568 | linux/xtensa/ioctls_inc0.h \ |
Dmitry V. Levin | 0db34e7 | 2013-06-02 18:12:44 +0000 | [diff] [blame] | 569 | linux/xtensa/syscallent.h \ |
Dmitry V. Levin | fced7b0 | 2014-12-11 19:25:02 +0000 | [diff] [blame] | 570 | linux/xtensa/userent.h \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 571 | maint/ioctls_gen.sh \ |
| 572 | maint/ioctls_hex.sh \ |
| 573 | maint/ioctls_sym.sh \ |
| 574 | maint/print_ioctlent.c \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 575 | mpers.awk \ |
| 576 | mpers.sh \ |
| 577 | mpers_test.sh \ |
Dmitry V. Levin | 5cb45b2 | 2015-11-20 01:43:12 +0000 | [diff] [blame] | 578 | mpers_xlat.h \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 579 | signalent.sh \ |
| 580 | strace-graph \ |
| 581 | strace-log-merge \ |
| 582 | strace.spec \ |
| 583 | syscallent.sh \ |
Mike Frysinger | 761ed9b | 2014-02-16 01:59:20 -0500 | [diff] [blame] | 584 | $(XLAT_INPUT_FILES) \ |
| 585 | $(XLAT_HEADER_FILES) \ |
| 586 | xlat/gen.sh \ |
Dmitry V. Levin | 7ae73a9 | 2013-04-30 23:34:51 +0000 | [diff] [blame] | 587 | xlate.el |
Roland McGrath | bc44e40 | 2004-07-12 05:45:08 +0000 | [diff] [blame] | 588 | |
Roland McGrath | 2b832df | 2009-10-06 17:46:56 -0700 | [diff] [blame] | 589 | .PHONY: srpm |
Dmitry V. Levin | 525a39a | 2011-02-27 14:05:58 +0000 | [diff] [blame] | 590 | srpm: dist-xz |
| 591 | rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz |
Roland McGrath | 2b832df | 2009-10-06 17:46:56 -0700 | [diff] [blame] | 592 | |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 593 | $(srcdir)/.version: |
| 594 | $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@ |
| 595 | |
Dmitry V. Levin | a0bd374 | 2015-04-07 01:36:50 +0000 | [diff] [blame] | 596 | strace_SOURCES_c = $(filter %.c,$(strace_SOURCES)) |
| 597 | |
| 598 | sys_func.h: $(patsubst %,$(srcdir)/%,$(strace_SOURCES_c)) |
| 599 | for f in $^; do \ |
| 600 | sed -n 's/^SYS_FUNC(.*/extern &;/p' $$f; \ |
| 601 | done | sort -u > $@ |
| 602 | |
Elvira Khabirova | 28e32df | 2015-07-10 22:24:54 +0300 | [diff] [blame] | 603 | syscallent_names = subcall.h syscallent.h syscallent1.h \ |
| 604 | syscallent-n32.h syscallent-n64.h syscallent-o32.h |
| 605 | syscallent_patterns = $(patsubst %,\%/%,$(syscallent_names)) |
| 606 | syscallent_files = $(filter $(syscallent_patterns),$(EXTRA_DIST)) |
| 607 | |
| 608 | sen.h: $(patsubst %,$(srcdir)/%,$(syscallent_files)) |
| 609 | for f in $^; do cat -- $$f; done | \ |
| 610 | $(srcdir)/generate_sen.sh > $@ |
| 611 | |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 612 | dist-hook: |
| 613 | $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version |
| 614 | |
| 615 | today = $(shell date +%Y-%m-%d) |
| 616 | version_regexp = $(subst .,\.,$(VERSION)) |
| 617 | news_check_regexp = 'Noteworthy changes in release $(version_regexp) ($(today))' |
| 618 | |
| 619 | news-check: NEWS |
| 620 | $(AM_V_GEN)if head -1 $< | \ |
| 621 | grep -x $(news_check_regexp) >/dev/null; then \ |
| 622 | :; \ |
| 623 | else \ |
| 624 | echo >&2 '$<: check failed'; \ |
| 625 | exit 1; \ |
| 626 | fi |
Mike Frysinger | 9004e12 | 2011-02-20 23:24:22 -0500 | [diff] [blame] | 627 | |
Mike Frysinger | 58c7fe9 | 2015-02-26 22:22:36 -0500 | [diff] [blame] | 628 | ioctlsort_CC = $(CC_FOR_BUILD) |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 629 | ioctlsort_DEFS = $(DEFS) |
| 630 | ioctlsort_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES) |
Mike Frysinger | 58c7fe9 | 2015-02-26 22:22:36 -0500 | [diff] [blame] | 631 | ioctlsort_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_FOR_BUILD) |
| 632 | ioctlsort_CFLAGS = $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) |
| 633 | ioctlsort_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 634 | |
| 635 | ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h) |
| 636 | ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h)) |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 637 | |
| 638 | ioctlent%.h: ioctlsort% |
| 639 | ./$< > $@ |
| 640 | |
Mike Frysinger | 58c7fe9 | 2015-02-26 22:22:36 -0500 | [diff] [blame] | 641 | ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o |
| 642 | $(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 643 | |
| 644 | ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c |
| 645 | $(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c |
| 646 | |
| 647 | ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h |
| 648 | cat $^ > $@ |
Dmitry V. Levin | 00119f6 | 2014-11-04 01:40:42 +0000 | [diff] [blame] | 649 | |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 650 | BUILT_SOURCES = $(ioctlent_h) native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version |
| 651 | CLEANFILES = $(ioctlent_h) native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h |
Dmitry V. Levin | e2a3370 | 2015-08-27 19:51:05 +0000 | [diff] [blame] | 652 | DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 653 | |
| 654 | # defines mpers_source_files |
| 655 | include mpers.am |
| 656 | srcdir_mpers_source_files = $(patsubst %,$(srcdir)/%,$(mpers_source_files)) |
| 657 | |
| 658 | mpers_NAME = |
| 659 | mpers_PREFIX = $(mpers_NAME)_ |
| 660 | mpers_DEFS = $(DEFS) |
| 661 | mpers_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES) |
| 662 | mpers_CPPFLAGS = $(strace_CPPFLAGS) $(CPPFLAGS) |
| 663 | mpers_sh_opts = $(mpers_DEFS) $(mpers_INCLUDES) $(mpers_CPPFLAGS) |
| 664 | libmpers_CPPFLAGS = $(AM_CPPFLAGS) -DIN_MPERS |
| 665 | |
| 666 | # mpers targets |
| 667 | |
Gabriel Laskar | ad25c74 | 2015-10-01 14:49:25 +0200 | [diff] [blame] | 668 | mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 669 | for f in $^; do \ |
| 670 | CC="$(CC)" CFLAGS="$(mpers_sh_opts)" \ |
Dmitry V. Levin | 35bd0b8 | 2015-11-16 01:12:18 +0000 | [diff] [blame] | 671 | CPP="$(CPP)" CPPFLAGS="$(mpers_sh_opts) -DIN_MPERS -DMPERS_IS_$(mpers_NAME)" \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 672 | $(srcdir)/mpers.sh -$(mpers_NAME) $$f || exit; \ |
| 673 | done |
| 674 | > $@ |
| 675 | |
Dmitry V. Levin | 370eb16 | 2015-11-07 23:22:24 +0000 | [diff] [blame] | 676 | m%_type_defs.h: $(srcdir_mpers_source_files) |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 677 | for f in $^; do \ |
| 678 | sed -n 's/^#include DEF_MPERS_TYPE(\([^)]\+\))/#ifdef MPERS_$(mpers_PREFIX)\1\n# define \1 MPERS_$(mpers_PREFIX)\1\n#endif/p' $$f || exit; \ |
| 679 | done > $@-t |
Dmitry V. Levin | e2fb0bb | 2015-09-15 21:51:15 +0000 | [diff] [blame] | 680 | echo '#undef MPERS_PRINTER_NAME' >> $@-t |
| 681 | echo '#define MPERS_PRINTER_NAME(printer_name) printer_name' >> $@-t |
| 682 | echo '#include "$(mpers_PREFIX)printer_decls.h"' >> $@-t |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 683 | mv $@-t $@ |
| 684 | |
| 685 | m%_funcs.h: $(srcdir_mpers_source_files) |
| 686 | for f in $^; do \ |
| 687 | sed -n 's/^SYS_FUNC(\([^)]\+\))/#undef sys_\1\n#define sys_\1 $(mpers_PREFIX)sys_\1/p' $$f || exit; \ |
| 688 | done > $@-t && \ |
| 689 | echo '#include "sys_func.h"' >> $@-t |
| 690 | mv $@-t $@ |
| 691 | |
| 692 | # printers |
| 693 | |
| 694 | printers.h: $(srcdir_mpers_source_files) |
| 695 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 696 | echo 'typedef struct {' >> $@-t |
| 697 | for f in $^; do \ |
Dmitry V. Levin | e2fb0bb | 2015-09-15 21:51:15 +0000 | [diff] [blame] | 698 | sed -n 's/^MPERS_PRINTER_DECL(\([^,]\+\),[[:space:]]*\([^)]\+\))\(.*\)/ \1 (*\2) \3;\n#define \2 MPERS_PRINTER_NAME(\2)\n/p' $$f || exit; \ |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 699 | done >> $@-t |
| 700 | echo '} struct_printers;' >> $@-t |
Dmitry V. Levin | e2fb0bb | 2015-09-15 21:51:15 +0000 | [diff] [blame] | 701 | echo 'extern const struct_printers *printers;' >> $@-t |
| 702 | echo '#define MPERS_PRINTER_NAME(printer_name) printers->printer_name' >> $@-t |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 703 | mv $@-t $@ |
| 704 | |
| 705 | %_printer_decls.h: $(srcdir_mpers_source_files) |
| 706 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 707 | for f in $^; do \ |
| 708 | sed -n 's/^MPERS_PRINTER_DECL(\([^,]\+\),[[:space:]]*\([^)]\+\))\(.*\)/extern \1 $(mpers_PREFIX)\2\3;/p' $$f || exit; \ |
| 709 | done >> $@-t |
| 710 | mv $@-t $@ |
| 711 | |
| 712 | %_printer_defs.h: $(srcdir_mpers_source_files) |
| 713 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 714 | for f in $^; do \ |
| 715 | sed -n 's/^MPERS_PRINTER_DECL(\([^,]\+\),[[:space:]]*\([^)]\+\))\(.*\)/\.\2 = $(mpers_PREFIX)\2,/p' $$f || exit; \ |
| 716 | done >> $@-t |
| 717 | mv $@-t $@ |
| 718 | |
| 719 | native_printer_decls.h native_printer_defs.h: mpers_PREFIX = |
| 720 | |
| 721 | if HAVE_M32_MPERS |
| 722 | |
| 723 | strace_LDADD += libmpers-m32.a |
| 724 | noinst_LIBRARIES += libmpers-m32.a |
| 725 | libmpers_m32_a_SOURCES = $(mpers_source_files) |
| 726 | libmpers_m32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_m32 -I$(builddir)/mpers-m32 |
Dmitry V. Levin | 370eb16 | 2015-11-07 23:22:24 +0000 | [diff] [blame] | 727 | mpers_m32_targets = mpers-m32.stamp m32_type_defs.h m32_funcs.h m32_printer_decls.h m32_printer_defs.h |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 728 | |
| 729 | BUILT_SOURCES += $(mpers_m32_targets) |
| 730 | CLEANFILES += $(mpers_m32_targets) |
| 731 | |
| 732 | $(mpers_m32_targets): mpers_NAME = m32 |
| 733 | |
| 734 | endif # HAVE_M32_MPERS |
| 735 | |
| 736 | if HAVE_MX32_MPERS |
| 737 | |
| 738 | strace_LDADD += libmpers-mx32.a |
| 739 | noinst_LIBRARIES += libmpers-mx32.a |
| 740 | libmpers_mx32_a_SOURCES = $(mpers_source_files) |
| 741 | libmpers_mx32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_mx32 -I$(builddir)/mpers-mx32 |
Dmitry V. Levin | 370eb16 | 2015-11-07 23:22:24 +0000 | [diff] [blame] | 742 | mpers_mx32_targets = mpers-mx32.stamp mx32_type_defs.h mx32_funcs.h mx32_printer_decls.h mx32_printer_defs.h |
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 743 | |
| 744 | BUILT_SOURCES += $(mpers_mx32_targets) |
| 745 | CLEANFILES += $(mpers_mx32_targets) |
| 746 | |
| 747 | $(mpers_mx32_targets): mpers_NAME = mx32 |
| 748 | |
| 749 | endif # HAVE_MX32_MPERS |
| 750 | |
| 751 | clean-local: |
| 752 | -rm -rf mpers-m32 mpers-mx32 |
| 753 | |
Roland McGrath | bc44e40 | 2004-07-12 05:45:08 +0000 | [diff] [blame] | 754 | if MAINTAINER_MODE |
Roland McGrath | a478d74 | 2009-10-06 17:41:02 -0700 | [diff] [blame] | 755 | |
| 756 | gen_changelog_start_date = 2009-07-08 20:00 |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 757 | $(srcdir)/ChangeLog: $(srcdir)/gitlog-to-changelog $(srcdir)/Makefile.in \ |
| 758 | $(srcdir)/.version |
Roland McGrath | a478d74 | 2009-10-06 17:41:02 -0700 | [diff] [blame] | 759 | @rm -f $@.new |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 760 | (cd $(srcdir); \ |
Dmitry V. Levin | 594399d | 2011-11-05 13:32:27 +0000 | [diff] [blame] | 761 | ./gitlog-to-changelog --append-dot \ |
| 762 | --since='$(gen_changelog_start_date)'; \ |
Roland McGrath | a478d74 | 2009-10-06 17:41:02 -0700 | [diff] [blame] | 763 | echo; echo; echo 'See ChangeLog-CVS for older changes.' \ |
| 764 | ) > $@.new |
| 765 | chmod 444 $@.new |
| 766 | mv -f $@.new $@ |
| 767 | |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 768 | $(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \ |
| 769 | $(srcdir)/Makefile.in $(srcdir)/.version |
Dmitry V. Levin | 59138a2 | 2011-02-24 01:51:15 +0000 | [diff] [blame] | 770 | $(AM_V_GEN) \ |
Mike Frysinger | 67c4d43 | 2014-08-14 04:05:37 -0400 | [diff] [blame] | 771 | ( \ |
Dmitry V. Levin | dce7593 | 2013-04-30 23:52:12 +0000 | [diff] [blame] | 772 | cd $(srcdir); \ |
Dmitry V. Levin | 59138a2 | 2011-02-24 01:51:15 +0000 | [diff] [blame] | 773 | sed '/^##/,$$d' CREDITS.in; \ |
| 774 | { sed -n '1,/^##>/d; s/ \+/\t/; s/^./&/p' CREDITS.in; \ |
| 775 | git log --pretty=format:'%aN %aE'; \ |
| 776 | } | LC_ALL=C sort -u \ |
| 777 | | awk -F'\t' '{printf("\t%s <%s>\n",$$1,$$2)}'; \ |
Mike Frysinger | 67c4d43 | 2014-08-14 04:05:37 -0400 | [diff] [blame] | 778 | ) > $@-t && mv $@-t $@ |
Dmitry V. Levin | 59138a2 | 2011-02-24 01:51:15 +0000 | [diff] [blame] | 779 | |
Dmitry V. Levin | 76ac37d | 2009-10-09 22:10:09 +0000 | [diff] [blame] | 780 | export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX |
| 781 | |
Dmitry V. Levin | 00119f6 | 2014-11-04 01:40:42 +0000 | [diff] [blame] | 782 | endif |