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