blob: f70f6d2bef3332e6cde69dcd087e6133a3f527b2 [file] [log] [blame]
Roland McGrath6d2b3492002-12-30 00:51:30 +00001# Automake input for strace.
2
Dmitry V. Levin679c47c2015-01-23 22:45:02 +00003if HAVE_M32_RUNTIME
4TESTS_M32 = tests-m32
5endif
6if HAVE_MX32_RUNTIME
7TESTS_MX32 = tests-mx32
8endif
9SUBDIRS = tests $(TESTS_M32) $(TESTS_MX32)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +000010
Roland McGrath6d2b3492002-12-30 00:51:30 +000011bin_PROGRAMS = strace
12man_MANS = strace.1
Denys Vlasenko796f6e82012-03-09 14:21:59 +010013bin_SCRIPTS = strace-graph strace-log-merge
Roland McGrath6d2b3492002-12-30 00:51:30 +000014
Dmitry V. Levinee245d82012-02-25 15:34:10 +010015OS = linux
Roland McGrath6d2b3492002-12-30 00:51:30 +000016# ARCH is `i386', `m68k', `sparc', etc.
17ARCH = @arch@
Roland McGrath6d2b3492002-12-30 00:51:30 +000018
Dmitry V. Levin916aded2010-09-09 17:36:36 +000019ACLOCAL_AMFLAGS = -I m4
Dmitry V. Levin918e49b2010-09-09 17:41:15 +000020AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin579836c2015-01-13 06:12:16 +000021AM_CPPFLAGS = -I$(builddir)/$(OS)/$(ARCH) \
22 -I$(srcdir)/$(OS)/$(ARCH) \
23 -I$(builddir)/$(OS) \
24 -I$(srcdir)/$(OS)
Roland McGrath6d2b3492002-12-30 00:51:30 +000025
Mike Frysinger761ed9b2014-02-16 01:59:20 -050026include xlat/Makemodule.am
27
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000028strace_SOURCES = \
Dmitry V. Levin304cd812014-12-06 03:53:16 +000029 access.c \
Dmitry V. Levinb94b9832014-12-11 19:25:02 +000030 affinity.c \
Dmitry V. Levin2b640342013-11-11 15:06:18 +000031 aio.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000032 bjm.c \
33 block.c \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +000034 bpf.c \
Dmitry V. Levin95edb8b2014-12-03 20:50:08 +000035 cacheflush.c \
Dmitry V. Levin5e7987b2014-12-03 20:30:15 +000036 capability.c \
Dmitry V. Levin2f0808b2015-02-18 23:59:50 +000037 caps0.h \
38 caps1.h \
Dmitry V. Levin9b2f6742014-12-06 03:53:16 +000039 chdir.c \
Dmitry V. Levinad5cf1e2014-12-06 03:53:16 +000040 chmod.c \
Dmitry V. Levin265903a2014-12-11 19:25:02 +000041 clone.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000042 count.c \
43 desc.c \
Dmitry V. Levin2ed2cc72014-09-11 22:40:37 +000044 dirent.c \
Dmitry V. Levinaba868c2015-08-01 22:58:17 +000045 epoll.c \
Etienne Gemsa4f750b92015-02-20 17:14:10 +010046 evdev.c \
Dmitry V. Levin28471d12015-08-01 20:36:53 +000047 eventfd.c \
Dmitry V. Levin7be23182014-12-11 19:25:02 +000048 execve.c \
Dmitry V. Levin91759092014-12-11 19:25:02 +000049 exit.c \
Dmitry V. Levin63f28dd2014-12-06 03:53:16 +000050 fadvise.c \
Dmitry V. Levin2795a5f2014-12-06 03:53:16 +000051 fallocate.c \
Dmitry V. Levin99db95d2014-02-05 04:13:18 +000052 fanotify.c \
Dmitry V. Levin2f7d0202014-12-13 16:20:44 +000053 fchownat.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000054 file.c \
Dmitry V. Levine314f802014-12-11 19:25:02 +000055 futex.c \
Dmitry V. Levin83576382014-12-11 19:25:02 +000056 get_robust_list.c \
Dmitry V. Levin665f10c2014-12-11 19:21:54 +000057 getcpu.c \
Dmitry V. Levina8364302014-12-06 03:53:16 +000058 getcwd.c \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000059 getrandom.c \
Dmitry V. Levin03c06ea2014-12-11 19:25:02 +000060 hostname.c \
Dmitry V. Levin2f332e92014-02-05 15:43:04 +000061 inotify.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000062 io.c \
63 ioctl.c \
Dmitry V. Levinfc4727d2014-02-05 17:27:43 +000064 ioprio.c \
Elvira Khabirovac01ad062015-08-19 05:06:26 +030065 ipc_defs.h \
66 ipc_msg.c \
67 ipc_msgctl.c \
68 ipc_sem.c \
69 ipc_shm.c \
70 ipc_shmctl.c \
Dmitry V. Levin90aa9f42014-02-05 13:48:26 +000071 kexec.c \
Dmitry V. Levin3acf4032014-02-05 22:41:45 +000072 keyctl.c \
Dmitry V. Levin99a05442014-04-10 14:10:17 +000073 ldt.c \
Dmitry V. Levin231b19f2014-12-06 03:53:16 +000074 link.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000075 loop.c \
Dmitry V. Levinb5d25ec2014-12-06 03:53:16 +000076 lseek.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000077 mem.c \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +000078 memfd_create.c \
Dmitry V. Levindb23b342014-12-06 03:53:16 +000079 mknod.c \
Dmitry V. Levin6da7ca32014-12-03 21:12:07 +000080 mount.c \
Elvira Khabirovac01ad062015-08-19 05:06:26 +030081 mq.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000082 mtd.c \
83 net.c \
Dmitry V. Levin964d80a2014-12-06 03:53:16 +000084 open.c \
Dmitry V. Levinf6eb0d62014-12-03 20:00:42 +000085 or1k_atomic.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000086 pathtrace.c \
Dmitry V. Levin0d60cf72015-08-01 20:28:21 +000087 perf.c \
Dmitry V. Levind28b6a02014-12-03 21:06:11 +000088 personality.c \
Dmitry V. Levin811bda62015-07-30 16:49:42 +000089 poll.c \
Dmitry V. Levin53c993d2014-12-11 19:25:02 +000090 prctl.c \
Elvira Khabirovac01ad062015-08-19 05:06:26 +030091 print_mq_attr.c \
92 print_msgbuf.c \
Dmitry V. Levin9514ac72014-12-06 03:53:16 +000093 printmode.c \
Dmitry V. Levin1e08a162015-07-17 23:50:02 +000094 printrusage.c \
Dmitry V. Levin537c9642015-03-27 23:28:15 +000095 printsiginfo.c \
Dmitry V. Levin0e946ab2015-07-17 23:56:54 +000096 printsiginfo.h \
Dmitry V. Levinab21a942014-12-28 18:15:25 +000097 printstat.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000098 process.c \
Dmitry V. Levindb16c522014-12-11 19:21:54 +000099 process_vm.c \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +0100100 ptp.c \
Dmitry V. Levinfadf3792015-02-13 00:26:38 +0000101 ptrace.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000102 quota.c \
Dmitry V. Levin9e9ceab2014-12-06 03:53:16 +0000103 readahead.c \
Dmitry V. Levin46245b32014-12-06 03:53:16 +0000104 readlink.c \
Dmitry V. Levin9aaf88c2014-02-05 14:51:19 +0000105 reboot.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000106 regs.h \
Dmitry V. Levin6d20a0b2014-12-06 03:53:16 +0000107 renameat.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000108 resource.c \
Dmitry V. Levin746db062015-07-04 08:56:21 +0000109 rtc.c \
Dmitry V. Levinfff2f312014-12-11 19:25:02 +0000110 sched.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000111 scsi.c \
Dmitry V. Levin2af69032015-02-04 23:50:50 +0000112 seccomp.c \
Dmitry V. Levinac2e7282015-08-18 22:09:30 +0000113 sendfile.c \
Dmitry V. Levin174bb2b2015-03-26 13:03:25 +0000114 sigaltstack.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000115 signal.c \
Dmitry V. Levin2307d5c2015-08-03 09:12:26 +0000116 signalfd.c \
Dmitry V. Levin74219ea2015-03-06 01:47:18 +0000117 sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000118 sock.c \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000119 socketutils.c \
Dmitry V. Levine36c72c2014-12-03 20:56:36 +0000120 sram_alloc.c \
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +0000121 statfs.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000122 strace.c \
123 stream.c \
Dmitry V. Levin85a364a2014-12-06 03:53:16 +0000124 swapon.c \
Dmitry V. Levin710b3ae2014-12-06 03:53:16 +0000125 sync_file_range.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000126 syscall.c \
Dmitry V. Levin172241b2014-12-03 20:20:52 +0000127 sysctl.c \
Dmitry V. Levin57d45a22014-09-29 23:13:05 +0000128 sysinfo.c \
Dmitry V. Levinb21e2fb2014-12-03 21:01:35 +0000129 syslog.c \
Dmitry V. Levin600e33c2014-12-03 20:08:44 +0000130 sysmips.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000131 term.c \
132 time.c \
Elvira Khabirova254ff1e2015-08-03 07:09:34 +0300133 times.c \
Dmitry V. Levin69341822014-12-06 03:53:16 +0000134 truncate.c \
Dmitry V. Levine93ef1e2014-12-11 19:25:02 +0000135 uid.c \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +0000136 uid16.c \
Dmitry V. Levind590f3c2014-12-06 03:53:16 +0000137 umask.c \
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +0000138 umount.c \
Dmitry V. Levin58dd2cf2014-12-11 19:25:02 +0000139 uname.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000140 util.c \
Dmitry V. Levinfb470f32014-12-06 03:53:16 +0000141 utime.c \
Dmitry V. Levin481e0672014-12-06 03:53:16 +0000142 utimes.c \
Philippe De Muyter0cc96142014-11-03 21:27:40 +0100143 v4l2.c \
Dmitry V. Levin769ffe92014-12-06 03:53:16 +0000144 vsprintf.c \
Dmitry V. Levin7ccc1442014-12-11 19:25:02 +0000145 wait.c \
Dmitry V. Levin3e9d71f2015-05-25 20:41:02 +0000146 xattr.c \
147 xmalloc.c
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000148
Luca Clementi327064b2013-07-23 00:11:35 -0700149if USE_LIBUNWIND
150strace_SOURCES += unwind.c
151strace_CPPFLAGS = $(AM_CPPFLAGS) $(libunwind_CPPFLAGS)
152strace_LDFLAGS = $(libunwind_LDFLAGS)
153strace_LDADD = $(libunwind_LIBS)
154else
155strace_CPPFLAGS = $(AM_CPPFLAGS)
156endif
157
Roland McGrath2746edd2002-12-30 09:13:08 +0000158noinst_HEADERS = defs.h
Denys Vlasenko76f61be2013-03-06 18:59:09 +0100159# Enable this to get link map generated
160#strace_CFLAGS = $(AM_CFLAGS) -Wl,-Map=strace.mapfile
Roland McGrath6d2b3492002-12-30 00:51:30 +0000161
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000162EXTRA_DIST = \
163 $(man_MANS) \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000164 .version \
Mike Frysinger6c191362013-05-15 16:33:09 -0400165 COPYING \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000166 CREDITS \
167 ChangeLog \
168 ChangeLog-CVS \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000169 README-linux-ptrace \
170 debian/changelog \
171 debian/compat \
172 debian/control \
173 debian/copyright \
174 debian/rules \
175 debian/source/format \
176 debian/strace-udeb.install \
177 debian/strace.docs \
178 debian/strace.examples \
179 debian/strace.install \
180 debian/strace.manpages \
181 debian/strace64.install \
182 debian/strace64.manpages \
183 debian/watch \
184 errnoent.sh \
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300185 generate_sen.sh \
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000186 ioctlsort.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000187 linux/32/ioctls_inc.h \
Dmitry V. Levin8c20d892015-05-21 16:19:40 +0000188 linux/32/ioctls_inc_align32.h \
189 linux/32/ioctls_inc_align64.h \
Dmitry V. Levindee03a32015-01-11 04:04:54 +0300190 linux/32/syscallent.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000191 linux/64/ioctls_inc.h \
Dmitry V. Levin200c02c2015-01-10 20:51:37 +0300192 linux/64/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000193 linux/aarch64/arch_regs.c \
Andreas Schwab64fc9ce2015-03-12 11:54:08 +0100194 linux/aarch64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000195 linux/aarch64/arch_sigreturn.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000196 linux/aarch64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000197 linux/aarch64/get_error.c \
198 linux/aarch64/get_scno.c \
199 linux/aarch64/get_syscall_args.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000200 linux/aarch64/ioctls_arch0.h \
201 linux/aarch64/ioctls_arch1.h \
202 linux/aarch64/ioctls_inc0.h \
203 linux/aarch64/ioctls_inc1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000204 linux/aarch64/print_pc.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000205 linux/aarch64/signalent1.h \
206 linux/aarch64/syscallent.h \
207 linux/aarch64/syscallent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000208 linux/alpha/arch_getrval2.c \
209 linux/alpha/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000210 linux/alpha/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000211 linux/alpha/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000212 linux/alpha/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000213 linux/alpha/get_error.c \
214 linux/alpha/get_scno.c \
215 linux/alpha/get_syscall_args.c \
216 linux/alpha/get_syscall_result.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000217 linux/alpha/ioctls_arch0.h \
218 linux/alpha/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000219 linux/alpha/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000220 linux/alpha/signalent.h \
221 linux/alpha/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000222 linux/alpha/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000223 linux/arc/arch_regs.c \
224 linux/arc/get_error.c \
225 linux/arc/get_scno.c \
226 linux/arc/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000227 linux/arc/ioctls_arch0.h \
228 linux/arc/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000229 linux/arc/print_pc.c \
Vineet Gupta7daacbb2013-08-16 12:47:06 +0530230 linux/arc/syscallent.h \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000231 linux/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000232 linux/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000233 linux/arm/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000234 linux/arm/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000235 linux/arm/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000236 linux/arm/get_error.c \
237 linux/arm/get_scno.c \
238 linux/arm/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000239 linux/arm/ioctls_arch0.h \
240 linux/arm/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000241 linux/arm/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000242 linux/arm/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000243 linux/arm/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000244 linux/avr32/arch_regs.c \
245 linux/avr32/get_error.c \
246 linux/avr32/get_scno.c \
247 linux/avr32/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000248 linux/avr32/ioctls_arch0.h \
249 linux/avr32/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000250 linux/avr32/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000251 linux/avr32/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000252 linux/avr32/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000253 linux/bfin/arch_regs.c \
254 linux/bfin/get_error.c \
255 linux/bfin/get_scno.c \
256 linux/bfin/get_syscall_args.c \
257 linux/bfin/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000258 linux/bfin/ioctls_arch0.h \
259 linux/bfin/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000260 linux/bfin/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000261 linux/bfin/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000262 linux/bfin/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000263 linux/crisv10/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000264 linux/crisv10/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000265 linux/crisv10/get_error.c \
266 linux/crisv10/get_scno.c \
267 linux/crisv10/get_syscall_args.c \
268 linux/crisv10/get_syscall_result.c \
269 linux/crisv10/print_pc.c \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000270 linux/crisv10/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000271 linux/crisv32/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000272 linux/crisv32/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000273 linux/crisv32/get_error.c \
274 linux/crisv32/get_scno.c \
275 linux/crisv32/get_syscall_args.c \
276 linux/crisv32/get_syscall_result.c \
277 linux/crisv32/print_pc.c \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000278 linux/crisv32/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000279 linux/dummy.h \
280 linux/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000281 linux/hppa/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000282 linux/hppa/arch_regs.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000283 linux/hppa/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000284 linux/hppa/get_error.c \
285 linux/hppa/get_scno.c \
286 linux/hppa/get_syscall_args.c \
287 linux/hppa/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000288 linux/hppa/ioctls_arch0.h \
289 linux/hppa/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000290 linux/hppa/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000291 linux/hppa/signalent.h \
292 linux/hppa/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000293 linux/i386/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000294 linux/i386/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000295 linux/i386/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000296 linux/i386/get_error.c \
297 linux/i386/get_scno.c \
298 linux/i386/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000299 linux/i386/ioctls_arch0.h \
300 linux/i386/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000301 linux/i386/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000302 linux/i386/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000303 linux/i386/userent.h \
304 linux/i386/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000305 linux/ia64/arch_getrval2.c \
306 linux/ia64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000307 linux/ia64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000308 linux/ia64/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000309 linux/ia64/get_error.c \
310 linux/ia64/get_scno.c \
311 linux/ia64/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000312 linux/ia64/ioctls_arch0.h \
313 linux/ia64/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000314 linux/ia64/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000315 linux/ia64/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000316 linux/ia64/userent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000317 linux/inet_diag.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000318 linux/m68k/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000319 linux/m68k/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000320 linux/m68k/get_error.c \
321 linux/m68k/get_scno.c \
322 linux/m68k/get_syscall_args.c \
323 linux/m68k/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000324 linux/m68k/ioctls_arch0.h \
325 linux/m68k/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000326 linux/m68k/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000327 linux/m68k/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000328 linux/m68k/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000329 linux/metag/arch_regs.c \
330 linux/metag/get_error.c \
331 linux/metag/get_scno.c \
332 linux/metag/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000333 linux/metag/ioctls_arch0.h \
334 linux/metag/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000335 linux/metag/print_pc.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000336 linux/metag/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000337 linux/microblaze/arch_regs.c \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000338 linux/microblaze/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000339 linux/microblaze/get_error.c \
340 linux/microblaze/get_scno.c \
341 linux/microblaze/get_syscall_args.c \
342 linux/microblaze/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000343 linux/microblaze/ioctls_arch0.h \
344 linux/microblaze/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000345 linux/microblaze/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000346 linux/microblaze/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000347 linux/microblaze/userent.h \
Dmitry V. Levin8e8d7d22015-03-23 23:14:08 +0000348 linux/mips/arch_getrval2.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000349 linux/mips/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000350 linux/mips/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000351 linux/mips/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000352 linux/mips/errnoent.h \
Dmitry V. Levind59287d2015-01-13 04:57:27 +0000353 linux/mips/genstub.sh \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000354 linux/mips/get_error.c \
355 linux/mips/get_scno.c \
356 linux/mips/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000357 linux/mips/ioctls_arch0.h \
358 linux/mips/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000359 linux/mips/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000360 linux/mips/signalent.h \
Dmitry V. Levin34c445b2013-05-07 02:46:46 +0000361 linux/mips/syscallent-compat.h \
362 linux/mips/syscallent-n32.h \
363 linux/mips/syscallent-n64.h \
364 linux/mips/syscallent-o32.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000365 linux/mips/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000366 linux/mips/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000367 linux/mtd-abi.h \
Ezequiel Garciabd8dd772015-04-18 17:33:27 -0300368 linux/nios2/arch_regs.c \
369 linux/nios2/get_error.c \
370 linux/nios2/get_scno.c \
371 linux/nios2/get_syscall_args.c \
372 linux/nios2/ioctls_arch0.h \
373 linux/nios2/ioctls_inc0.h \
374 linux/nios2/print_pc.c \
375 linux/nios2/syscallent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000376 linux/or1k/arch_regs.c \
377 linux/or1k/get_error.c \
378 linux/or1k/get_scno.c \
379 linux/or1k/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000380 linux/or1k/ioctls_arch0.h \
381 linux/or1k/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000382 linux/or1k/print_pc.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000383 linux/or1k/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000384 linux/or1k/userent.h \
Dmitry V. Levin2a32eaa2014-02-05 02:09:49 +0000385 linux/personality.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000386 linux/powerpc/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000387 linux/powerpc/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000388 linux/powerpc/arch_sigreturn.c \
Dmitry V. Levinb2f8c772015-02-23 03:10:25 +0000389 linux/powerpc/errnoent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000390 linux/powerpc/get_error.c \
391 linux/powerpc/get_scno.c \
392 linux/powerpc/get_syscall_args.c \
393 linux/powerpc/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000394 linux/powerpc/ioctls_arch0.h \
395 linux/powerpc/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000396 linux/powerpc/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000397 linux/powerpc/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000398 linux/powerpc/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000399 linux/powerpc64/arch_regs.c \
Dmitry V. Levin7226c3a2015-02-23 21:28:33 +0000400 linux/powerpc64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000401 linux/powerpc64/arch_sigreturn.c \
Dmitry V. Levinb2f8c772015-02-23 03:10:25 +0000402 linux/powerpc64/errnoent.h \
Dmitry V. Levinaf3ab5b2015-01-21 17:04:31 +0000403 linux/powerpc64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000404 linux/powerpc64/get_error.c \
405 linux/powerpc64/get_scno.c \
406 linux/powerpc64/get_syscall_args.c \
407 linux/powerpc64/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000408 linux/powerpc64/ioctls_arch0.h \
409 linux/powerpc64/ioctls_arch1.h \
410 linux/powerpc64/ioctls_inc0.h \
411 linux/powerpc64/ioctls_inc1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000412 linux/powerpc64/print_pc.c \
Dmitry V. Levinaf3ab5b2015-01-21 17:04:31 +0000413 linux/powerpc64/signalent1.h \
414 linux/powerpc64/syscallent.h \
415 linux/powerpc64/syscallent1.h \
416 linux/powerpc64/userent.h \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +0100417 linux/ptp_clock.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000418 linux/s390/arch_regs.c \
Dmitry V. Levin20eca8a2015-03-05 22:10:15 +0000419 linux/s390/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000420 linux/s390/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000421 linux/s390/get_error.c \
422 linux/s390/get_scno.c \
423 linux/s390/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000424 linux/s390/ioctls_arch0.h \
425 linux/s390/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000426 linux/s390/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000427 linux/s390/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000428 linux/s390/userent.h \
429 linux/s390/userent0.h \
430 linux/s390/userent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000431 linux/s390x/arch_regs.c \
Dmitry V. Levin20eca8a2015-03-05 22:10:15 +0000432 linux/s390x/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000433 linux/s390x/arch_sigreturn.c \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000434 linux/s390x/get_error.c \
435 linux/s390x/get_scno.c \
436 linux/s390x/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000437 linux/s390x/ioctls_arch0.h \
438 linux/s390x/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000439 linux/s390x/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000440 linux/s390x/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000441 linux/s390x/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000442 linux/sh/arch_getrval2.c \
443 linux/sh/arch_regs.c \
444 linux/sh/get_error.c \
445 linux/sh/get_scno.c \
446 linux/sh/get_syscall_args.c \
447 linux/sh/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000448 linux/sh/ioctls_arch0.h \
449 linux/sh/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000450 linux/sh/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000451 linux/sh/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000452 linux/sh/userent.h \
453 linux/sh/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000454 linux/sh64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000455 linux/sh64/arch_regs.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000456 linux/sh64/get_error.c \
457 linux/sh64/get_scno.c \
458 linux/sh64/get_syscall_args.c \
459 linux/sh64/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000460 linux/sh64/ioctls_arch0.h \
461 linux/sh64/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000462 linux/sh64/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000463 linux/sh64/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000464 linux/sh64/userent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000465 linux/signalent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000466 linux/sock_diag.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000467 linux/sparc/arch_getrval2.c \
468 linux/sparc/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000469 linux/sparc/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000470 linux/sparc/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000471 linux/sparc/errnoent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000472 linux/sparc/gen.pl \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000473 linux/sparc/get_error.c \
474 linux/sparc/get_scno.c \
475 linux/sparc/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000476 linux/sparc/ioctls_arch0.h \
477 linux/sparc/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000478 linux/sparc/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000479 linux/sparc/signalent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000480 linux/sparc/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000481 linux/sparc/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000482 linux/sparc64/arch_getrval2.c \
483 linux/sparc64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000484 linux/sparc64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000485 linux/sparc64/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000486 linux/sparc64/errnoent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100487 linux/sparc64/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000488 linux/sparc64/get_error.c \
489 linux/sparc64/get_scno.c \
490 linux/sparc64/get_syscall_args.c\
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000491 linux/sparc64/ioctls_arch0.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100492 linux/sparc64/ioctls_arch1.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000493 linux/sparc64/ioctls_inc0.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100494 linux/sparc64/ioctls_inc1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000495 linux/sparc64/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000496 linux/sparc64/signalent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100497 linux/sparc64/signalent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000498 linux/sparc64/syscallent.h \
Denys Vlasenko588a90f2015-03-25 15:11:36 +0100499 linux/sparc64/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000500 linux/sparc64/userent.h \
Dmitry V. Levinde462cf2013-05-07 18:38:01 +0400501 linux/subcall.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000502 linux/syscall.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000503 linux/tile/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000504 linux/tile/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000505 linux/tile/arch_sigreturn.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000506 linux/tile/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000507 linux/tile/get_error.c \
508 linux/tile/get_scno.c \
509 linux/tile/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000510 linux/tile/ioctls_arch0.h \
511 linux/tile/ioctls_arch1.h \
512 linux/tile/ioctls_inc0.h \
513 linux/tile/ioctls_inc1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000514 linux/tile/print_pc.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000515 linux/tile/signalent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000516 linux/tile/syscallent.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000517 linux/tile/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000518 linux/tile/userent.h \
Dmitry V. Levin8e0b8be2013-06-02 18:09:44 +0000519 linux/ubi-user.h \
Dmitry V. Levince21ef02015-01-09 02:02:39 +0000520 linux/unix_diag.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000521 linux/userent.h \
522 linux/userent0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000523 linux/x32/arch_regs.c \
Dmitry V. Levin19fcb272015-02-26 20:40:43 +0000524 linux/x32/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000525 linux/x32/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000526 linux/x32/errnoent1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000527 linux/x32/get_error.c \
528 linux/x32/get_scno.c \
529 linux/x32/get_syscall_args.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000530 linux/x32/ioctls_arch0.h \
531 linux/x32/ioctls_arch1.h \
532 linux/x32/ioctls_inc0.h \
533 linux/x32/ioctls_inc1.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000534 linux/x32/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000535 linux/x32/signalent1.h \
536 linux/x32/syscallent.h \
537 linux/x32/syscallent1.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000538 linux/x32/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000539 linux/x86_64/arch_regs.c \
Dmitry V. Levin5503dd22015-02-13 02:12:14 +0000540 linux/x86_64/arch_regs.h \
Dmitry V. Levina3c48352015-03-23 21:16:07 +0000541 linux/x86_64/arch_sigreturn.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000542 linux/x86_64/errnoent1.h \
543 linux/x86_64/errnoent2.h \
544 linux/x86_64/gentab.pl \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000545 linux/x86_64/get_error.c \
546 linux/x86_64/get_scno.c \
547 linux/x86_64/get_syscall_args.c \
548 linux/x86_64/getregs_old.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000549 linux/x86_64/ioctls_arch0.h \
550 linux/x86_64/ioctls_arch1.h \
Dmitry V. Levin43413732015-03-02 02:38:50 +0000551 linux/x86_64/ioctls_arch2.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000552 linux/x86_64/ioctls_inc0.h \
553 linux/x86_64/ioctls_inc1.h \
Dmitry V. Levin43413732015-03-02 02:38:50 +0000554 linux/x86_64/ioctls_inc2.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000555 linux/x86_64/print_pc.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000556 linux/x86_64/signalent1.h \
557 linux/x86_64/signalent2.h \
558 linux/x86_64/syscallent.h \
559 linux/x86_64/syscallent1.h \
560 linux/x86_64/syscallent2.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000561 linux/x86_64/userent.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000562 linux/xtensa/arch_regs.c \
563 linux/xtensa/get_error.c \
564 linux/xtensa/get_scno.c \
565 linux/xtensa/get_syscall_args.c \
566 linux/xtensa/get_syscall_result.c \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000567 linux/xtensa/ioctls_arch0.h \
568 linux/xtensa/ioctls_inc0.h \
Dmitry V. Levind70d1c42015-03-22 22:13:55 +0000569 linux/xtensa/print_pc.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000570 linux/xtensa/syscallent.h \
Dmitry V. Levinfced7b02014-12-11 19:25:02 +0000571 linux/xtensa/userent.h \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000572 maint/ioctls_gen.sh \
573 maint/ioctls_hex.sh \
574 maint/ioctls_sym.sh \
575 maint/print_ioctlent.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000576 signalent.sh \
577 strace-graph \
578 strace-log-merge \
579 strace.spec \
580 syscallent.sh \
Mike Frysinger761ed9b2014-02-16 01:59:20 -0500581 $(XLAT_INPUT_FILES) \
582 $(XLAT_HEADER_FILES) \
583 xlat/gen.sh \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000584 xlate.el
Roland McGrathbc44e402004-07-12 05:45:08 +0000585
Roland McGrath2b832df2009-10-06 17:46:56 -0700586.PHONY: srpm
Dmitry V. Levin525a39a2011-02-27 14:05:58 +0000587srpm: dist-xz
588 rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz
Roland McGrath2b832df2009-10-06 17:46:56 -0700589
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300590BUILT_SOURCES = .version sys_func.h sen.h
Dmitry V. Levindce75932013-04-30 23:52:12 +0000591
592$(srcdir)/.version:
593 $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
594
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000595strace_SOURCES_c = $(filter %.c,$(strace_SOURCES))
596
597sys_func.h: $(patsubst %,$(srcdir)/%,$(strace_SOURCES_c))
598 for f in $^; do \
599 sed -n 's/^SYS_FUNC(.*/extern &;/p' $$f; \
600 done | sort -u > $@
601
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300602syscallent_names = subcall.h syscallent.h syscallent1.h \
603 syscallent-n32.h syscallent-n64.h syscallent-o32.h
604syscallent_patterns = $(patsubst %,\%/%,$(syscallent_names))
605syscallent_files = $(filter $(syscallent_patterns),$(EXTRA_DIST))
606
607sen.h: $(patsubst %,$(srcdir)/%,$(syscallent_files))
608 for f in $^; do cat -- $$f; done | \
609 $(srcdir)/generate_sen.sh > $@
610
Dmitry V. Levindce75932013-04-30 23:52:12 +0000611dist-hook:
612 $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
613
614today = $(shell date +%Y-%m-%d)
615version_regexp = $(subst .,\.,$(VERSION))
616news_check_regexp = 'Noteworthy changes in release $(version_regexp) ($(today))'
617
618news-check: NEWS
619 $(AM_V_GEN)if head -1 $< | \
620 grep -x $(news_check_regexp) >/dev/null; then \
621 :; \
622 else \
623 echo >&2 '$<: check failed'; \
624 exit 1; \
625 fi
Mike Frysinger9004e122011-02-20 23:24:22 -0500626
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500627ioctlsort_CC = $(CC_FOR_BUILD)
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000628ioctlsort_DEFS = $(DEFS)
629ioctlsort_INCLUDES = $(DEFAULT_INCLUDES) $(INCLUDES)
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500630ioctlsort_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_FOR_BUILD)
631ioctlsort_CFLAGS = $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
632ioctlsort_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD)
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000633
634ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h)
635ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h))
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000636BUILT_SOURCES += $(ioctlent_h)
Elvira Khabirova28e32df2015-07-10 22:24:54 +0300637CLEANFILES = sys_func.h sen.h $(ioctlent_h)
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000638
639ioctlent%.h: ioctlsort%
640 ./$< > $@
641
Mike Frysinger58c7fe92015-02-26 22:22:36 -0500642ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
643 $(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000644
645ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
646 $(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
647
648ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
649 cat $^ > $@
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000650
Roland McGrathbc44e402004-07-12 05:45:08 +0000651if MAINTAINER_MODE
Roland McGratha478d742009-10-06 17:41:02 -0700652
653gen_changelog_start_date = 2009-07-08 20:00
Dmitry V. Levindce75932013-04-30 23:52:12 +0000654$(srcdir)/ChangeLog: $(srcdir)/gitlog-to-changelog $(srcdir)/Makefile.in \
655 $(srcdir)/.version
Roland McGratha478d742009-10-06 17:41:02 -0700656 @rm -f $@.new
Dmitry V. Levindce75932013-04-30 23:52:12 +0000657 (cd $(srcdir); \
Dmitry V. Levin594399d2011-11-05 13:32:27 +0000658 ./gitlog-to-changelog --append-dot \
659 --since='$(gen_changelog_start_date)'; \
Roland McGratha478d742009-10-06 17:41:02 -0700660 echo; echo; echo 'See ChangeLog-CVS for older changes.' \
661 ) > $@.new
662 chmod 444 $@.new
663 mv -f $@.new $@
664
Dmitry V. Levindce75932013-04-30 23:52:12 +0000665$(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \
666 $(srcdir)/Makefile.in $(srcdir)/.version
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000667 $(AM_V_GEN) \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400668 ( \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000669 cd $(srcdir); \
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000670 sed '/^##/,$$d' CREDITS.in; \
671 { sed -n '1,/^##>/d; s/ \+/\t/; s/^./&/p' CREDITS.in; \
672 git log --pretty=format:'%aN %aE'; \
673 } | LC_ALL=C sort -u \
674 | awk -F'\t' '{printf("\t%s <%s>\n",$$1,$$2)}'; \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400675 ) > $@-t && mv $@-t $@
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000676
Dmitry V. Levin76ac37d2009-10-09 22:10:09 +0000677export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX
678
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000679endif