blob: 1e7554e1a2786412c8196d74bb2cfbedcbe79f28 [file] [log] [blame]
Roland McGrath6d2b3492002-12-30 00:51:30 +00001# Automake input for strace.
Dmitry V. Levin38a34c92015-12-17 17:56:48 +00002#
3# Copyright (c) 2002-2009 Roland McGrath <roland@redhat.com>
Dmitry V. Levine714b872016-01-12 01:13:48 +00004# Copyright (c) 2006-2016 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin38a34c92015-12-17 17:56:48 +00005# 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 McGrath6d2b3492002-12-30 00:51:30 +000030
Dmitry V. Levin679c47c2015-01-23 22:45:02 +000031if HAVE_M32_RUNTIME
32TESTS_M32 = tests-m32
33endif
34if HAVE_MX32_RUNTIME
35TESTS_MX32 = tests-mx32
36endif
37SUBDIRS = tests $(TESTS_M32) $(TESTS_MX32)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +000038
Roland McGrath6d2b3492002-12-30 00:51:30 +000039bin_PROGRAMS = strace
40man_MANS = strace.1
Denys Vlasenko796f6e82012-03-09 14:21:59 +010041bin_SCRIPTS = strace-graph strace-log-merge
Roland McGrath6d2b3492002-12-30 00:51:30 +000042
Dmitry V. Levinee245d82012-02-25 15:34:10 +010043OS = linux
Roland McGrath6d2b3492002-12-30 00:51:30 +000044# ARCH is `i386', `m68k', `sparc', etc.
45ARCH = @arch@
Roland McGrath6d2b3492002-12-30 00:51:30 +000046
Dmitry V. Levin916aded2010-09-09 17:36:36 +000047ACLOCAL_AMFLAGS = -I m4
Dmitry V. Levin918e49b2010-09-09 17:41:15 +000048AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin579836c2015-01-13 06:12:16 +000049AM_CPPFLAGS = -I$(builddir)/$(OS)/$(ARCH) \
50 -I$(srcdir)/$(OS)/$(ARCH) \
51 -I$(builddir)/$(OS) \
Dmitry V. Levincf3ecbd2015-08-26 22:50:58 +000052 -I$(srcdir)/$(OS) \
53 -I$(builddir) \
54 -I$(srcdir)
Roland McGrath6d2b3492002-12-30 00:51:30 +000055
Mike Frysinger761ed9b2014-02-16 01:59:20 -050056include xlat/Makemodule.am
57
Elvira Khabirova09294222015-08-04 01:47:02 +030058strace_CPPFLAGS = $(AM_CPPFLAGS)
Dmitry V. Levin71d3aa02016-02-03 19:19:48 +000059strace_CFLAGS = $(AM_CFLAGS)
Elvira Khabirova09294222015-08-04 01:47:02 +030060strace_LDFLAGS =
Dmitry V. Levin6ca4c922016-02-04 02:49:01 +000061strace_LDADD = libstrace.a
62noinst_LIBRARIES = libstrace.a
63
64libstrace_a_CPPFLAGS = $(strace_CPPFLAGS)
65libstrace_a_CFLAGS = $(strace_CFLAGS)
66libstrace_a_SOURCES = \
Dmitry V. Levin67c2f672016-04-26 00:21:26 +000067 fstatfs.c \
68 fstatfs64.c \
Dmitry V. Levinb412d752016-07-22 01:17:25 +000069 ipc.c \
Dmitry V. Levine0a0d892016-07-20 01:49:25 +000070 socketcall.c \
Dmitry V. Levin67c2f672016-04-26 00:21:26 +000071 statfs.c \
72 statfs64.c \
Dmitry V. Levina7501f62016-04-22 04:17:06 +000073 sync_file_range.c \
74 sync_file_range2.c \
Dmitry V. Levin6ca4c922016-02-04 02:49:01 +000075 upeek.c \
76 # end of libstrace_a_SOURCES
Elvira Khabirova09294222015-08-04 01:47:02 +030077
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000078strace_SOURCES = \
Dmitry V. Levin304cd812014-12-06 03:53:16 +000079 access.c \
Dmitry V. Levinb94b9832014-12-11 19:25:02 +000080 affinity.c \
Dmitry V. Levin2b640342013-11-11 15:06:18 +000081 aio.c \
Dmitry V. Levin2720a612016-01-09 00:06:06 +000082 alpha.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000083 bjm.c \
84 block.c \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +000085 bpf.c \
Jeff Mahoney8cc69622016-05-18 18:09:39 -040086 btrfs.c \
Dmitry V. Levin95edb8b2014-12-03 20:50:08 +000087 cacheflush.c \
Dmitry V. Levin5e7987b2014-12-03 20:30:15 +000088 capability.c \
Dmitry V. Levin2f0808b2015-02-18 23:59:50 +000089 caps0.h \
90 caps1.h \
Dmitry V. Levin9b2f6742014-12-06 03:53:16 +000091 chdir.c \
Dmitry V. Levinad5cf1e2014-12-06 03:53:16 +000092 chmod.c \
Dmitry V. Levin265903a2014-12-11 19:25:02 +000093 clone.c \
Dmitry V. Levinc1f99f52016-02-13 03:45:32 +000094 copy_file_range.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000095 count.c \
Dmitry V. Levin72dc1b42015-12-31 14:15:59 +000096 defs.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000097 desc.c \
Dmitry V. Levin2ed2cc72014-09-11 22:40:37 +000098 dirent.c \
Dmitry V. Levina367db82015-11-19 18:13:53 +000099 dirent64.c \
Elvira Khabirova09294222015-08-04 01:47:02 +0300100 empty.h \
Dmitry V. Levinaba868c2015-08-01 22:58:17 +0000101 epoll.c \
Etienne Gemsa4f750b92015-02-20 17:14:10 +0100102 evdev.c \
Dmitry V. Levin28471d12015-08-01 20:36:53 +0000103 eventfd.c \
Dmitry V. Levin7be23182014-12-11 19:25:02 +0000104 execve.c \
Dmitry V. Levin91759092014-12-11 19:25:02 +0000105 exit.c \
Dmitry V. Levin63f28dd2014-12-06 03:53:16 +0000106 fadvise.c \
Dmitry V. Levin2795a5f2014-12-06 03:53:16 +0000107 fallocate.c \
Dmitry V. Levin99db95d2014-02-05 04:13:18 +0000108 fanotify.c \
Dmitry V. Levin2f7d0202014-12-13 16:20:44 +0000109 fchownat.c \
Dmitry V. Levin25120032015-10-01 12:24:01 +0000110 fcntl.c \
Dmitry V. Levin7a129742015-09-19 21:28:23 +0000111 fetch_seccomp_fprog.c \
Dmitry V. Levin1a713d92015-09-19 23:48:56 +0000112 fetch_struct_flock.c \
Dmitry V. Levin9a8216e2016-06-27 00:02:50 +0000113 fetch_struct_mmsghdr.c \
114 fetch_struct_msghdr.c \
Dmitry V. Levin67c2f672016-04-26 00:21:26 +0000115 fetch_struct_statfs.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000116 file.c \
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +0000117 file_handle.c \
Jeff Mahoney8cc69622016-05-18 18:09:39 -0400118 file_ioctl.c \
Dmitry V. Levin4dd9f3f2016-05-26 00:37:26 +0000119 fs_x_ioctl.c \
Dmitry V. Levin5d68f462015-10-01 12:20:11 +0000120 flock.c \
Dmitry V. Levin6250e6c2015-10-09 01:38:07 +0000121 flock.h \
Dmitry V. Levine314f802014-12-11 19:25:02 +0000122 futex.c \
Dmitry V. Levinf32126b2015-12-31 14:19:41 +0000123 gcc_compat.h \
Dmitry V. Levin83576382014-12-11 19:25:02 +0000124 get_robust_list.c \
Dmitry V. Levin665f10c2014-12-11 19:21:54 +0000125 getcpu.c \
Dmitry V. Levina8364302014-12-06 03:53:16 +0000126 getcwd.c \
Dmitry V. Levinfef09072015-02-04 16:38:09 +0000127 getrandom.c \
Dmitry V. Levinb3f00402016-05-26 00:07:17 +0000128 hdio.c \
Dmitry V. Levin03c06ea2014-12-11 19:25:02 +0000129 hostname.c \
Dmitry V. Levin2f332e92014-02-05 15:43:04 +0000130 inotify.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000131 io.c \
132 ioctl.c \
Dmitry V. Levin2aa180e2015-11-22 18:18:43 +0000133 ioperm.c \
Dmitry V. Levindcd00c32015-11-22 18:21:54 +0000134 iopl.c \
Dmitry V. Levinfc4727d2014-02-05 17:27:43 +0000135 ioprio.c \
Elvira Khabirovac01ad062015-08-19 05:06:26 +0300136 ipc_defs.h \
137 ipc_msg.c \
138 ipc_msgctl.c \
139 ipc_sem.c \
140 ipc_shm.c \
141 ipc_shmctl.c \
Dmitry V. Levin7aa9c0d2015-11-22 18:35:27 +0000142 kcmp.c \
Dmitry V. Levinbdb07e32015-11-27 01:51:22 +0000143 kernel_types.h \
Dmitry V. Levin90aa9f42014-02-05 13:48:26 +0000144 kexec.c \
Dmitry V. Levin3acf4032014-02-05 22:41:45 +0000145 keyctl.c \
Dmitry V. Levin99a05442014-04-10 14:10:17 +0000146 ldt.c \
Dmitry V. Levin231b19f2014-12-06 03:53:16 +0000147 link.c \
Dmitry V. Levinc31481f2015-12-04 14:37:02 +0000148 linux/asm_stat.h \
Dmitry V. Levincfde1e32015-12-04 15:00:37 +0000149 linux/x32/asm_stat.h \
Dmitry V. Levin60d75242015-11-22 19:28:17 +0000150 lookup_dcookie.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000151 loop.c \
Dmitry V. Levinb5d25ec2014-12-06 03:53:16 +0000152 lseek.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000153 mem.c \
Dmitry V. Levin2aec1e62015-11-15 02:29:29 +0000154 membarrier.c \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +0000155 memfd_create.c \
Dmitry V. Levindb23b342014-12-06 03:53:16 +0000156 mknod.c \
Dmitry V. Levin7c37ce42016-07-14 22:13:58 +0000157 mmsghdr.c \
Dmitry V. Levin6da7ca32014-12-03 21:12:07 +0000158 mount.c \
Elvira Khabirova09294222015-08-04 01:47:02 +0300159 mpers_type.h \
Dmitry V. Levine2fb0bb2015-09-15 21:51:15 +0000160 mq.c \
Dmitry V. Levin95cce4f2016-06-27 00:02:55 +0000161 msghdr.c \
Dmitry V. Levin4b38ce92016-06-27 00:02:41 +0000162 msghdr.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000163 mtd.c \
Dmitry V. Levine2fb0bb2015-09-15 21:51:15 +0000164 native_defs.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000165 net.c \
Fabien Siron2850f742016-07-06 15:49:22 +0000166 netlink.c \
Dmitry V. Levina4da0c82016-04-27 05:06:06 +0000167 numa.c \
Dmitry V. Levin964d80a2014-12-06 03:53:16 +0000168 open.c \
Dmitry V. Levinf6eb0d62014-12-03 20:00:42 +0000169 or1k_atomic.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000170 pathtrace.c \
Dmitry V. Levin0d60cf72015-08-01 20:28:21 +0000171 perf.c \
Dmitry V. Levind28b6a02014-12-03 21:06:11 +0000172 personality.c \
Dmitry V. Levin811bda62015-07-30 16:49:42 +0000173 poll.c \
Dmitry V. Levin53c993d2014-12-11 19:25:02 +0000174 prctl.c \
Elvira Khabirovac01ad062015-08-19 05:06:26 +0300175 print_mq_attr.c \
176 print_msgbuf.c \
Dmitry V. Levind6b05582015-09-16 18:05:43 +0000177 print_sigevent.c \
Dmitry V. Levin67c2f672016-04-26 00:21:26 +0000178 print_statfs.c \
Dmitry V. Levinb5a23ed2015-08-04 01:52:40 +0300179 print_time.c \
Dmitry V. Levindd6bf4b2015-09-16 21:47:48 +0000180 print_timex.c \
Dmitry V. Levin9514ac72014-12-06 03:53:16 +0000181 printmode.c \
Dmitry V. Levin1e08a162015-07-17 23:50:02 +0000182 printrusage.c \
Dmitry V. Levin537c9642015-03-27 23:28:15 +0000183 printsiginfo.c \
Dmitry V. Levin0e946ab2015-07-17 23:56:54 +0000184 printsiginfo.h \
Dmitry V. Levinab21a942014-12-28 18:15:25 +0000185 printstat.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000186 process.c \
Dmitry V. Levindb16c522014-12-11 19:21:54 +0000187 process_vm.c \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +0100188 ptp.c \
Dmitry V. Levinfadf3792015-02-13 00:26:38 +0000189 ptrace.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000190 quota.c \
Dmitry V. Levin9e9ceab2014-12-06 03:53:16 +0000191 readahead.c \
Dmitry V. Levin46245b32014-12-06 03:53:16 +0000192 readlink.c \
Dmitry V. Levin9aaf88c2014-02-05 14:51:19 +0000193 reboot.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000194 regs.h \
Dmitry V. Levin6d20a0b2014-12-06 03:53:16 +0000195 renameat.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000196 resource.c \
Dmitry V. Levin746db062015-07-04 08:56:21 +0000197 rtc.c \
Dmitry V. Levinfff2f312014-12-11 19:25:02 +0000198 sched.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000199 scsi.c \
Dmitry V. Levin2af69032015-02-04 23:50:50 +0000200 seccomp.c \
Dmitry V. Levin7a129742015-09-19 21:28:23 +0000201 seccomp_fprog.h \
Dmitry V. Levinac2e7282015-08-18 22:09:30 +0000202 sendfile.c \
Dmitry V. Levin174bb2b2015-03-26 13:03:25 +0000203 sigaltstack.c \
Dmitry V. Levine714b872016-01-12 01:13:48 +0000204 sigevent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000205 signal.c \
Dmitry V. Levin2307d5c2015-08-03 09:12:26 +0000206 signalfd.c \
Dmitry V. Levin74219ea2015-03-06 01:47:18 +0000207 sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000208 sock.c \
Dmitry V. Levine96aee72016-06-25 13:47:54 +0000209 sockaddr.c \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000210 socketutils.c \
Dmitry V. Levine36c72c2014-12-03 20:56:36 +0000211 sram_alloc.c \
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +0000212 statfs.c \
Dmitry V. Levin67c2f672016-04-26 00:21:26 +0000213 statfs.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000214 strace.c \
Dmitry V. Levin85a364a2014-12-06 03:53:16 +0000215 swapon.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000216 syscall.c \
Dmitry V. Levin172241b2014-12-03 20:20:52 +0000217 sysctl.c \
Dmitry V. Levin57d45a22014-09-29 23:13:05 +0000218 sysinfo.c \
Dmitry V. Levinb21e2fb2014-12-03 21:01:35 +0000219 syslog.c \
Dmitry V. Levin600e33c2014-12-03 20:08:44 +0000220 sysmips.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000221 term.c \
222 time.c \
Elvira Khabirova254ff1e2015-08-03 07:09:34 +0300223 times.c \
Dmitry V. Levin69341822014-12-06 03:53:16 +0000224 truncate.c \
Dmitry V. Levin5104db42016-05-28 10:29:30 +0000225 ubi.c \
Dmitry V. Levine93ef1e2014-12-11 19:25:02 +0000226 uid.c \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +0000227 uid16.c \
Dmitry V. Levind590f3c2014-12-06 03:53:16 +0000228 umask.c \
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +0000229 umount.c \
Dmitry V. Levin58dd2cf2014-12-11 19:25:02 +0000230 uname.c \
Dmitry V. Levina6ebdb12015-11-15 02:22:44 +0000231 userfaultfd.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000232 util.c \
Dmitry V. Levinfb470f32014-12-06 03:53:16 +0000233 utime.c \
Dmitry V. Levin481e0672014-12-06 03:53:16 +0000234 utimes.c \
Philippe De Muyter0cc96142014-11-03 21:27:40 +0100235 v4l2.c \
Dmitry V. Levin769ffe92014-12-06 03:53:16 +0000236 vsprintf.c \
Dmitry V. Levin7ccc1442014-12-11 19:25:02 +0000237 wait.c \
Dmitry V. Levin3e9d71f2015-05-25 20:41:02 +0000238 xattr.c \
Dmitry V. Levin0e097042016-04-26 00:08:16 +0000239 xlat.h \
Elvira Khabirova09294222015-08-04 01:47:02 +0300240 xmalloc.c \
241 # end of strace_SOURCES
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000242
Luca Clementi327064b2013-07-23 00:11:35 -0700243if USE_LIBUNWIND
244strace_SOURCES += unwind.c
Elvira Khabirova09294222015-08-04 01:47:02 +0300245strace_CPPFLAGS += $(libunwind_CPPFLAGS)
246strace_LDFLAGS += $(libunwind_LDFLAGS)
247strace_LDADD += $(libunwind_LIBS)
Luca Clementi327064b2013-07-23 00:11:35 -0700248endif
249
Gabriel Laskarcba67102016-02-01 18:15:39 +0100250@CODE_COVERAGE_RULES@
Dmitry V. Levinc4153872016-05-10 02:08:56 +0000251CODE_COVERAGE_BRANCH_COVERAGE = 1
252CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) \
253 --prefix $(shell realpath -Ls $(abs_top_srcdir)/..)
Gabriel Laskarcba67102016-02-01 18:15:39 +0100254CODE_COVERAGE_IGNORE_PATTERN = '/usr/include/*'
255strace_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS)
256strace_CFLAGS += $(CODE_COVERAGE_CFLAGS)
257strace_LDADD += $(CODE_COVERAGE_LDFLAGS)
258
Denys Vlasenko76f61be2013-03-06 18:59:09 +0100259# Enable this to get link map generated
Dmitry V. Levin71d3aa02016-02-03 19:19:48 +0000260#strace_LDFLAGS += -Wl,-Map=strace.mapfile
Roland McGrath6d2b3492002-12-30 00:51:30 +0000261
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000262EXTRA_DIST = \
263 $(man_MANS) \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000264 .version \
Mike Frysinger6c191362013-05-15 16:33:09 -0400265 COPYING \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000266 CREDITS \
267 ChangeLog \
268 ChangeLog-CVS \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000269 README-linux-ptrace \
270 debian/changelog \
271 debian/compat \
272 debian/control \
273 debian/copyright \
274 debian/rules \
275 debian/source/format \
276 debian/strace-udeb.install \
277 debian/strace.docs \
278 debian/strace.examples \
279 debian/strace.install \
280 debian/strace.manpages \
281 debian/strace64.install \
282 debian/strace64.manpages \
283 debian/watch \
284 errnoent.sh \
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300285 generate_sen.sh \
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000286 ioctlsort.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000287 linux/32/ioctls_inc.h \
Dmitry V. Levin8c20d892015-05-21 16:19:40 +0000288 linux/32/ioctls_inc_align32.h \
289 linux/32/ioctls_inc_align64.h \
Dmitry V. Levindee03a32015-01-11 04:04:54 +0300290 linux/32/syscallent.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000291 linux/64/ioctls_inc.h \
Dmitry V. Levin200c02c2015-01-10 20:51:37 +0300292 linux/64/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000293 linux/aarch64/arch_regs.c \
Andreas Schwab64fc9ce2015-03-12 11:54:08 +0100294 linux/aarch64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000295 linux/aarch64/arch_sigreturn.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000296 linux/aarch64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000297 linux/aarch64/get_error.c \
298 linux/aarch64/get_scno.c \
299 linux/aarch64/get_syscall_args.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000300 linux/aarch64/ioctls_arch0.h \
301 linux/aarch64/ioctls_arch1.h \
302 linux/aarch64/ioctls_inc0.h \
303 linux/aarch64/ioctls_inc1.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000304 linux/aarch64/signalent1.h \
305 linux/aarch64/syscallent.h \
306 linux/aarch64/syscallent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000307 linux/alpha/arch_getrval2.c \
308 linux/alpha/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000309 linux/alpha/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000310 linux/alpha/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000311 linux/alpha/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000312 linux/alpha/get_error.c \
313 linux/alpha/get_scno.c \
314 linux/alpha/get_syscall_args.c \
315 linux/alpha/get_syscall_result.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000316 linux/alpha/ioctls_arch0.h \
317 linux/alpha/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000318 linux/alpha/signalent.h \
319 linux/alpha/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000320 linux/alpha/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000321 linux/arc/arch_regs.c \
322 linux/arc/get_error.c \
323 linux/arc/get_scno.c \
324 linux/arc/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000325 linux/arc/ioctls_arch0.h \
326 linux/arc/ioctls_inc0.h \
Vineet Gupta7daacbb2013-08-16 12:47:06 +0530327 linux/arc/syscallent.h \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000328 linux/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000329 linux/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000330 linux/arm/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000331 linux/arm/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000332 linux/arm/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000333 linux/arm/get_error.c \
334 linux/arm/get_scno.c \
335 linux/arm/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000336 linux/arm/ioctls_arch0.h \
337 linux/arm/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000338 linux/arm/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000339 linux/arm/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000340 linux/avr32/arch_regs.c \
341 linux/avr32/get_error.c \
342 linux/avr32/get_scno.c \
343 linux/avr32/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000344 linux/avr32/ioctls_arch0.h \
345 linux/avr32/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000346 linux/avr32/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000347 linux/avr32/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000348 linux/bfin/arch_regs.c \
349 linux/bfin/get_error.c \
350 linux/bfin/get_scno.c \
351 linux/bfin/get_syscall_args.c \
352 linux/bfin/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000353 linux/bfin/ioctls_arch0.h \
354 linux/bfin/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000355 linux/bfin/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000356 linux/bfin/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000357 linux/crisv10/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000358 linux/crisv10/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000359 linux/crisv10/get_error.c \
360 linux/crisv10/get_scno.c \
361 linux/crisv10/get_syscall_args.c \
362 linux/crisv10/get_syscall_result.c \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000363 linux/crisv10/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000364 linux/crisv32/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000365 linux/crisv32/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000366 linux/crisv32/get_error.c \
367 linux/crisv32/get_scno.c \
368 linux/crisv32/get_syscall_args.c \
369 linux/crisv32/get_syscall_result.c \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000370 linux/crisv32/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000371 linux/dummy.h \
372 linux/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000373 linux/hppa/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000374 linux/hppa/arch_regs.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000375 linux/hppa/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000376 linux/hppa/get_error.c \
377 linux/hppa/get_scno.c \
378 linux/hppa/get_syscall_args.c \
379 linux/hppa/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000380 linux/hppa/ioctls_arch0.h \
381 linux/hppa/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000382 linux/hppa/signalent.h \
383 linux/hppa/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000384 linux/i386/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000385 linux/i386/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000386 linux/i386/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000387 linux/i386/get_error.c \
388 linux/i386/get_scno.c \
389 linux/i386/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000390 linux/i386/ioctls_arch0.h \
391 linux/i386/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000392 linux/i386/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000393 linux/i386/userent.h \
394 linux/i386/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000395 linux/ia64/arch_getrval2.c \
396 linux/ia64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000397 linux/ia64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000398 linux/ia64/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000399 linux/ia64/get_error.c \
400 linux/ia64/get_scno.c \
401 linux/ia64/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000402 linux/ia64/ioctls_arch0.h \
403 linux/ia64/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000404 linux/ia64/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000405 linux/ia64/userent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000406 linux/inet_diag.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000407 linux/m68k/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000408 linux/m68k/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000409 linux/m68k/get_error.c \
410 linux/m68k/get_scno.c \
411 linux/m68k/get_syscall_args.c \
412 linux/m68k/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000413 linux/m68k/ioctls_arch0.h \
414 linux/m68k/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000415 linux/m68k/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000416 linux/m68k/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000417 linux/metag/arch_regs.c \
418 linux/metag/get_error.c \
419 linux/metag/get_scno.c \
420 linux/metag/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000421 linux/metag/ioctls_arch0.h \
422 linux/metag/ioctls_inc0.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000423 linux/metag/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000424 linux/microblaze/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000425 linux/microblaze/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000426 linux/microblaze/get_error.c \
427 linux/microblaze/get_scno.c \
428 linux/microblaze/get_syscall_args.c \
429 linux/microblaze/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000430 linux/microblaze/ioctls_arch0.h \
431 linux/microblaze/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000432 linux/microblaze/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000433 linux/microblaze/userent.h \
Dmitry V. Levin8e8d7d22015-03-23 23:14:08 +0000434 linux/mips/arch_getrval2.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000435 linux/mips/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000436 linux/mips/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000437 linux/mips/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000438 linux/mips/errnoent.h \
Dmitry V. Levind59287d2015-01-13 04:57:27 +0000439 linux/mips/genstub.sh \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000440 linux/mips/get_error.c \
441 linux/mips/get_scno.c \
442 linux/mips/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000443 linux/mips/ioctls_arch0.h \
444 linux/mips/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000445 linux/mips/signalent.h \
Dmitry V. Levin34c445b2013-05-07 02:46:46 +0000446 linux/mips/syscallent-compat.h \
447 linux/mips/syscallent-n32.h \
448 linux/mips/syscallent-n64.h \
449 linux/mips/syscallent-o32.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000450 linux/mips/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000451 linux/mips/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000452 linux/mtd-abi.h \
Fabien Siron814c0d52016-05-17 10:08:47 +0000453 linux/netlink_diag.h \
Ezequiel Garciabd8dd772015-04-18 17:33:27 -0300454 linux/nios2/arch_regs.c \
455 linux/nios2/get_error.c \
456 linux/nios2/get_scno.c \
457 linux/nios2/get_syscall_args.c \
458 linux/nios2/ioctls_arch0.h \
459 linux/nios2/ioctls_inc0.h \
Ezequiel Garciabd8dd772015-04-18 17:33:27 -0300460 linux/nios2/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000461 linux/or1k/arch_regs.c \
462 linux/or1k/get_error.c \
463 linux/or1k/get_scno.c \
464 linux/or1k/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000465 linux/or1k/ioctls_arch0.h \
466 linux/or1k/ioctls_inc0.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000467 linux/or1k/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000468 linux/or1k/userent.h \
Dmitry V. Levin2a32eaa2014-02-05 02:09:49 +0000469 linux/personality.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000470 linux/powerpc/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000471 linux/powerpc/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000472 linux/powerpc/arch_sigreturn.c \
Dmitry V. Levinb2f8c772015-02-23 03:10:25 +0000473 linux/powerpc/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000474 linux/powerpc/get_error.c \
475 linux/powerpc/get_scno.c \
476 linux/powerpc/get_syscall_args.c \
477 linux/powerpc/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000478 linux/powerpc/ioctls_arch0.h \
479 linux/powerpc/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000480 linux/powerpc/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000481 linux/powerpc/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000482 linux/powerpc64/arch_regs.c \
Dmitry V. Levin7226c3a2015-02-23 21:28:33 +0000483 linux/powerpc64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000484 linux/powerpc64/arch_sigreturn.c \
Dmitry V. Levinb2f8c772015-02-23 03:10:25 +0000485 linux/powerpc64/errnoent.h \
Dmitry V. Levinaf3ab5b2015-01-21 17:04:31 +0000486 linux/powerpc64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000487 linux/powerpc64/get_error.c \
488 linux/powerpc64/get_scno.c \
489 linux/powerpc64/get_syscall_args.c \
490 linux/powerpc64/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000491 linux/powerpc64/ioctls_arch0.h \
492 linux/powerpc64/ioctls_arch1.h \
493 linux/powerpc64/ioctls_inc0.h \
494 linux/powerpc64/ioctls_inc1.h \
Dmitry V. Levinaf3ab5b2015-01-21 17:04:31 +0000495 linux/powerpc64/signalent1.h \
496 linux/powerpc64/syscallent.h \
497 linux/powerpc64/syscallent1.h \
498 linux/powerpc64/userent.h \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +0100499 linux/ptp_clock.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000500 linux/s390/arch_regs.c \
Dmitry V. Levin20eca8a2015-03-05 22:10:15 +0000501 linux/s390/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000502 linux/s390/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000503 linux/s390/get_error.c \
504 linux/s390/get_scno.c \
505 linux/s390/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000506 linux/s390/ioctls_arch0.h \
507 linux/s390/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000508 linux/s390/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000509 linux/s390/userent.h \
510 linux/s390/userent0.h \
511 linux/s390/userent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000512 linux/s390x/arch_regs.c \
Dmitry V. Levin20eca8a2015-03-05 22:10:15 +0000513 linux/s390x/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000514 linux/s390x/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000515 linux/s390x/get_error.c \
516 linux/s390x/get_scno.c \
517 linux/s390x/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000518 linux/s390x/ioctls_arch0.h \
519 linux/s390x/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000520 linux/s390x/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000521 linux/s390x/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000522 linux/sh/arch_getrval2.c \
523 linux/sh/arch_regs.c \
524 linux/sh/get_error.c \
525 linux/sh/get_scno.c \
526 linux/sh/get_syscall_args.c \
527 linux/sh/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000528 linux/sh/ioctls_arch0.h \
529 linux/sh/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000530 linux/sh/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000531 linux/sh/userent.h \
532 linux/sh/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000533 linux/sh64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000534 linux/sh64/arch_regs.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000535 linux/sh64/get_error.c \
536 linux/sh64/get_scno.c \
537 linux/sh64/get_syscall_args.c \
538 linux/sh64/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000539 linux/sh64/ioctls_arch0.h \
540 linux/sh64/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000541 linux/sh64/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000542 linux/sh64/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000543 linux/signalent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000544 linux/sock_diag.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000545 linux/sparc/arch_getrval2.c \
546 linux/sparc/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000547 linux/sparc/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000548 linux/sparc/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000549 linux/sparc/errnoent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000550 linux/sparc/gen.pl \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000551 linux/sparc/get_error.c \
552 linux/sparc/get_scno.c \
553 linux/sparc/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000554 linux/sparc/ioctls_arch0.h \
555 linux/sparc/ioctls_inc0.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000556 linux/sparc/signalent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000557 linux/sparc/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000558 linux/sparc/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000559 linux/sparc64/arch_getrval2.c \
560 linux/sparc64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000561 linux/sparc64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000562 linux/sparc64/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000563 linux/sparc64/errnoent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100564 linux/sparc64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000565 linux/sparc64/get_error.c \
566 linux/sparc64/get_scno.c \
567 linux/sparc64/get_syscall_args.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000568 linux/sparc64/ioctls_arch0.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100569 linux/sparc64/ioctls_arch1.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000570 linux/sparc64/ioctls_inc0.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100571 linux/sparc64/ioctls_inc1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000572 linux/sparc64/signalent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100573 linux/sparc64/signalent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000574 linux/sparc64/syscallent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100575 linux/sparc64/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000576 linux/sparc64/userent.h \
Dmitry V. Levinde462cf2013-05-07 18:38:01 +0400577 linux/subcall.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000578 linux/syscall.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000579 linux/tile/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000580 linux/tile/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000581 linux/tile/arch_sigreturn.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000582 linux/tile/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000583 linux/tile/get_error.c \
584 linux/tile/get_scno.c \
585 linux/tile/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000586 linux/tile/ioctls_arch0.h \
587 linux/tile/ioctls_arch1.h \
588 linux/tile/ioctls_inc0.h \
589 linux/tile/ioctls_inc1.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000590 linux/tile/signalent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000591 linux/tile/syscallent.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000592 linux/tile/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000593 linux/tile/userent.h \
Dmitry V. Levin8e0b8be2013-06-02 18:09:44 +0000594 linux/ubi-user.h \
Dmitry V. Levince21ef02015-01-09 02:02:39 +0000595 linux/unix_diag.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000596 linux/userent.h \
597 linux/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000598 linux/x32/arch_regs.c \
Dmitry V. Levin19fcb272015-02-26 20:40:43 +0000599 linux/x32/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000600 linux/x32/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000601 linux/x32/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000602 linux/x32/get_error.c \
603 linux/x32/get_scno.c \
604 linux/x32/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000605 linux/x32/ioctls_arch0.h \
606 linux/x32/ioctls_arch1.h \
607 linux/x32/ioctls_inc0.h \
608 linux/x32/ioctls_inc1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000609 linux/x32/signalent1.h \
610 linux/x32/syscallent.h \
611 linux/x32/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000612 linux/x32/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000613 linux/x86_64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000614 linux/x86_64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000615 linux/x86_64/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000616 linux/x86_64/errnoent1.h \
617 linux/x86_64/errnoent2.h \
618 linux/x86_64/gentab.pl \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000619 linux/x86_64/get_error.c \
620 linux/x86_64/get_scno.c \
621 linux/x86_64/get_syscall_args.c \
622 linux/x86_64/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000623 linux/x86_64/ioctls_arch0.h \
624 linux/x86_64/ioctls_arch1.h \
Dmitry V. Levin43413732015-03-02 02:38:50 +0000625 linux/x86_64/ioctls_arch2.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000626 linux/x86_64/ioctls_inc0.h \
627 linux/x86_64/ioctls_inc1.h \
Dmitry V. Levin43413732015-03-02 02:38:50 +0000628 linux/x86_64/ioctls_inc2.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000629 linux/x86_64/signalent1.h \
630 linux/x86_64/signalent2.h \
631 linux/x86_64/syscallent.h \
632 linux/x86_64/syscallent1.h \
633 linux/x86_64/syscallent2.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000634 linux/x86_64/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000635 linux/xtensa/arch_regs.c \
636 linux/xtensa/get_error.c \
637 linux/xtensa/get_scno.c \
638 linux/xtensa/get_syscall_args.c \
639 linux/xtensa/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000640 linux/xtensa/ioctls_arch0.h \
641 linux/xtensa/ioctls_inc0.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000642 linux/xtensa/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000643 linux/xtensa/userent.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000644 maint/ioctls_gen.sh \
645 maint/ioctls_hex.sh \
646 maint/ioctls_sym.sh \
647 maint/print_ioctlent.c \
Elvira Khabirova09294222015-08-04 01:47:02 +0300648 mpers.awk \
649 mpers.sh \
650 mpers_test.sh \
Dmitry V. Levin5cb45b22015-11-20 01:43:12 +0000651 mpers_xlat.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000652 signalent.sh \
653 strace-graph \
654 strace-log-merge \
655 strace.spec \
656 syscallent.sh \
Mike Frysinger761ed9b2014-02-16 01:59:20 -0500657 $(XLAT_INPUT_FILES) \
658 $(XLAT_HEADER_FILES) \
659 xlat/gen.sh \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000660 xlate.el
Roland McGrathbc44e402004-07-12 05:45:08 +0000661
Roland McGrath2b832df2009-10-06 17:46:56 -0700662.PHONY: srpm
Dmitry V. Levin525a39a2011-02-27 14:05:58 +0000663srpm: dist-xz
664 rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz
Roland McGrath2b832df2009-10-06 17:46:56 -0700665
Dmitry V. Levindce75932013-04-30 23:52:12 +0000666$(srcdir)/.version:
667 $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
668
Dmitry V. Levina7501f62016-04-22 04:17:06 +0000669strace_SOURCES_c = \
670 $(filter %.c,$(strace_SOURCES)) $(filter %.c,$(libstrace_a_SOURCES))
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000671
672sys_func.h: $(patsubst %,$(srcdir)/%,$(strace_SOURCES_c))
673 for f in $^; do \
674 sed -n 's/^SYS_FUNC(.*/extern &;/p' $$f; \
675 done | sort -u > $@
676
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300677syscallent_names = subcall.h syscallent.h syscallent1.h \
678 syscallent-n32.h syscallent-n64.h syscallent-o32.h
679syscallent_patterns = $(patsubst %,\%/%,$(syscallent_names))
680syscallent_files = $(filter $(syscallent_patterns),$(EXTRA_DIST))
681
682sen.h: $(patsubst %,$(srcdir)/%,$(syscallent_files))
683 for f in $^; do cat -- $$f; done | \
684 $(srcdir)/generate_sen.sh > $@
685
Dmitry V. Levindce75932013-04-30 23:52:12 +0000686dist-hook:
687 $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
688
689today = $(shell date +%Y-%m-%d)
690version_regexp = $(subst .,\.,$(VERSION))
691news_check_regexp = 'Noteworthy changes in release $(version_regexp) ($(today))'
692
693news-check: NEWS
694 $(AM_V_GEN)if head -1 $< | \
695 grep -x $(news_check_regexp) >/dev/null; then \
696 :; \
697 else \
698 echo >&2 '$<: check failed'; \
699 exit 1; \
700 fi
Mike Frysinger9004e122011-02-20 23:24:22 -0500701
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500702ioctlsort_CC = $(CC_FOR_BUILD)
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000703ioctlsort_DEFS = $(DEFS)
704ioctlsort_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES)
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500705ioctlsort_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_FOR_BUILD)
706ioctlsort_CFLAGS = $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
707ioctlsort_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD)
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000708
709ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h)
710ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h))
Dmitry V. Levin18225462016-05-02 22:06:56 +0000711ioctl_redefs_h = $(filter-out ioctl_redefs0.h,$(subst ioctlent,ioctl_redefs,$(ioctlent_h)))
712
713ioctl_redefs%.h: ioctlent%.h ioctlent0.h
714 sort $< > $<-t
715 sort ioctlent0.h | comm -23 $<-t - | \
716 sed -n 's/^{ "\([^"]\+\)", \(0x[[:xdigit:]]\+\) },$$/#ifdef \1\n# undef \1\n# define \1 \2\n#endif/p' \
717 > $@-t
718 rm -f $<-t
719 mv $@-t $@
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000720
721ioctlent%.h: ioctlsort%
722 ./$< > $@
723
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500724ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
725 $(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000726
727ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
728 $(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
729
730ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
731 cat $^ > $@
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000732
Dmitry V. Levin18225462016-05-02 22:06:56 +0000733BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) \
734 native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000735CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
Dmitry V. Levin18225462016-05-02 22:06:56 +0000736 native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
Dmitry V. Levine2a33702015-08-27 19:51:05 +0000737DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
Elvira Khabirova09294222015-08-04 01:47:02 +0300738
739# defines mpers_source_files
740include mpers.am
741srcdir_mpers_source_files = $(patsubst %,$(srcdir)/%,$(mpers_source_files))
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000742mpers_preproc_files = $(mpers_source_files:.c=.c.mpers.i)
Elvira Khabirova09294222015-08-04 01:47:02 +0300743
744mpers_NAME =
745mpers_PREFIX = $(mpers_NAME)_
746mpers_DEFS = $(DEFS)
747mpers_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES)
748mpers_CPPFLAGS = $(strace_CPPFLAGS) $(CPPFLAGS)
749mpers_sh_opts = $(mpers_DEFS) $(mpers_INCLUDES) $(mpers_CPPFLAGS)
Dmitry V. Levinfafa7dc2016-02-03 19:18:28 +0000750libmpers_CPPFLAGS = $(strace_CPPFLAGS) -DIN_MPERS
Dmitry V. Levin71d3aa02016-02-03 19:19:48 +0000751libmpers_CFLAGS = $(strace_CFLAGS)
Elvira Khabirova09294222015-08-04 01:47:02 +0300752
753# mpers targets
754
Gabriel Laskarad25c742015-10-01 14:49:25 +0200755mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h
Elvira Khabirova09294222015-08-04 01:47:02 +0300756 for f in $^; do \
757 CC="$(CC)" CFLAGS="$(mpers_sh_opts)" \
Dmitry V. Levin35bd0b82015-11-16 01:12:18 +0000758 CPP="$(CPP)" CPPFLAGS="$(mpers_sh_opts) -DIN_MPERS -DMPERS_IS_$(mpers_NAME)" \
Elvira Khabirova09294222015-08-04 01:47:02 +0300759 $(srcdir)/mpers.sh -$(mpers_NAME) $$f || exit; \
760 done
761 > $@
762
Dmitry V. Levin370eb162015-11-07 23:22:24 +0000763m%_type_defs.h: $(srcdir_mpers_source_files)
Elvira Khabirova09294222015-08-04 01:47:02 +0300764 for f in $^; do \
765 sed -n 's/^#include DEF_MPERS_TYPE(\([^)]\+\))/#ifdef MPERS_$(mpers_PREFIX)\1\n# define \1 MPERS_$(mpers_PREFIX)\1\n#endif/p' $$f || exit; \
766 done > $@-t
Dmitry V. Levine2fb0bb2015-09-15 21:51:15 +0000767 echo '#undef MPERS_PRINTER_NAME' >> $@-t
768 echo '#define MPERS_PRINTER_NAME(printer_name) printer_name' >> $@-t
769 echo '#include "$(mpers_PREFIX)printer_decls.h"' >> $@-t
Dmitry V. Levin18225462016-05-02 22:06:56 +0000770 echo '#include MPERS_$(mpers_PREFIX)IOCTL_MACROS' >> $@-t
Elvira Khabirova09294222015-08-04 01:47:02 +0300771 mv $@-t $@
772
773m%_funcs.h: $(srcdir_mpers_source_files)
774 for f in $^; do \
775 sed -n 's/^SYS_FUNC(\([^)]\+\))/#undef sys_\1\n#define sys_\1 $(mpers_PREFIX)sys_\1/p' $$f || exit; \
776 done > $@-t && \
777 echo '#include "sys_func.h"' >> $@-t
778 mv $@-t $@
779
780# printers
781
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000782%.c.mpers.i: $(srcdir)/%.c
783 $(CPP) -P $(mpers_sh_opts) -DIN_MPERS_BOOTSTRAP $< -o $@
784
785mpers_printer_decl_pattern = ^MPERS_PRINTER_DECL(\([^,)]\+\),[[:space:]]*\([^,)]\+\),[[:space:]]*\([^)]\+\))$$
786
787printers.h: $(mpers_preproc_files)
Elvira Khabirova09294222015-08-04 01:47:02 +0300788 echo '/* Generated by Makefile from $^; do not edit. */' > $@-t
789 echo 'typedef struct {' >> $@-t
790 for f in $^; do \
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000791 sed -n 's/$(mpers_printer_decl_pattern)/ \1 (*\2)(\3);\n#define \2 MPERS_PRINTER_NAME(\2)\n/p' $$f \
792 || exit; \
Elvira Khabirova09294222015-08-04 01:47:02 +0300793 done >> $@-t
794 echo '} struct_printers;' >> $@-t
Dmitry V. Levine2fb0bb2015-09-15 21:51:15 +0000795 echo 'extern const struct_printers *printers;' >> $@-t
796 echo '#define MPERS_PRINTER_NAME(printer_name) printers->printer_name' >> $@-t
Elvira Khabirova09294222015-08-04 01:47:02 +0300797 mv $@-t $@
798
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000799%_printer_decls.h: $(mpers_preproc_files)
Elvira Khabirova09294222015-08-04 01:47:02 +0300800 echo '/* Generated by Makefile from $^; do not edit. */' > $@-t
801 for f in $^; do \
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000802 sed -n 's/$(mpers_printer_decl_pattern)/extern \1 $(mpers_PREFIX)\2(\3);/p' $$f \
803 || exit; \
Elvira Khabirova09294222015-08-04 01:47:02 +0300804 done >> $@-t
805 mv $@-t $@
806
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000807%_printer_defs.h: $(mpers_preproc_files)
Elvira Khabirova09294222015-08-04 01:47:02 +0300808 echo '/* Generated by Makefile from $^; do not edit. */' > $@-t
809 for f in $^; do \
Dmitry V. Levina8fce092016-05-21 22:53:06 +0000810 sed -n 's/$(mpers_printer_decl_pattern)/\.\2 = $(mpers_PREFIX)\2,/p' $$f \
811 || exit; \
Elvira Khabirova09294222015-08-04 01:47:02 +0300812 done >> $@-t
813 mv $@-t $@
814
815native_printer_decls.h native_printer_defs.h: mpers_PREFIX =
816
817if HAVE_M32_MPERS
818
819strace_LDADD += libmpers-m32.a
820noinst_LIBRARIES += libmpers-m32.a
821libmpers_m32_a_SOURCES = $(mpers_source_files)
822libmpers_m32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_m32 -I$(builddir)/mpers-m32
Dmitry V. Levin71d3aa02016-02-03 19:19:48 +0000823libmpers_m32_a_CFLAGS = $(libmpers_CFLAGS)
Dmitry V. Levin370eb162015-11-07 23:22:24 +0000824mpers_m32_targets = mpers-m32.stamp m32_type_defs.h m32_funcs.h m32_printer_decls.h m32_printer_defs.h
Elvira Khabirova09294222015-08-04 01:47:02 +0300825
826BUILT_SOURCES += $(mpers_m32_targets)
827CLEANFILES += $(mpers_m32_targets)
828
829$(mpers_m32_targets): mpers_NAME = m32
830
831endif # HAVE_M32_MPERS
832
833if HAVE_MX32_MPERS
834
835strace_LDADD += libmpers-mx32.a
836noinst_LIBRARIES += libmpers-mx32.a
837libmpers_mx32_a_SOURCES = $(mpers_source_files)
838libmpers_mx32_a_CPPFLAGS = $(libmpers_CPPFLAGS) -DMPERS_IS_mx32 -I$(builddir)/mpers-mx32
Dmitry V. Levin71d3aa02016-02-03 19:19:48 +0000839libmpers_mx32_a_CFLAGS = $(libmpers_CFLAGS)
Dmitry V. Levin370eb162015-11-07 23:22:24 +0000840mpers_mx32_targets = mpers-mx32.stamp mx32_type_defs.h mx32_funcs.h mx32_printer_decls.h mx32_printer_defs.h
Elvira Khabirova09294222015-08-04 01:47:02 +0300841
842BUILT_SOURCES += $(mpers_mx32_targets)
843CLEANFILES += $(mpers_mx32_targets)
844
845$(mpers_mx32_targets): mpers_NAME = mx32
846
847endif # HAVE_MX32_MPERS
848
849clean-local:
850 -rm -rf mpers-m32 mpers-mx32
851
Roland McGrathbc44e402004-07-12 05:45:08 +0000852if MAINTAINER_MODE
Roland McGratha478d742009-10-06 17:41:02 -0700853
854gen_changelog_start_date = 2009-07-08 20:00
Dmitry V. Levindce75932013-04-30 23:52:12 +0000855$(srcdir)/ChangeLog: $(srcdir)/gitlog-to-changelog $(srcdir)/Makefile.in \
856 $(srcdir)/.version
Roland McGratha478d742009-10-06 17:41:02 -0700857 @rm -f $@.new
Dmitry V. Levindce75932013-04-30 23:52:12 +0000858 (cd $(srcdir); \
Dmitry V. Levin594399d2011-11-05 13:32:27 +0000859 ./gitlog-to-changelog --append-dot \
860 --since='$(gen_changelog_start_date)'; \
Roland McGratha478d742009-10-06 17:41:02 -0700861 echo; echo; echo 'See ChangeLog-CVS for older changes.' \
862 ) > $@.new
863 chmod 444 $@.new
864 mv -f $@.new $@
865
Dmitry V. Levindce75932013-04-30 23:52:12 +0000866$(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \
867 $(srcdir)/Makefile.in $(srcdir)/.version
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000868 $(AM_V_GEN) \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400869 ( \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000870 cd $(srcdir); \
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000871 sed '/^##/,$$d' CREDITS.in; \
872 { sed -n '1,/^##>/d; s/ \+/\t/; s/^./&/p' CREDITS.in; \
873 git log --pretty=format:'%aN %aE'; \
874 } | LC_ALL=C sort -u \
875 | awk -F'\t' '{printf("\t%s <%s>\n",$$1,$$2)}'; \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400876 ) > $@-t && mv $@-t $@
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000877
Dmitry V. Levin76ac37d2009-10-09 22:10:09 +0000878export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX
879
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000880endif