blob: fdeb5ec709d2f6237377eaf094610299cf377108 [file] [log] [blame]
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +00001# Automake input for strace tests.
2
Dmitry V. Levin25c804c2015-04-07 21:18:23 +00003OS = linux
4ARCH = @arch@
Dmitry V. Levin860b3a62015-12-08 00:14:10 +00005ARCH_MFLAGS =
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +00006AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin860b3a62015-12-08 00:14:10 +00007AM_CPPFLAGS = $(ARCH_MFLAGS) \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +00008 -I$(builddir) \
Dmitry V. Levin860b3a62015-12-08 00:14:10 +00009 -I$(top_builddir)/$(OS)/$(ARCH) \
Dmitry V. Levin0f4ad302015-02-22 02:13:04 +000010 -I$(top_srcdir)/$(OS)/$(ARCH) \
11 -I$(top_builddir)/$(OS) \
Dmitry V. Levincf3ecbd2015-08-26 22:50:58 +000012 -I$(top_srcdir)/$(OS) \
13 -I$(top_builddir) \
14 -I$(top_srcdir)
Dmitry V. Levin860b3a62015-12-08 00:14:10 +000015AM_LDFLAGS = $(ARCH_MFLAGS)
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000016
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000017check_PROGRAMS = \
Dmitry V. Levin69b73072015-12-08 17:38:12 +000018 _newselect \
Dmitry V. Levindad1eef2015-09-16 21:58:36 +000019 adjtimex \
Dmitry V. Levin13c21732015-08-26 12:49:07 +000020 aio \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +000021 bpf \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000022 caps \
Dmitry V. Levinc648b4a2015-09-18 14:24:51 +000023 clock_nanosleep \
Dmitry V. Levin9d4c8922015-09-17 21:57:22 +000024 clock_xettime \
Dmitry V. Levinbf62c1b2015-08-01 23:04:32 +000025 epoll_create1 \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +000026 eventfd \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +000027 execve \
Dmitry V. Levin7c221012015-07-26 11:06:53 +000028 execveat \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000029 fanotify_mark \
Dmitry V. Levin21547022015-12-05 00:52:01 +000030 fcntl \
31 fcntl64 \
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +000032 file_handle \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +000033 filter-unavailable \
Dmitry V. Levinc8638272015-12-05 00:02:44 +000034 fstat \
35 fstat64 \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +000036 fstatat64 \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +000037 ftruncate \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +000038 ftruncate64 \
Dmitry V. Levin7528a0b2015-11-19 16:39:32 +000039 getdents \
40 getdents64 \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000041 getrandom \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000042 inet-accept-connect-send-recv \
Dmitry V. Levin1f111cf2015-11-21 03:03:54 +030043 inet-cmsg \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000044 ioctl \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +000045 ip_mreq \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000046 ipc_msg \
Elvira Khabirovab7699b52015-08-03 12:40:46 +030047 ipc_msgbuf \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000048 ipc_sem \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000049 ipc_shm \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +000050 ksysent \
Dmitry V. Levin9db07972015-12-01 00:59:26 +000051 llseek \
52 lseek \
Dmitry V. Levin38e37682015-12-05 00:03:02 +000053 lstat \
54 lstat64 \
Dmitry V. Levin2aec1e62015-11-15 02:29:29 +000055 membarrier \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +000056 memfd_create \
Dmitry V. Levin0d0a50a2015-11-15 02:35:57 +000057 mlock2 \
Dmitry V. Levine7d671b2015-03-19 22:03:32 +000058 mmap \
59 mmap64 \
Masatake YAMATO993198d2014-11-07 01:23:27 +090060 mmsg \
Elvira Khabirova422f7932015-08-19 05:28:48 +030061 mq \
Dmitry V. Levin593602c2015-09-18 02:18:03 +000062 nanosleep \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000063 net-accept-connect \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000064 netlink_inet_diag \
Dmitry V. Levin6b5df322014-12-25 00:11:40 +000065 netlink_unix_diag \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +000066 newfstatat \
Dmitry V. Levinea7ef932015-07-30 08:24:32 +000067 oldselect \
Dmitry V. Levine96cb622015-02-15 15:52:02 +000068 pc \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +000069 pipe \
Dmitry V. Levind9fb4502015-07-30 19:46:11 +000070 ppoll \
Dmitry V. Levin77a1b6b2015-09-15 02:14:38 +000071 pselect6 \
Dmitry V. Levin4f461582015-11-19 19:04:32 +000072 readdir \
Gleb Fotengauer-Malinovskiy3af6aab2015-08-14 17:49:27 +020073 readlink \
74 readlinkat \
Dmitry V. Levin640623c2015-09-18 11:27:11 +000075 restart_syscall \
Elvira Khabirova3b7674c2015-08-21 18:49:14 +030076 rt_sigqueueinfo \
Dmitry V. Levin3456bcc2015-07-29 07:59:56 +000077 sched_xetattr \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000078 scm_rights \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +000079 seccomp \
Dmitry V. Levine837b142015-02-04 02:09:52 +000080 select \
Dmitry V. Levin49182852015-08-19 01:25:39 +000081 sendfile \
82 sendfile64 \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000083 set_ptracer_any \
84 sigaction \
Elvira Khabirova10020ae2015-07-17 04:45:25 +030085 sigaltstack \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +000086 signalfd \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +000087 sigreturn \
Masatake YAMATO96821072014-05-14 13:16:29 +090088 stack-fcall \
Dmitry V. Levin7b010142015-01-07 19:30:37 +000089 stat \
Dmitry V. Levin144a9db2015-12-05 00:03:49 +000090 stat64 \
Dmitry V. Levin4176d532014-09-21 22:42:45 +000091 statfs \
Elvira Khabirova22d997e2015-08-03 06:30:49 +030092 sysinfo \
Dmitry V. Levinf9b455c2015-08-18 13:25:36 +000093 time \
Dmitry V. Levinb8f0c922015-09-16 16:31:43 +000094 timer_create \
Dmitry V. Levin13140982015-09-17 18:25:12 +000095 timer_xettime \
Dmitry V. Levin79cafcd2015-09-17 20:05:20 +000096 timerfd_xettime \
Eugene Syromyatnikov7a036052015-08-04 15:52:55 +030097 times \
Elvira Khabirova9d77b562015-08-21 00:09:32 +030098 times-fail \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +000099 truncate \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000100 truncate64 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000101 uid \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +0000102 uid16 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000103 uid32 \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000104 uio \
Dmitry V. Levin08a17832015-12-07 00:06:35 +0000105 umount \
106 umount2 \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000107 umovestr \
108 umovestr2 \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000109 unix-pair-send-recv \
Dmitry V. Levina6ebdb12015-11-15 02:22:44 +0000110 userfaultfd \
Dmitry V. Levind27ccca2015-07-15 09:02:17 +0000111 utime \
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +0000112 utimensat \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000113 wait \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000114 xattr \
115 xet_robust_list \
Dmitry V. Levin12431f72015-09-17 20:44:22 +0000116 xetitimer \
Dmitry V. Levinf57edf42015-09-18 16:15:49 +0000117 xettimeofday \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000118 # end of check_PROGRAMS
Dmitry V. Levincc3d5912014-04-16 23:28:29 +0000119
Dmitry V. Levin9d4c8922015-09-17 21:57:22 +0000120clock_xettime_LDADD = -lrt
Dmitry V. Levin95eaf192015-07-21 10:17:33 +0000121filter_unavailable_LDADD = -lpthread
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000122fstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
123fstatat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
124ftruncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
125lstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
126mmap64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Elvira Khabirova422f7932015-08-19 05:28:48 +0300127mq_LDADD = -lrt
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000128newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin977550d2015-02-27 04:09:56 +0000129pc_LDADD = $(dl_LIBS)
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000130stat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
131statfs_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Eugene Syromyatnikov7a036052015-08-04 15:52:55 +0300132times_LDADD = -lrt
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000133truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
134uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levinb0764202014-06-16 21:45:52 +0000135stack_fcall_SOURCES = stack-fcall.c \
136 stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +0000137
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000138TESTS = \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000139 strace-f.test \
140 qual_syscall.test \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000141 ksysent.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000142 \
Dmitry V. Levin69b73072015-12-08 17:38:12 +0000143 _newselect.test \
Dmitry V. Levindad1eef2015-09-16 21:58:36 +0000144 adjtimex.test \
Dmitry V. Levin13c21732015-08-26 12:49:07 +0000145 aio.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000146 bexecve.test \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +0000147 bpf.test \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +0000148 caps.test \
Dmitry V. Levinc648b4a2015-09-18 14:24:51 +0000149 clock_nanosleep.test \
Dmitry V. Levin9d4c8922015-09-17 21:57:22 +0000150 clock_xettime.test \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000151 dumpio.test \
Dmitry V. Levinbf62c1b2015-08-01 23:04:32 +0000152 epoll_create1.test \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +0000153 eventfd.test \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +0000154 execve.test \
Dmitry V. Levin7c221012015-07-26 11:06:53 +0000155 execveat.test \
Dmitry V. Levin1ea64732015-01-10 00:08:58 +0000156 fanotify_mark.test \
Dmitry V. Levin21547022015-12-05 00:52:01 +0000157 fcntl.test \
158 fcntl64.test \
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +0000159 file_handle.test \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +0000160 filter-unavailable.test \
Dmitry V. Levinc8638272015-12-05 00:02:44 +0000161 fstat.test \
162 fstat64.test \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +0000163 fstatat64.test \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +0000164 ftruncate.test \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000165 ftruncate64.test \
Dmitry V. Levin68d64242014-09-10 00:07:32 +0000166 getdents.test \
Dmitry V. Levin7528a0b2015-11-19 16:39:32 +0000167 getdents64.test \
Dmitry V. Levinfef09072015-02-04 16:38:09 +0000168 getrandom.test \
Dmitry V. Levin1f111cf2015-11-21 03:03:54 +0300169 inet-cmsg.test \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000170 ioctl.test \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +0000171 ip_mreq.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +0000172 ipc_msg.test \
Elvira Khabirovab7699b52015-08-03 12:40:46 +0300173 ipc_msgbuf.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +0000174 ipc_sem.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000175 ipc_shm.test \
Dmitry V. Levin9db07972015-12-01 00:59:26 +0000176 llseek.test \
177 lseek.test \
Dmitry V. Levin38e37682015-12-05 00:03:02 +0000178 lstat.test \
179 lstat64.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000180 membarrier.test \
181 memfd_create.test \
182 mlock2.test \
183 mmap.test \
184 mmap64.test \
185 mmsg.test \
Elvira Khabirova422f7932015-08-19 05:28:48 +0300186 mq.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000187 nanosleep.test \
188 net-fd.test \
189 net-yy.test \
190 net.test \
191 newfstatat.test \
192 oldselect.test \
193 pc.test \
194 pipe.test \
195 ppoll.test \
Dmitry V. Levin77a1b6b2015-09-15 02:14:38 +0000196 pselect6.test \
Dmitry V. Levin4f461582015-11-19 19:04:32 +0000197 readdir.test \
Gleb Fotengauer-Malinovskiy3af6aab2015-08-14 17:49:27 +0200198 readlink.test \
199 readlinkat.test \
Elvira Khabirova3b7674c2015-08-21 18:49:14 +0300200 rt_sigqueueinfo.test \
Dmitry V. Levin3456bcc2015-07-29 07:59:56 +0000201 sched_xetattr.test \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +0000202 scm_rights-fd.test \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +0000203 seccomp.test \
Dmitry V. Levine837b142015-02-04 02:09:52 +0000204 select.test \
Dmitry V. Levin49182852015-08-19 01:25:39 +0000205 sendfile.test \
206 sendfile64.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000207 sigaction.test \
Elvira Khabirova10020ae2015-07-17 04:45:25 +0300208 sigaltstack.test \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +0000209 signalfd.test \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +0000210 sigreturn.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000211 stat.test \
Dmitry V. Levin144a9db2015-12-05 00:03:49 +0000212 stat64.test \
Dmitry V. Levin4176d532014-09-21 22:42:45 +0000213 statfs.test \
Dmitry V. Levinc9e24182015-01-29 15:19:21 +0000214 sun_path.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000215 sysinfo.test \
Dmitry V. Levinf9b455c2015-08-18 13:25:36 +0000216 time.test \
Dmitry V. Levinb8f0c922015-09-16 16:31:43 +0000217 timer_create.test \
Dmitry V. Levin13140982015-09-17 18:25:12 +0000218 timer_xettime.test \
Dmitry V. Levin79cafcd2015-09-17 20:05:20 +0000219 timerfd_xettime.test \
Elvira Khabirova9d77b562015-08-21 00:09:32 +0300220 times-fail.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000221 times.test \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +0000222 truncate.test \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000223 truncate64.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000224 uid.test \
225 uid16.test \
226 uid32.test \
227 uio.test \
Dmitry V. Levin08a17832015-12-07 00:06:35 +0000228 umount.test \
229 umount2.test \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000230 umovestr.test \
231 umovestr2.test \
Masatake YAMATO6077ad82014-12-24 20:59:32 +0900232 unix-yy.test \
Dmitry V. Levina6ebdb12015-11-15 02:22:44 +0000233 userfaultfd.test \
Dmitry V. Levind27ccca2015-07-15 09:02:17 +0000234 utime.test \
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +0000235 utimensat.test \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000236 wait.test \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000237 xattr.test \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000238 xet_robust_list.test \
Dmitry V. Levin12431f72015-09-17 20:44:22 +0000239 xetitimer.test \
Dmitry V. Levinf57edf42015-09-18 16:15:49 +0000240 xettimeofday.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000241 \
Dmitry V. Levin772e32b2014-05-29 21:14:14 +0000242 count.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000243 detach-sleeping.test \
244 detach-stopped.test \
Masatake YAMATO96821072014-05-14 13:16:29 +0900245 detach-running.test \
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000246 restart_syscall.test \
Masatake YAMATO96821072014-05-14 13:16:29 +0900247 strace-k.test
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000248
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800249net-fd.log: net.log
250
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000251TEST_LOG_COMPILER = env
252AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh
Dmitry V. Levinf60347d2013-06-18 15:28:47 +0000253
Dmitry V. Levin226bf1c2015-03-18 19:14:02 +0000254EXTRA_DIST = init.sh run.sh match.awk \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +0000255 caps.awk \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000256 dumpio.expected \
Dmitry V. Levinbf62c1b2015-08-01 23:04:32 +0000257 epoll_create1.expected \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +0000258 eventfd.expected \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +0000259 execve.expected \
260 execve-v.expected \
Dmitry V. Levin7c221012015-07-26 11:06:53 +0000261 execveat.expected \
262 execveat-v.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000263 fanotify_mark.expected \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +0000264 filter-unavailable.expected \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +0000265 fstatat.c \
Dmitry V. Levinc8638272015-12-05 00:02:44 +0000266 fstatx.c \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +0000267 ip_mreq.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000268 ipc.sh \
Elvira Khabirovab7699b52015-08-03 12:40:46 +0300269 ipc_msgbuf.expected \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000270 ksysent.sed \
Dmitry V. Levin38e37682015-12-05 00:03:02 +0000271 lstatx.c \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +0000272 memfd_create.expected \
Masatake YAMATO993198d2014-11-07 01:23:27 +0900273 mmsg.expected \
Elvira Khabirova422f7932015-08-19 05:28:48 +0300274 mq.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000275 net.expected \
276 net-fd.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000277 net-yy-accept.awk \
278 net-yy-connect.awk \
Dmitry V. Levinea7ef932015-07-30 08:24:32 +0000279 oldselect.expected \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +0000280 pipe.expected \
Dmitry V. Levind9fb4502015-07-30 19:46:11 +0000281 ppoll.expected \
282 ppoll-v.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000283 sigaction.awk \
Elvira Khabirova10020ae2015-07-17 04:45:25 +0300284 sigaltstack.expected \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +0000285 signalfd.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000286 statfs.expected \
Dmitry V. Levincc2baf32015-12-05 00:01:56 +0000287 statx.sh \
Dmitry V. Levin21547022015-12-05 00:52:01 +0000288 struct_flock.c \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000289 sun_path.expected \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000290 uid.awk \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000291 uio.expected \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000292 umovestr.expected \
Masatake YAMATO6077ad82014-12-24 20:59:32 +0900293 unix-yy-accept.awk \
294 unix-yy-connect.awk \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000295 wait.expected \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000296 xattr.expected \
Dmitry V. Levin69b73072015-12-08 17:38:12 +0000297 xselect.c \
Dmitry V. Levincc2baf32015-12-05 00:01:56 +0000298 xstatx.c \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000299 $(TESTS)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000300
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000301ksysent.h: $(srcdir)/ksysent.sed
302 echo '#include <asm/unistd.h>' | \
303 $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dD - > $@.t1
304 LC_COLLATE=C sed -n -f $(srcdir)/ksysent.sed < $@.t1 > $@.t2
305 mv -f $@.t2 $@
306 rm -f $@.t1
307
308BUILT_SOURCES = ksysent.h
309CLEANFILES = ksysent.h $(TESTS:=.tmp)