Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1 | # Automake input for strace. |
| 2 | # |
| 3 | # Copyright (c) 2002-2009 Roland McGrath <roland@redhat.com> |
| 4 | # Copyright (c) 2006-2016 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> |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 7 | # Copyright (c) 2002-2018 The strace developers. |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 8 | # All rights reserved. |
| 9 | # |
| 10 | # Redistribution and use in source and binary forms, with or without |
| 11 | # modification, are permitted provided that the following conditions |
| 12 | # are met: |
| 13 | # 1. Redistributions of source code must retain the above copyright |
| 14 | # notice, this list of conditions and the following disclaimer. |
| 15 | # 2. Redistributions in binary form must reproduce the above copyright |
| 16 | # notice, this list of conditions and the following disclaimer in the |
| 17 | # documentation and/or other materials provided with the distribution. |
| 18 | # 3. The name of the author may not be used to endorse or promote products |
| 19 | # derived from this software without specific prior written permission. |
| 20 | # |
| 21 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 22 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 23 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 24 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 25 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 26 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 30 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | |
| 32 | if HAVE_M32_RUNTIME |
| 33 | TESTS_M32 = tests-m32 |
| 34 | endif |
| 35 | if HAVE_MX32_RUNTIME |
| 36 | TESTS_MX32 = tests-mx32 |
| 37 | endif |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 38 | SUBDIRS = . tests $(TESTS_M32) $(TESTS_MX32) |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 39 | |
| 40 | bin_PROGRAMS = strace |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 41 | man_MANS = strace.1 strace-log-merge.1 |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 42 | bin_SCRIPTS = strace-graph strace-log-merge |
| 43 | |
| 44 | OS = linux |
| 45 | # ARCH is `i386', `m68k', `sparc', etc. |
| 46 | ARCH = @arch@ |
| 47 | |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 48 | READELF = @READELF@ |
| 49 | |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 50 | ACLOCAL_AMFLAGS = -I m4 |
| 51 | AM_CFLAGS = $(WARN_CFLAGS) |
| 52 | AM_CPPFLAGS = -I$(builddir)/$(OS)/$(ARCH) \ |
| 53 | -I$(srcdir)/$(OS)/$(ARCH) \ |
| 54 | -I$(builddir)/$(OS) \ |
| 55 | -I$(srcdir)/$(OS) \ |
| 56 | -I$(builddir) \ |
| 57 | -I$(srcdir) |
| 58 | |
| 59 | AM_CFLAGS_FOR_BUILD = $(WARN_CFLAGS_FOR_BUILD) |
| 60 | AM_CPPFLAGS_FOR_BUILD = $(AM_CPPFLAGS) |
| 61 | |
| 62 | include xlat/Makemodule.am |
| 63 | |
| 64 | strace_CPPFLAGS = $(AM_CPPFLAGS) |
| 65 | strace_CFLAGS = $(AM_CFLAGS) |
| 66 | strace_LDFLAGS = |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 67 | strace_LDADD = libstrace.a $(clock_LIBS) $(timer_LIBS) |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 68 | noinst_LIBRARIES = libstrace.a |
| 69 | |
| 70 | libstrace_a_CPPFLAGS = $(strace_CPPFLAGS) |
| 71 | libstrace_a_CFLAGS = $(strace_CFLAGS) |
| 72 | libstrace_a_SOURCES = \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 73 | fetch_indirect_syscall_args.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 74 | fstatfs.c \ |
| 75 | fstatfs64.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 76 | getpagesize.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 77 | ipc.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 78 | mmap_cache.c \ |
| 79 | mmap_cache.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 80 | sigreturn.c \ |
| 81 | socketcall.c \ |
| 82 | statfs.c \ |
| 83 | statfs64.c \ |
| 84 | sync_file_range.c \ |
| 85 | sync_file_range2.c \ |
| 86 | upeek.c \ |
| 87 | upoke.c \ |
| 88 | # end of libstrace_a_SOURCES |
| 89 | |
| 90 | strace_SOURCES = \ |
| 91 | access.c \ |
| 92 | affinity.c \ |
| 93 | aio.c \ |
| 94 | alpha.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 95 | arch_defs.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 96 | basic_filters.c \ |
| 97 | bind.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 98 | bjm.c \ |
| 99 | block.c \ |
| 100 | bpf.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 101 | bpf_attr.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 102 | bpf_filter.c \ |
| 103 | bpf_filter.h \ |
| 104 | bpf_fprog.h \ |
| 105 | bpf_seccomp_filter.c \ |
| 106 | bpf_sock_filter.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 107 | btrfs.c \ |
| 108 | cacheflush.c \ |
| 109 | capability.c \ |
| 110 | caps0.h \ |
| 111 | caps1.h \ |
| 112 | chdir.c \ |
| 113 | chmod.c \ |
| 114 | clone.c \ |
| 115 | copy_file_range.c \ |
| 116 | count.c \ |
| 117 | defs.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 118 | delay.c \ |
| 119 | delay.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 120 | desc.c \ |
| 121 | dirent.c \ |
| 122 | dirent64.c \ |
| 123 | dm.c \ |
| 124 | dyxlat.c \ |
| 125 | empty.h \ |
| 126 | epoll.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 127 | error_prints.c \ |
| 128 | error_prints.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 129 | evdev.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 130 | evdev_mpers.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 131 | eventfd.c \ |
| 132 | execve.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 133 | f_owner_ex.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 134 | fadvise.c \ |
| 135 | fallocate.c \ |
| 136 | fanotify.c \ |
| 137 | fchownat.c \ |
| 138 | fcntl.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 139 | fetch_bpf_fprog.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 140 | fetch_struct_flock.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 141 | fetch_struct_keyctl_kdf_params.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 142 | fetch_struct_mmsghdr.c \ |
| 143 | fetch_struct_msghdr.c \ |
| 144 | fetch_struct_stat.c \ |
| 145 | fetch_struct_stat64.c \ |
| 146 | fetch_struct_statfs.c \ |
Elliott Hughes | c187376 | 2018-12-19 15:13:36 -0800 | [diff] [blame] | 147 | fetch_struct_xfs_quotastat.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 148 | file_handle.c \ |
| 149 | file_ioctl.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 150 | filter_qualify.c \ |
| 151 | filter.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 152 | flock.c \ |
| 153 | flock.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 154 | fs_x_ioctl.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 155 | futex.c \ |
| 156 | gcc_compat.h \ |
| 157 | get_robust_list.c \ |
| 158 | getcpu.c \ |
| 159 | getcwd.c \ |
| 160 | getrandom.c \ |
| 161 | hdio.c \ |
| 162 | hostname.c \ |
| 163 | inotify.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 164 | inotify_ioctl.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 165 | io.c \ |
| 166 | ioctl.c \ |
| 167 | ioperm.c \ |
| 168 | iopl.c \ |
| 169 | ioprio.c \ |
| 170 | ipc_defs.h \ |
| 171 | ipc_msg.c \ |
| 172 | ipc_msgctl.c \ |
| 173 | ipc_sem.c \ |
| 174 | ipc_shm.c \ |
| 175 | ipc_shmctl.c \ |
| 176 | kcmp.c \ |
| 177 | kernel_types.h \ |
| 178 | kexec.c \ |
| 179 | keyctl.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 180 | keyctl_kdf_params.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 181 | kvm.c \ |
| 182 | largefile_wrappers.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 183 | ldt.c \ |
| 184 | link.c \ |
| 185 | linux/asm_stat.h \ |
| 186 | linux/x32/asm_stat.h \ |
| 187 | linux/x86_64/asm_stat.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 188 | listen.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 189 | lookup_dcookie.c \ |
| 190 | loop.c \ |
| 191 | lseek.c \ |
| 192 | macros.h \ |
| 193 | mem.c \ |
| 194 | membarrier.c \ |
| 195 | memfd_create.c \ |
| 196 | mknod.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 197 | mmap_notify.c \ |
| 198 | mmap_notify.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 199 | mmsghdr.c \ |
| 200 | mount.c \ |
| 201 | mpers_type.h \ |
| 202 | mq.c \ |
| 203 | msghdr.c \ |
| 204 | msghdr.h \ |
| 205 | mtd.c \ |
| 206 | native_defs.h \ |
Elliott Hughes | c187376 | 2018-12-19 15:13:36 -0800 | [diff] [blame] | 207 | nbd_ioctl.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 208 | negated_errno.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 209 | net.c \ |
| 210 | netlink.c \ |
| 211 | netlink.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 212 | netlink_crypto.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 213 | netlink_kobject_uevent.c \ |
| 214 | netlink_kobject_uevent.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 215 | netlink_sock_diag.h \ |
| 216 | netlink_inet_diag.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 217 | netlink_netfilter.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 218 | netlink_netlink_diag.c \ |
| 219 | netlink_packet_diag.c \ |
| 220 | netlink_route.c \ |
| 221 | netlink_route.h \ |
| 222 | netlink_selinux.c \ |
| 223 | netlink_smc_diag.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 224 | netlink_sock_diag.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 225 | netlink_unix_diag.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 226 | nlattr.c \ |
| 227 | nlattr.h \ |
| 228 | nsfs.c \ |
| 229 | nsfs.h \ |
| 230 | nsig.h \ |
| 231 | numa.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 232 | number_set.c \ |
| 233 | number_set.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 234 | oldstat.c \ |
| 235 | open.c \ |
| 236 | or1k_atomic.c \ |
| 237 | pathtrace.c \ |
| 238 | perf.c \ |
| 239 | perf_event_struct.h \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 240 | perf_ioctl.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 241 | personality.c \ |
| 242 | pkeys.c \ |
| 243 | poll.c \ |
| 244 | prctl.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 245 | print_aio_sigset.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 246 | print_dev_t.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 247 | print_group_req.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 248 | print_fields.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 249 | print_ifindex.c \ |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 250 | print_mac.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 251 | print_mq_attr.c \ |
| 252 | print_msgbuf.c \ |
| 253 | print_sg_req_info.c \ |
| 254 | print_sigevent.c \ |
| 255 | print_statfs.c \ |
| 256 | print_struct_stat.c \ |
| 257 | print_time.c \ |
| 258 | print_timespec.c \ |
| 259 | print_timeval.c \ |
| 260 | print_timex.c \ |
| 261 | printmode.c \ |
| 262 | printrusage.c \ |
| 263 | printsiginfo.c \ |
| 264 | printsiginfo.h \ |
| 265 | process.c \ |
| 266 | process_vm.c \ |
| 267 | ptp.c \ |
| 268 | ptrace.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 269 | quota.c \ |
| 270 | readahead.c \ |
| 271 | readlink.c \ |
| 272 | reboot.c \ |
| 273 | regs.h \ |
| 274 | renameat.c \ |
| 275 | resource.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 276 | retval.c \ |
| 277 | retval.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 278 | riscv.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 279 | rt_sigframe.c \ |
| 280 | rt_sigreturn.c \ |
| 281 | rtc.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 282 | rtnl_addr.c \ |
| 283 | rtnl_addrlabel.c \ |
| 284 | rtnl_dcb.c \ |
| 285 | rtnl_link.c \ |
| 286 | rtnl_mdb.c \ |
| 287 | rtnl_neigh.c \ |
| 288 | rtnl_neightbl.c \ |
| 289 | rtnl_netconf.c \ |
| 290 | rtnl_nsid.c \ |
| 291 | rtnl_route.c \ |
| 292 | rtnl_rule.c \ |
| 293 | rtnl_tc.c \ |
| 294 | rtnl_tc_action.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 295 | s390.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 296 | sched.c \ |
| 297 | sched_attr.h \ |
| 298 | scsi.c \ |
| 299 | seccomp.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 300 | sendfile.c \ |
| 301 | sg_io_v3.c \ |
| 302 | sg_io_v4.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 303 | shutdown.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 304 | sigaltstack.c \ |
| 305 | sigevent.h \ |
| 306 | signal.c \ |
| 307 | signalfd.c \ |
| 308 | sock.c \ |
| 309 | sockaddr.c \ |
| 310 | socketutils.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 311 | sparc.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 312 | sram_alloc.c \ |
| 313 | stat.c \ |
| 314 | stat.h \ |
| 315 | stat64.c \ |
| 316 | statfs.c \ |
| 317 | statfs.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 318 | static_assert.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 319 | statx.c \ |
| 320 | statx.h \ |
| 321 | strace.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 322 | string_to_uint.h \ |
| 323 | string_to_uint.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 324 | swapon.c \ |
| 325 | syscall.c \ |
| 326 | sysctl.c \ |
| 327 | sysent.h \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 328 | sysent_shorthand_defs.h \ |
| 329 | sysent_shorthand_undefs.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 330 | sysinfo.c \ |
| 331 | syslog.c \ |
| 332 | sysmips.c \ |
| 333 | term.c \ |
| 334 | time.c \ |
| 335 | times.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 336 | trace_event.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 337 | truncate.c \ |
| 338 | ubi.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 339 | ucopy.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 340 | uid.c \ |
| 341 | uid16.c \ |
| 342 | umask.c \ |
| 343 | umount.c \ |
| 344 | uname.c \ |
| 345 | userfaultfd.c \ |
| 346 | ustat.c \ |
| 347 | util.c \ |
| 348 | utime.c \ |
| 349 | utimes.c \ |
| 350 | v4l2.c \ |
| 351 | wait.c \ |
| 352 | xattr.c \ |
Elliott Hughes | c187376 | 2018-12-19 15:13:36 -0800 | [diff] [blame] | 353 | xfs_quota_stat.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 354 | xlat.c \ |
| 355 | xlat.h \ |
| 356 | xmalloc.c \ |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 357 | xmalloc.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 358 | xstring.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 359 | $(strace_SOURCES_check) \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 360 | # end of strace_SOURCES |
| 361 | |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 362 | strace_SOURCES_check = bpf_attr_check.c |
| 363 | |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 364 | if ENABLE_STACKTRACE |
| 365 | strace_SOURCES += unwind.c unwind.h |
| 366 | if USE_LIBDW |
| 367 | strace_SOURCES += unwind-libdw.c |
| 368 | strace_CPPFLAGS += $(libdw_CPPFLAGS) |
| 369 | strace_CFLAGS += $(libdw_CFLAGS) |
| 370 | strace_LDFLAGS += $(libdw_LDFLAGS) |
| 371 | strace_LDADD += $(libdw_LIBS) |
| 372 | endif |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 373 | if USE_LIBUNWIND |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 374 | strace_SOURCES += unwind-libunwind.c |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 375 | strace_CPPFLAGS += $(libunwind_CPPFLAGS) |
| 376 | strace_LDFLAGS += $(libunwind_LDFLAGS) |
| 377 | strace_LDADD += $(libunwind_LIBS) |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 378 | endif |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 379 | if USE_DEMANGLE |
| 380 | strace_CPPFLAGS += $(libiberty_CPPFLAGS) |
| 381 | strace_LDFLAGS += $(libiberty_LDFLAGS) |
| 382 | strace_LDADD += $(libiberty_LIBS) |
| 383 | endif |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 384 | endif |
| 385 | |
| 386 | @CODE_COVERAGE_RULES@ |
| 387 | CODE_COVERAGE_BRANCH_COVERAGE = 1 |
| 388 | CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) \ |
| 389 | --prefix $(shell cd $(abs_top_srcdir)/.. && pwd || echo .) |
| 390 | CODE_COVERAGE_IGNORE_PATTERN = '/usr/include/*' |
| 391 | strace_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS) |
| 392 | strace_CFLAGS += $(CODE_COVERAGE_CFLAGS) |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 393 | strace_LDADD += $(CODE_COVERAGE_LIBS) |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 394 | |
| 395 | # Enable this to get link map generated |
| 396 | #strace_LDFLAGS += -Wl,-Map=strace.mapfile |
| 397 | |
| 398 | EXTRA_DIST = \ |
| 399 | $(man_MANS) \ |
| 400 | .version \ |
| 401 | COPYING \ |
| 402 | CREDITS \ |
| 403 | ChangeLog \ |
| 404 | ChangeLog-CVS \ |
| 405 | README-linux-ptrace \ |
| 406 | debian/changelog \ |
| 407 | debian/compat \ |
| 408 | debian/control \ |
| 409 | debian/copyright \ |
| 410 | debian/rules \ |
| 411 | debian/source/format \ |
| 412 | debian/strace-udeb.install \ |
| 413 | debian/strace.docs \ |
| 414 | debian/strace.examples \ |
| 415 | debian/strace.install \ |
| 416 | debian/strace.manpages \ |
| 417 | debian/strace64.install \ |
| 418 | debian/strace64.manpages \ |
| 419 | debian/watch \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 420 | gen_bpf_attr_check.sh \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 421 | generate_sen.sh \ |
| 422 | ioctl_iocdef.c \ |
| 423 | ioctlsort.c \ |
| 424 | linux/32/ioctls_inc.h \ |
| 425 | linux/32/ioctls_inc_align16.h \ |
| 426 | linux/32/ioctls_inc_align32.h \ |
| 427 | linux/32/ioctls_inc_align64.h \ |
| 428 | linux/32/syscallent.h \ |
| 429 | linux/64/ioctls_inc.h \ |
| 430 | linux/64/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 431 | linux/aarch64/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 432 | linux/aarch64/arch_regs.c \ |
| 433 | linux/aarch64/arch_regs.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 434 | linux/aarch64/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 435 | linux/aarch64/arch_sigreturn.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 436 | linux/aarch64/get_error.c \ |
| 437 | linux/aarch64/get_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 438 | linux/aarch64/get_syscall_args.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 439 | linux/aarch64/ioctls_arch0.h \ |
| 440 | linux/aarch64/ioctls_arch1.h \ |
| 441 | linux/aarch64/ioctls_inc0.h \ |
| 442 | linux/aarch64/ioctls_inc1.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 443 | linux/aarch64/nr_prefix.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 444 | linux/aarch64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 445 | linux/aarch64/set_error.c \ |
| 446 | linux/aarch64/set_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 447 | linux/aarch64/shuffle_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 448 | linux/aarch64/syscallent.h \ |
| 449 | linux/aarch64/syscallent1.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 450 | linux/alpha/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 451 | linux/alpha/arch_getrval2.c \ |
| 452 | linux/alpha/arch_regs.c \ |
| 453 | linux/alpha/arch_regs.h \ |
| 454 | linux/alpha/arch_rt_sigframe.c \ |
| 455 | linux/alpha/arch_sigreturn.c \ |
| 456 | linux/alpha/errnoent.h \ |
| 457 | linux/alpha/get_error.c \ |
| 458 | linux/alpha/get_scno.c \ |
| 459 | linux/alpha/get_syscall_args.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 460 | linux/alpha/get_syscall_result.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 461 | linux/alpha/ioctls_arch0.h \ |
| 462 | linux/alpha/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 463 | linux/alpha/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 464 | linux/alpha/set_error.c \ |
| 465 | linux/alpha/set_scno.c \ |
| 466 | linux/alpha/signalent.h \ |
| 467 | linux/alpha/syscallent.h \ |
| 468 | linux/alpha/userent.h \ |
| 469 | linux/arc/arch_regs.c \ |
| 470 | linux/arc/arch_regs.h \ |
| 471 | linux/arc/arch_rt_sigframe.c \ |
| 472 | linux/arc/get_error.c \ |
| 473 | linux/arc/get_scno.c \ |
| 474 | linux/arc/get_syscall_args.c \ |
| 475 | linux/arc/ioctls_arch0.h \ |
| 476 | linux/arc/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 477 | linux/arc/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 478 | linux/arc/set_error.c \ |
| 479 | linux/arc/set_scno.c \ |
| 480 | linux/arc/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 481 | linux/arch_defs_.h \ |
| 482 | linux/arch_kvm.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 483 | linux/arch_regs.h \ |
| 484 | linux/arch_sigreturn.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 485 | linux/arm/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 486 | linux/arm/arch_regs.c \ |
| 487 | linux/arm/arch_regs.h \ |
| 488 | linux/arm/arch_rt_sigframe.c \ |
| 489 | linux/arm/arch_sigreturn.c \ |
| 490 | linux/arm/get_error.c \ |
| 491 | linux/arm/get_scno.c \ |
| 492 | linux/arm/get_syscall_args.c \ |
| 493 | linux/arm/ioctls_arch0.h \ |
| 494 | linux/arm/ioctls_inc0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 495 | linux/arm/nr_prefix.c \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 496 | linux/arm/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 497 | linux/arm/set_error.c \ |
| 498 | linux/arm/set_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 499 | linux/arm/shuffle_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 500 | linux/arm/syscallent.h \ |
| 501 | linux/arm/userent.h \ |
| 502 | linux/avr32/arch_regs.c \ |
| 503 | linux/avr32/arch_regs.h \ |
| 504 | linux/avr32/arch_rt_sigframe.c \ |
| 505 | linux/avr32/get_error.c \ |
| 506 | linux/avr32/get_scno.c \ |
| 507 | linux/avr32/get_syscall_args.c \ |
| 508 | linux/avr32/ioctls_arch0.h \ |
| 509 | linux/avr32/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 510 | linux/avr32/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 511 | linux/avr32/set_error.c \ |
| 512 | linux/avr32/set_scno.c \ |
| 513 | linux/avr32/syscallent.h \ |
| 514 | linux/avr32/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 515 | linux/bfin/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 516 | linux/bfin/arch_regs.c \ |
| 517 | linux/bfin/arch_rt_sigframe.c \ |
| 518 | linux/bfin/get_error.c \ |
| 519 | linux/bfin/get_scno.c \ |
| 520 | linux/bfin/get_syscall_args.c \ |
| 521 | linux/bfin/get_syscall_result.c \ |
| 522 | linux/bfin/ioctls_arch0.h \ |
| 523 | linux/bfin/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 524 | linux/bfin/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 525 | linux/bfin/rt_sigframe.h \ |
| 526 | linux/bfin/set_error.c \ |
| 527 | linux/bfin/set_scno.c \ |
| 528 | linux/bfin/syscallent.h \ |
| 529 | linux/bfin/userent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 530 | linux/dummy.h \ |
| 531 | linux/errnoent.h \ |
| 532 | linux/getregs_old.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 533 | linux/hppa/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 534 | linux/hppa/arch_regs.c \ |
| 535 | linux/hppa/arch_regs.h \ |
| 536 | linux/hppa/arch_rt_sigframe.c \ |
| 537 | linux/hppa/errnoent.h \ |
| 538 | linux/hppa/get_error.c \ |
| 539 | linux/hppa/get_scno.c \ |
| 540 | linux/hppa/get_syscall_args.c \ |
| 541 | linux/hppa/get_syscall_result.c \ |
| 542 | linux/hppa/ioctls_arch0.h \ |
| 543 | linux/hppa/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 544 | linux/hppa/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 545 | linux/hppa/rt_sigframe.h \ |
| 546 | linux/hppa/set_error.c \ |
| 547 | linux/hppa/set_scno.c \ |
| 548 | linux/hppa/signalent.h \ |
| 549 | linux/hppa/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 550 | linux/i386/arch_kvm.c \ |
| 551 | linux/i386/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 552 | linux/i386/arch_regs.c \ |
| 553 | linux/i386/arch_regs.h \ |
| 554 | linux/i386/arch_rt_sigframe.c \ |
| 555 | linux/i386/arch_sigreturn.c \ |
| 556 | linux/i386/get_error.c \ |
| 557 | linux/i386/get_scno.c \ |
| 558 | linux/i386/get_syscall_args.c \ |
| 559 | linux/i386/ioctls_arch0.h \ |
| 560 | linux/i386/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 561 | linux/i386/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 562 | linux/i386/rt_sigframe.h \ |
| 563 | linux/i386/set_error.c \ |
| 564 | linux/i386/set_scno.c \ |
| 565 | linux/i386/syscallent.h \ |
| 566 | linux/i386/userent.h \ |
| 567 | linux/i386/userent0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 568 | linux/ia64/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 569 | linux/ia64/arch_getrval2.c \ |
| 570 | linux/ia64/arch_regs.c \ |
| 571 | linux/ia64/arch_regs.h \ |
| 572 | linux/ia64/arch_rt_sigframe.c \ |
| 573 | linux/ia64/get_error.c \ |
| 574 | linux/ia64/get_scno.c \ |
| 575 | linux/ia64/get_syscall_args.c \ |
| 576 | linux/ia64/ioctls_arch0.h \ |
| 577 | linux/ia64/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 578 | linux/ia64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 579 | linux/ia64/rt_sigframe.h \ |
| 580 | linux/ia64/set_error.c \ |
| 581 | linux/ia64/set_scno.c \ |
| 582 | linux/ia64/syscallent.h \ |
| 583 | linux/ia64/userent.h \ |
| 584 | linux/inet_diag.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 585 | linux/m68k/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 586 | linux/m68k/arch_regs.c \ |
| 587 | linux/m68k/arch_regs.h \ |
| 588 | linux/m68k/arch_rt_sigframe.c \ |
| 589 | linux/m68k/arch_sigreturn.c \ |
| 590 | linux/m68k/get_error.c \ |
| 591 | linux/m68k/get_scno.c \ |
| 592 | linux/m68k/get_syscall_args.c \ |
| 593 | linux/m68k/ioctls_arch0.h \ |
| 594 | linux/m68k/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 595 | linux/m68k/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 596 | linux/m68k/rt_sigframe.h \ |
| 597 | linux/m68k/set_error.c \ |
| 598 | linux/m68k/set_scno.c \ |
| 599 | linux/m68k/syscallent.h \ |
| 600 | linux/m68k/userent.h \ |
| 601 | linux/metag/arch_regs.c \ |
| 602 | linux/metag/arch_regs.h \ |
| 603 | linux/metag/arch_rt_sigframe.c \ |
| 604 | linux/metag/get_error.c \ |
| 605 | linux/metag/get_scno.c \ |
| 606 | linux/metag/get_syscall_args.c \ |
| 607 | linux/metag/ioctls_arch0.h \ |
| 608 | linux/metag/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 609 | linux/metag/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 610 | linux/metag/set_error.c \ |
| 611 | linux/metag/set_scno.c \ |
| 612 | linux/metag/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 613 | linux/microblaze/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 614 | linux/microblaze/arch_regs.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 615 | linux/microblaze/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 616 | linux/microblaze/arch_sigreturn.c \ |
| 617 | linux/microblaze/get_error.c \ |
| 618 | linux/microblaze/get_scno.c \ |
| 619 | linux/microblaze/get_syscall_args.c \ |
| 620 | linux/microblaze/get_syscall_result.c \ |
| 621 | linux/microblaze/ioctls_arch0.h \ |
| 622 | linux/microblaze/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 623 | linux/microblaze/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 624 | linux/microblaze/set_error.c \ |
| 625 | linux/microblaze/set_scno.c \ |
| 626 | linux/microblaze/syscallent.h \ |
| 627 | linux/microblaze/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 628 | linux/mips/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 629 | linux/mips/arch_getrval2.c \ |
| 630 | linux/mips/arch_regs.c \ |
| 631 | linux/mips/arch_regs.h \ |
| 632 | linux/mips/arch_rt_sigframe.c \ |
| 633 | linux/mips/arch_sigreturn.c \ |
| 634 | linux/mips/errnoent.h \ |
| 635 | linux/mips/genstub.sh \ |
| 636 | linux/mips/get_error.c \ |
| 637 | linux/mips/get_scno.c \ |
| 638 | linux/mips/get_syscall_args.c \ |
| 639 | linux/mips/ioctls_arch0.h \ |
| 640 | linux/mips/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 641 | linux/mips/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 642 | linux/mips/rt_sigframe.h \ |
| 643 | linux/mips/set_error.c \ |
| 644 | linux/mips/set_scno.c \ |
| 645 | linux/mips/signalent.h \ |
| 646 | linux/mips/syscallent-compat.h \ |
| 647 | linux/mips/syscallent-n32.h \ |
| 648 | linux/mips/syscallent-n64.h \ |
| 649 | linux/mips/syscallent-o32.h \ |
| 650 | linux/mips/syscallent.h \ |
| 651 | linux/mips/userent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 652 | linux/netlink_diag.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 653 | linux/nios2/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 654 | linux/nios2/arch_regs.c \ |
| 655 | linux/nios2/arch_regs.h \ |
| 656 | linux/nios2/arch_rt_sigframe.c \ |
| 657 | linux/nios2/get_error.c \ |
| 658 | linux/nios2/get_scno.c \ |
| 659 | linux/nios2/get_syscall_args.c \ |
| 660 | linux/nios2/ioctls_arch0.h \ |
| 661 | linux/nios2/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 662 | linux/nios2/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 663 | linux/nios2/set_error.c \ |
| 664 | linux/nios2/set_scno.c \ |
| 665 | linux/nios2/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 666 | linux/nr_prefix.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 667 | linux/or1k/arch_regs.c \ |
| 668 | linux/or1k/arch_regs.h \ |
| 669 | linux/or1k/arch_rt_sigframe.c \ |
| 670 | linux/or1k/get_error.c \ |
| 671 | linux/or1k/get_scno.c \ |
| 672 | linux/or1k/get_syscall_args.c \ |
| 673 | linux/or1k/ioctls_arch0.h \ |
| 674 | linux/or1k/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 675 | linux/or1k/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 676 | linux/or1k/set_error.c \ |
| 677 | linux/or1k/set_scno.c \ |
| 678 | linux/or1k/syscallent.h \ |
| 679 | linux/or1k/userent.h \ |
| 680 | linux/packet_diag.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 681 | linux/powerpc/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 682 | linux/powerpc/arch_regs.c \ |
| 683 | linux/powerpc/arch_regs.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 684 | linux/powerpc/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 685 | linux/powerpc/arch_sigreturn.c \ |
| 686 | linux/powerpc/errnoent.h \ |
| 687 | linux/powerpc/get_error.c \ |
| 688 | linux/powerpc/get_scno.c \ |
| 689 | linux/powerpc/get_syscall_args.c \ |
| 690 | linux/powerpc/getregs_old.c \ |
| 691 | linux/powerpc/getregs_old.h \ |
| 692 | linux/powerpc/ioctls_arch0.h \ |
| 693 | linux/powerpc/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 694 | linux/powerpc/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 695 | linux/powerpc/set_error.c \ |
| 696 | linux/powerpc/set_scno.c \ |
| 697 | linux/powerpc/syscallent.h \ |
| 698 | linux/powerpc/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 699 | linux/powerpc64/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 700 | linux/powerpc64/arch_regs.c \ |
| 701 | linux/powerpc64/arch_regs.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 702 | linux/powerpc64/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 703 | linux/powerpc64/arch_sigreturn.c \ |
| 704 | linux/powerpc64/errnoent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 705 | linux/powerpc64/get_error.c \ |
| 706 | linux/powerpc64/get_scno.c \ |
| 707 | linux/powerpc64/get_syscall_args.c \ |
| 708 | linux/powerpc64/getregs_old.c \ |
| 709 | linux/powerpc64/getregs_old.h \ |
| 710 | linux/powerpc64/ioctls_arch0.h \ |
| 711 | linux/powerpc64/ioctls_arch1.h \ |
| 712 | linux/powerpc64/ioctls_inc0.h \ |
| 713 | linux/powerpc64/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 714 | linux/powerpc64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 715 | linux/powerpc64/rt_sigframe.h \ |
| 716 | linux/powerpc64/set_error.c \ |
| 717 | linux/powerpc64/set_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 718 | linux/powerpc64/syscallent.h \ |
| 719 | linux/powerpc64/syscallent1.h \ |
| 720 | linux/powerpc64/userent.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 721 | linux/raw_syscall.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 722 | linux/riscv/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 723 | linux/riscv/arch_regs.c \ |
| 724 | linux/riscv/arch_regs.h \ |
| 725 | linux/riscv/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 726 | linux/riscv/get_error.c \ |
| 727 | linux/riscv/get_scno.c \ |
| 728 | linux/riscv/get_syscall_args.c \ |
| 729 | linux/riscv/ioctls_arch0.h \ |
| 730 | linux/riscv/ioctls_arch1.h \ |
| 731 | linux/riscv/ioctls_inc0.h \ |
| 732 | linux/riscv/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 733 | linux/riscv/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 734 | linux/riscv/set_error.c \ |
| 735 | linux/riscv/set_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 736 | linux/riscv/syscallent.h \ |
| 737 | linux/riscv/syscallent1.h \ |
| 738 | linux/rt_sigframe.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 739 | linux/s390/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 740 | linux/s390/arch_regs.c \ |
| 741 | linux/s390/arch_regs.h \ |
| 742 | linux/s390/arch_rt_sigframe.c \ |
| 743 | linux/s390/arch_sigreturn.c \ |
| 744 | linux/s390/get_error.c \ |
| 745 | linux/s390/get_scno.c \ |
| 746 | linux/s390/get_syscall_args.c \ |
| 747 | linux/s390/ioctls_arch0.h \ |
| 748 | linux/s390/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 749 | linux/s390/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 750 | linux/s390/rt_sigframe.h \ |
| 751 | linux/s390/set_error.c \ |
| 752 | linux/s390/set_scno.c \ |
| 753 | linux/s390/syscallent.h \ |
| 754 | linux/s390/userent.h \ |
| 755 | linux/s390/userent0.h \ |
| 756 | linux/s390/userent1.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 757 | linux/s390x/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 758 | linux/s390x/arch_regs.c \ |
| 759 | linux/s390x/arch_regs.h \ |
| 760 | linux/s390x/arch_rt_sigframe.c \ |
| 761 | linux/s390x/arch_sigreturn.c \ |
| 762 | linux/s390x/get_error.c \ |
| 763 | linux/s390x/get_scno.c \ |
| 764 | linux/s390x/get_syscall_args.c \ |
| 765 | linux/s390x/ioctls_arch0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 766 | linux/s390x/ioctls_arch1.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 767 | linux/s390x/ioctls_inc0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 768 | linux/s390x/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 769 | linux/s390x/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 770 | linux/s390x/rt_sigframe.h \ |
| 771 | linux/s390x/set_error.c \ |
| 772 | linux/s390x/set_scno.c \ |
| 773 | linux/s390x/syscallent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 774 | linux/s390x/syscallent1.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 775 | linux/s390x/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 776 | linux/sh/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 777 | linux/sh/arch_getrval2.c \ |
| 778 | linux/sh/arch_regs.c \ |
| 779 | linux/sh/arch_rt_sigframe.c \ |
| 780 | linux/sh/get_error.c \ |
| 781 | linux/sh/get_scno.c \ |
| 782 | linux/sh/get_syscall_args.c \ |
| 783 | linux/sh/get_syscall_result.c \ |
| 784 | linux/sh/ioctls_arch0.h \ |
| 785 | linux/sh/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 786 | linux/sh/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 787 | linux/sh/set_error.c \ |
| 788 | linux/sh/set_scno.c \ |
| 789 | linux/sh/syscallent.h \ |
| 790 | linux/sh/userent.h \ |
| 791 | linux/sh/userent0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 792 | linux/sh64/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 793 | linux/sh64/arch_regs.c \ |
| 794 | linux/sh64/arch_regs.h \ |
| 795 | linux/sh64/arch_rt_sigframe.c \ |
| 796 | linux/sh64/get_error.c \ |
| 797 | linux/sh64/get_scno.c \ |
| 798 | linux/sh64/get_syscall_args.c \ |
| 799 | linux/sh64/get_syscall_result.c \ |
| 800 | linux/sh64/ioctls_arch0.h \ |
| 801 | linux/sh64/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 802 | linux/sh64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 803 | linux/sh64/rt_sigframe.h \ |
| 804 | linux/sh64/set_error.c \ |
| 805 | linux/sh64/set_scno.c \ |
| 806 | linux/sh64/syscallent.h \ |
| 807 | linux/sh64/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 808 | linux/shuffle_scno.c \ |
Elliott Hughes | c187376 | 2018-12-19 15:13:36 -0800 | [diff] [blame] | 809 | linux/signal.h.in \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 810 | linux/signalent.h \ |
| 811 | linux/smc_diag.h \ |
| 812 | linux/sock_diag.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 813 | linux/sparc/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 814 | linux/sparc/arch_getrval2.c \ |
| 815 | linux/sparc/arch_regs.c \ |
| 816 | linux/sparc/arch_regs.h \ |
| 817 | linux/sparc/arch_rt_sigframe.c \ |
| 818 | linux/sparc/arch_sigreturn.c \ |
| 819 | linux/sparc/errnoent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 820 | linux/sparc/get_error.c \ |
| 821 | linux/sparc/get_scno.c \ |
| 822 | linux/sparc/get_syscall_args.c \ |
| 823 | linux/sparc/ioctls_arch0.h \ |
| 824 | linux/sparc/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 825 | linux/sparc/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 826 | linux/sparc/rt_sigframe.h \ |
| 827 | linux/sparc/set_error.c \ |
| 828 | linux/sparc/set_scno.c \ |
| 829 | linux/sparc/signalent.h \ |
| 830 | linux/sparc/syscallent.h \ |
| 831 | linux/sparc/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 832 | linux/sparc64/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 833 | linux/sparc64/arch_getrval2.c \ |
| 834 | linux/sparc64/arch_regs.c \ |
| 835 | linux/sparc64/arch_regs.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 836 | linux/sparc64/arch_rt_sigframe.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 837 | linux/sparc64/arch_sigreturn.c \ |
| 838 | linux/sparc64/errnoent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 839 | linux/sparc64/get_error.c \ |
| 840 | linux/sparc64/get_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 841 | linux/sparc64/get_syscall_args.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 842 | linux/sparc64/ioctls_arch0.h \ |
| 843 | linux/sparc64/ioctls_arch1.h \ |
| 844 | linux/sparc64/ioctls_inc0.h \ |
| 845 | linux/sparc64/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 846 | linux/sparc64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 847 | linux/sparc64/rt_sigframe.h \ |
| 848 | linux/sparc64/set_error.c \ |
| 849 | linux/sparc64/set_scno.c \ |
| 850 | linux/sparc64/signalent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 851 | linux/sparc64/syscallent.h \ |
| 852 | linux/sparc64/syscallent1.h \ |
| 853 | linux/sparc64/userent.h \ |
| 854 | linux/subcall.h \ |
| 855 | linux/syscall.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 856 | linux/tile/arch_defs_.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 857 | linux/tile/arch_regs.c \ |
| 858 | linux/tile/arch_regs.h \ |
| 859 | linux/tile/arch_rt_sigframe.c \ |
| 860 | linux/tile/arch_sigreturn.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 861 | linux/tile/get_error.c \ |
| 862 | linux/tile/get_scno.c \ |
| 863 | linux/tile/get_syscall_args.c \ |
| 864 | linux/tile/ioctls_arch0.h \ |
| 865 | linux/tile/ioctls_arch1.h \ |
| 866 | linux/tile/ioctls_inc0.h \ |
| 867 | linux/tile/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 868 | linux/tile/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 869 | linux/tile/rt_sigframe.h \ |
| 870 | linux/tile/set_error.c \ |
| 871 | linux/tile/set_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 872 | linux/tile/syscallent.h \ |
| 873 | linux/tile/syscallent1.h \ |
| 874 | linux/tile/userent.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 875 | linux/unix_diag.h \ |
| 876 | linux/userent.h \ |
| 877 | linux/userent0.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 878 | linux/x32/arch_defs_.h \ |
| 879 | linux/x32/arch_kvm.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 880 | linux/x32/arch_regs.c \ |
| 881 | linux/x32/arch_regs.h \ |
| 882 | linux/x32/arch_rt_sigframe.c \ |
| 883 | linux/x32/arch_sigreturn.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 884 | linux/x32/get_error.c \ |
| 885 | linux/x32/get_scno.c \ |
| 886 | linux/x32/get_syscall_args.c \ |
| 887 | linux/x32/ioctls_arch0.h \ |
| 888 | linux/x32/ioctls_arch1.h \ |
| 889 | linux/x32/ioctls_inc0.h \ |
| 890 | linux/x32/ioctls_inc1.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 891 | linux/x32/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 892 | linux/x32/rt_sigframe.h \ |
| 893 | linux/x32/set_error.c \ |
| 894 | linux/x32/set_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 895 | linux/x32/shuffle_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 896 | linux/x32/syscallent.h \ |
| 897 | linux/x32/syscallent1.h \ |
| 898 | linux/x32/userent.h \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 899 | linux/x86_64/arch_defs_.h \ |
| 900 | linux/x86_64/arch_kvm.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 901 | linux/x86_64/arch_regs.c \ |
| 902 | linux/x86_64/arch_regs.h \ |
| 903 | linux/x86_64/arch_rt_sigframe.c \ |
| 904 | linux/x86_64/arch_sigreturn.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 905 | linux/x86_64/get_error.c \ |
| 906 | linux/x86_64/get_scno.c \ |
| 907 | linux/x86_64/get_syscall_args.c \ |
| 908 | linux/x86_64/getregs_old.c \ |
| 909 | linux/x86_64/getregs_old.h \ |
| 910 | linux/x86_64/ioctls_arch0.h \ |
| 911 | linux/x86_64/ioctls_arch1.h \ |
| 912 | linux/x86_64/ioctls_arch2.h \ |
| 913 | linux/x86_64/ioctls_inc0.h \ |
| 914 | linux/x86_64/ioctls_inc1.h \ |
| 915 | linux/x86_64/ioctls_inc2.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 916 | linux/x86_64/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 917 | linux/x86_64/rt_sigframe.h \ |
| 918 | linux/x86_64/set_error.c \ |
| 919 | linux/x86_64/set_scno.c \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 920 | linux/x86_64/shuffle_scno.c \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 921 | linux/x86_64/syscallent.h \ |
| 922 | linux/x86_64/syscallent1.h \ |
| 923 | linux/x86_64/syscallent2.h \ |
| 924 | linux/x86_64/userent.h \ |
| 925 | linux/xtensa/arch_regs.c \ |
| 926 | linux/xtensa/arch_rt_sigframe.c \ |
| 927 | linux/xtensa/get_error.c \ |
| 928 | linux/xtensa/get_scno.c \ |
| 929 | linux/xtensa/get_syscall_args.c \ |
| 930 | linux/xtensa/get_syscall_result.c \ |
| 931 | linux/xtensa/ioctls_arch0.h \ |
| 932 | linux/xtensa/ioctls_inc0.h \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 933 | linux/xtensa/raw_syscall.h \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 934 | linux/xtensa/set_error.c \ |
| 935 | linux/xtensa/set_scno.c \ |
| 936 | linux/xtensa/syscallent.h \ |
| 937 | linux/xtensa/userent.h \ |
| 938 | mpers.awk \ |
| 939 | mpers.sh \ |
| 940 | mpers_test.sh \ |
| 941 | mpers_xlat.h \ |
| 942 | scno.head \ |
| 943 | strace-graph \ |
| 944 | strace-log-merge \ |
| 945 | strace.spec \ |
| 946 | $(XLAT_INPUT_FILES) \ |
| 947 | $(XLAT_HEADER_FILES) \ |
| 948 | xlat/gen.sh \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 949 | # end of EXTRA_DIST |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 950 | |
| 951 | .PHONY: check-valgrind-local |
| 952 | check-valgrind-local: |
| 953 | |
| 954 | .PHONY: srpm |
| 955 | srpm: dist-xz |
| 956 | rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz |
| 957 | |
| 958 | $(srcdir)/.version: |
| 959 | $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@ |
| 960 | |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 961 | bpf_attr_check.c: $(srcdir)/bpf_attr.h $(srcdir)/gen_bpf_attr_check.sh |
| 962 | $(srcdir)/gen_bpf_attr_check.sh $< > $@-t && mv $@-t $@ |
| 963 | |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 964 | strace_SOURCES_c = \ |
| 965 | $(filter %.c,$(strace_SOURCES)) $(filter %.c,$(libstrace_a_SOURCES)) |
| 966 | |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 967 | sys_func_h_sources = $(filter-out $(strace_SOURCES_check),$(strace_SOURCES_c)) |
| 968 | |
| 969 | sys_func.h: $(patsubst %,$(srcdir)/%,$(sys_func_h_sources)) |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 970 | for f in $^; do \ |
| 971 | sed -n 's/^SYS_FUNC(.*/extern &;/p' $$f; \ |
| 972 | done | sort -u > $@ |
| 973 | |
| 974 | syscallent_names = subcall.h syscallent.h syscallent1.h \ |
| 975 | syscallent-n32.h syscallent-n64.h syscallent-o32.h |
| 976 | syscallent_patterns = $(patsubst %,\%/%,$(syscallent_names)) |
| 977 | syscallent_files = $(filter $(syscallent_patterns),$(EXTRA_DIST)) |
| 978 | |
| 979 | sen.h: $(patsubst %,$(srcdir)/%,$(syscallent_files)) |
| 980 | for f in $^; do cat -- $$f; done | \ |
| 981 | $(srcdir)/generate_sen.sh > $@ |
| 982 | |
| 983 | dist-hook: |
| 984 | $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version |
| 985 | ${AM_V_GEN}echo $(COPYRIGHT_YEAR) > $(distdir)/.year |
Elliott Hughes | 77c3ff8 | 2017-09-08 17:11:00 -0700 | [diff] [blame] | 986 | ${AM_V_GEN}echo $(MANPAGE_DATE) > $(distdir)/.strace.1.in.date |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 987 | |
Elliott Hughes | 03a418e | 2018-06-15 13:11:40 -0700 | [diff] [blame] | 988 | today = $(shell LC_TIME=C date -u +%Y-%m-%d) |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 989 | version_regexp = $(subst .,\.,$(VERSION)) |
| 990 | news_check_regexp = 'Noteworthy changes in release $(version_regexp) ($(today))' |
| 991 | |
| 992 | news-check: NEWS |
| 993 | $(AM_V_GEN)if head -1 $< | \ |
| 994 | grep -x $(news_check_regexp) >/dev/null; then \ |
| 995 | :; \ |
| 996 | else \ |
| 997 | echo >&2 '$<: check failed'; \ |
| 998 | exit 1; \ |
| 999 | fi |
| 1000 | |
| 1001 | ioctlsort_CC = $(CC_FOR_BUILD) |
| 1002 | ioctlsort_DEFS = $(DEFS) |
| 1003 | ioctlsort_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES) |
| 1004 | ioctlsort_CPPFLAGS = $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) |
| 1005 | ioctlsort_CFLAGS = $(AM_CFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) |
| 1006 | ioctlsort_LDFLAGS = $(AM_LDFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) |
| 1007 | |
| 1008 | ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h) |
| 1009 | ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h)) |
| 1010 | ioctl_redefs_h = $(filter-out ioctl_redefs0.h,$(subst ioctlent,ioctl_redefs,$(ioctlent_h))) |
| 1011 | |
| 1012 | ioctl_redefs%.h: ioctlent%.h ioctlent0.h |
| 1013 | sort $< > $<-t |
| 1014 | sort ioctlent0.h | comm -23 $<-t - | \ |
| 1015 | sed -r -n 's/^\{ "([^"]+)", (0x[[:xdigit:]]+) \},$$/#ifdef \1\n# undef \1\n# define \1 \2\n#endif/p' \ |
| 1016 | > $@-t |
| 1017 | rm -f $<-t |
| 1018 | mv $@-t $@ |
| 1019 | |
| 1020 | ioctlent%.h: ioctlsort% |
| 1021 | ./$< > $@ |
| 1022 | |
| 1023 | # Need to pick up <linux/ioctl.h> definitions *for host* while compiling |
| 1024 | # ioctlsort *for build*, hence this magic. |
| 1025 | ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c |
| 1026 | $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
| 1027 | $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@ |
| 1028 | |
| 1029 | ioctl_iocdef.h: ioctl_iocdef.i |
| 1030 | sed -n 's/^DEFINE HOST/#define /p' $< > $@ |
| 1031 | |
| 1032 | ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o |
| 1033 | $(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@ |
| 1034 | |
| 1035 | ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c |
| 1036 | $(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c |
| 1037 | |
| 1038 | ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h |
| 1039 | cat $^ > $@ |
| 1040 | |
| 1041 | BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 1042 | bpf_attr_check.c native_printer_decls.h native_printer_defs.h \ |
| 1043 | printers.h sen.h sys_func.h .version |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1044 | CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \ |
| 1045 | ioctl_iocdef.h ioctl_iocdef.i \ |
Elliott Hughes | 28e98bc | 2018-06-14 16:59:04 -0700 | [diff] [blame] | 1046 | bpf_attr_check.c native_printer_decls.h native_printer_defs.h \ |
| 1047 | printers.h sen.h sys_func.h |
Elliott Hughes | c187376 | 2018-12-19 15:13:36 -0800 | [diff] [blame] | 1048 | DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h linux/linux/signal.h |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1049 | |
| 1050 | include scno.am |
| 1051 | |
| 1052 | $(strace_OBJECTS): scno.h |
| 1053 | |
| 1054 | # defines mpers_source_files |
| 1055 | include mpers.am |
| 1056 | srcdir_mpers_source_files = $(patsubst %,$(srcdir)/%,$(mpers_source_files)) |
| 1057 | mpers_preproc_files = $(mpers_source_files:.c=.c.mpers.i) |
| 1058 | |
| 1059 | mpers_NAME = |
| 1060 | mpers_PREFIX = $(mpers_NAME)_ |
| 1061 | mpers_DEFS = $(DEFS) |
| 1062 | mpers_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES) |
| 1063 | mpers_CPPFLAGS = $(strace_CPPFLAGS) $(CPPFLAGS) |
| 1064 | mpers_sh_opts = $(mpers_DEFS) $(mpers_INCLUDES) $(mpers_CPPFLAGS) |
| 1065 | libmpers_CPPFLAGS = $(strace_CPPFLAGS) -DIN_MPERS |
| 1066 | libmpers_CFLAGS = $(strace_CFLAGS) |
| 1067 | |
| 1068 | # mpers targets |
| 1069 | |
| 1070 | mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h |
| 1071 | for f in $^; do \ |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 1072 | READELF="$(READELF)" \ |
| 1073 | CC="$(CC)" \ |
| 1074 | CFLAGS="$(mpers_sh_opts) -DMPERS_IS_$(mpers_NAME)" \ |
| 1075 | CPP="$(CPP)" \ |
| 1076 | CPPFLAGS="$(mpers_sh_opts) -DIN_MPERS -DMPERS_IS_$(mpers_NAME)" \ |
| 1077 | $(srcdir)/mpers.sh $(mpers_NAME) $(mpers_CC_FLAGS) $$f || exit; \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1078 | done |
| 1079 | > $@ |
| 1080 | |
| 1081 | m%_type_defs.h: $(srcdir_mpers_source_files) |
| 1082 | for f in $^; do \ |
| 1083 | sed -r -n 's/^#[[:space:]]*include DEF_MPERS_TYPE\(([^)]+)\)/#ifdef MPERS_$(mpers_PREFIX)\1\n# define \1 MPERS_$(mpers_PREFIX)\1\n#endif/p' $$f || exit; \ |
| 1084 | done > $@-t |
| 1085 | echo '#undef MPERS_PRINTER_NAME' >> $@-t |
| 1086 | echo '#define MPERS_PRINTER_NAME(printer_name) printer_name' >> $@-t |
| 1087 | echo '#include "$(mpers_PREFIX)printer_decls.h"' >> $@-t |
| 1088 | echo '#include MPERS_$(mpers_PREFIX)IOCTL_MACROS' >> $@-t |
| 1089 | mv $@-t $@ |
| 1090 | |
| 1091 | m%_funcs.h: $(srcdir_mpers_source_files) |
| 1092 | for f in $^; do \ |
| 1093 | sed -r -n 's/^SYS_FUNC\(([^)]+)\)/#undef sys_\1\n#define sys_\1 $(mpers_PREFIX)sys_\1/p' $$f || exit; \ |
| 1094 | done > $@-t && \ |
| 1095 | echo '#include "sys_func.h"' >> $@-t |
| 1096 | mv $@-t $@ |
| 1097 | |
| 1098 | # printers |
| 1099 | |
| 1100 | %.c.mpers.i: $(srcdir)/%.c |
| 1101 | $(CPP) -P $(mpers_sh_opts) -DIN_MPERS_BOOTSTRAP $< -o $@ |
| 1102 | |
| 1103 | mpers_printer_decl_pattern = ^MPERS_PRINTER_DECL\(([^,)]+),[[:space:]]*([^,)]+),[[:space:]]*([^)]+)\)$$ |
| 1104 | |
| 1105 | printers.h: $(mpers_preproc_files) |
| 1106 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 1107 | echo 'typedef struct {' >> $@-t |
| 1108 | for f in $^; do \ |
| 1109 | sed -r -n 's/$(mpers_printer_decl_pattern)/ \1 (*\2)(\3);\n#define \2 MPERS_PRINTER_NAME(\2)\n/p' $$f \ |
| 1110 | || exit; \ |
| 1111 | done >> $@-t |
| 1112 | echo '} struct_printers;' >> $@-t |
| 1113 | echo 'extern const struct_printers *printers;' >> $@-t |
| 1114 | echo '#define MPERS_PRINTER_NAME(printer_name) printers->printer_name' >> $@-t |
| 1115 | mv $@-t $@ |
| 1116 | |
| 1117 | %_printer_decls.h: $(mpers_preproc_files) |
| 1118 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 1119 | for f in $^; do \ |
| 1120 | sed -r -n 's/$(mpers_printer_decl_pattern)/extern \1 $(mpers_PREFIX)\2(\3);/p' $$f \ |
| 1121 | || exit; \ |
| 1122 | done >> $@-t |
| 1123 | mv $@-t $@ |
| 1124 | |
| 1125 | %_printer_defs.h: $(mpers_preproc_files) |
| 1126 | echo '/* Generated by Makefile from $^; do not edit. */' > $@-t |
| 1127 | for f in $^; do \ |
| 1128 | sed -r -n 's/$(mpers_printer_decl_pattern)/.\2 = $(mpers_PREFIX)\2,/p' $$f \ |
| 1129 | || exit; \ |
| 1130 | done >> $@-t |
| 1131 | mv $@-t $@ |
| 1132 | |
| 1133 | native_printer_decls.h native_printer_defs.h: mpers_PREFIX = |
| 1134 | |
| 1135 | if HAVE_M32_MPERS |
| 1136 | |
| 1137 | strace_LDADD += libmpers-m32.a |
| 1138 | noinst_LIBRARIES += libmpers-m32.a |
| 1139 | libmpers_m32_a_SOURCES = $(mpers_source_files) |
| 1140 | libmpers_m32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_m32 -I$(builddir)/mpers-m32 |
| 1141 | libmpers_m32_a_CFLAGS = $(libmpers_CFLAGS) |
| 1142 | mpers_m32_targets = mpers-m32.stamp m32_type_defs.h m32_funcs.h m32_printer_decls.h m32_printer_defs.h |
| 1143 | |
| 1144 | BUILT_SOURCES += $(mpers_m32_targets) |
| 1145 | CLEANFILES += $(mpers_m32_targets) |
| 1146 | |
| 1147 | $(mpers_m32_targets): mpers_NAME = m32 |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 1148 | $(mpers_m32_targets): mpers_CC_FLAGS = @cc_flags_m32@ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1149 | |
| 1150 | endif # HAVE_M32_MPERS |
| 1151 | |
| 1152 | if HAVE_MX32_MPERS |
| 1153 | |
| 1154 | strace_LDADD += libmpers-mx32.a |
| 1155 | noinst_LIBRARIES += libmpers-mx32.a |
| 1156 | libmpers_mx32_a_SOURCES = $(mpers_source_files) |
| 1157 | libmpers_mx32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_mx32 -I$(builddir)/mpers-mx32 |
| 1158 | libmpers_mx32_a_CFLAGS = $(libmpers_CFLAGS) |
| 1159 | mpers_mx32_targets = mpers-mx32.stamp mx32_type_defs.h mx32_funcs.h mx32_printer_decls.h mx32_printer_defs.h |
| 1160 | |
| 1161 | BUILT_SOURCES += $(mpers_mx32_targets) |
| 1162 | CLEANFILES += $(mpers_mx32_targets) |
| 1163 | |
| 1164 | $(mpers_mx32_targets): mpers_NAME = mx32 |
Elliott Hughes | b755614 | 2018-02-20 17:03:16 -0800 | [diff] [blame] | 1165 | $(mpers_mx32_targets): mpers_CC_FLAGS = @cc_flags_mx32@ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1166 | |
| 1167 | endif # HAVE_MX32_MPERS |
| 1168 | |
| 1169 | clean-local: |
| 1170 | -rm -rf mpers-m32 mpers-mx32 |
| 1171 | |
| 1172 | if MAINTAINER_MODE |
| 1173 | |
| 1174 | gen_changelog_start_date = 2009-07-08 20:00 |
| 1175 | $(srcdir)/ChangeLog: $(srcdir)/gitlog-to-changelog $(srcdir)/Makefile.in \ |
| 1176 | $(srcdir)/.version |
| 1177 | @rm -f $@.new |
| 1178 | (cd $(srcdir); \ |
| 1179 | ./gitlog-to-changelog --append-dot \ |
| 1180 | --since='$(gen_changelog_start_date)'; \ |
| 1181 | echo; echo; echo 'See ChangeLog-CVS for older changes.' \ |
| 1182 | ) > $@.new |
| 1183 | chmod 444 $@.new |
| 1184 | mv -f $@.new $@ |
| 1185 | |
| 1186 | $(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \ |
| 1187 | $(srcdir)/Makefile.in $(srcdir)/.version |
| 1188 | $(AM_V_GEN) \ |
| 1189 | ( \ |
| 1190 | cd $(srcdir); \ |
| 1191 | sed '/^##/,$$d' CREDITS.in; \ |
Elliott Hughes | bbf97dc | 2017-11-15 16:45:52 -0800 | [diff] [blame] | 1192 | sed -n '1,/^##>/d; s/ */\t/; s/^./&/p' CREDITS.in \ |
| 1193 | | maint/gen-contributors-list.sh - -e HEAD --initial \ |
| 1194 | | sed 's/\t/ /g; s/^/\t/' \ |
Elliott Hughes | dc75b01 | 2017-07-05 13:54:44 -0700 | [diff] [blame] | 1195 | ) > $@-t && mv $@-t $@ |
| 1196 | |
| 1197 | export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX |
| 1198 | |
| 1199 | endif |