Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 1 | # Automake input for strace tests. |
Dmitry V. Levin | 38a34c9 | 2015-12-17 17:56:48 +0000 | [diff] [blame] | 2 | # |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 3 | # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@altlinux.org> |
Dmitry V. Levin | 38a34c9 | 2015-12-17 17:56:48 +0000 | [diff] [blame] | 4 | # All rights reserved. |
| 5 | # |
| 6 | # Redistribution and use in source and binary forms, with or without |
| 7 | # modification, are permitted provided that the following conditions |
| 8 | # are met: |
| 9 | # 1. Redistributions of source code must retain the above copyright |
| 10 | # notice, this list of conditions and the following disclaimer. |
| 11 | # 2. Redistributions in binary form must reproduce the above copyright |
| 12 | # notice, this list of conditions and the following disclaimer in the |
| 13 | # documentation and/or other materials provided with the distribution. |
| 14 | # 3. The name of the author may not be used to endorse or promote products |
| 15 | # derived from this software without specific prior written permission. |
| 16 | # |
| 17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 20 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 22 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 27 | |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 28 | OS = linux |
| 29 | ARCH = @arch@ |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 30 | MPERS_NAME = |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 31 | ARCH_MFLAGS = |
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 32 | AM_CFLAGS = $(WARN_CFLAGS) |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 33 | AM_CPPFLAGS = $(ARCH_MFLAGS) \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 34 | -I$(builddir) \ |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 35 | -I$(top_builddir)/$(OS)/$(ARCH) \ |
Dmitry V. Levin | 0f4ad30 | 2015-02-22 02:13:04 +0000 | [diff] [blame] | 36 | -I$(top_srcdir)/$(OS)/$(ARCH) \ |
| 37 | -I$(top_builddir)/$(OS) \ |
Dmitry V. Levin | cf3ecbd | 2015-08-26 22:50:58 +0000 | [diff] [blame] | 38 | -I$(top_srcdir)/$(OS) \ |
| 39 | -I$(top_builddir) \ |
| 40 | -I$(top_srcdir) |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 41 | AM_LDFLAGS = $(ARCH_MFLAGS) |
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 42 | |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 43 | libtests_a_SOURCES = \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 44 | error_msg.c \ |
Dmitry V. Levin | 590b240 | 2016-01-20 05:26:43 +0000 | [diff] [blame] | 45 | get_page_size.c \ |
| 46 | hexdump_strdup.c \ |
Dmitry V. Levin | 7637b1d | 2016-02-04 01:59:35 +0000 | [diff] [blame] | 47 | hexquote_strndup.c \ |
Dmitry V. Levin | e364920 | 2016-01-25 22:20:40 +0000 | [diff] [blame] | 48 | inode_of_sockfd.c \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 49 | tail_alloc.c \ |
| 50 | tests.h \ |
Dmitry V. Levin | 536a035 | 2016-01-20 02:06:59 +0000 | [diff] [blame] | 51 | tprintf.c \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 52 | # end of libtests_a_SOURCES |
| 53 | libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 54 | check_LIBRARIES = libtests.a |
| 55 | LDADD = libtests.a |
| 56 | |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 57 | check_PROGRAMS = \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 58 | _newselect \ |
Dmitry V. Levin | dad1eef | 2015-09-16 21:58:36 +0000 | [diff] [blame] | 59 | adjtimex \ |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 60 | aio \ |
Dmitry V. Levin | 7c05954 | 2016-02-14 16:56:58 +0000 | [diff] [blame] | 61 | alarm \ |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 62 | attach-f-p \ |
Dmitry V. Levin | fa8c286 | 2016-01-22 14:37:14 +0000 | [diff] [blame] | 63 | attach-p-cmd-cmd \ |
| 64 | attach-p-cmd-p \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 65 | bpf \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 66 | caps \ |
Dmitry V. Levin | c648b4a | 2015-09-18 14:24:51 +0000 | [diff] [blame] | 67 | clock_nanosleep \ |
Dmitry V. Levin | 9d4c892 | 2015-09-17 21:57:22 +0000 | [diff] [blame] | 68 | clock_xettime \ |
Dmitry V. Levin | c1f99f5 | 2016-02-13 03:45:32 +0000 | [diff] [blame] | 69 | copy_file_range \ |
Dmitry V. Levin | bf62c1b | 2015-08-01 23:04:32 +0000 | [diff] [blame] | 70 | epoll_create1 \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 71 | eventfd \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 72 | execve \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 73 | execve-v \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 74 | execveat \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 75 | execveat-v \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 76 | fanotify_mark \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 77 | fcntl \ |
| 78 | fcntl64 \ |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 79 | file_handle \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 80 | filter-unavailable \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 81 | fork-f \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 82 | fstat \ |
| 83 | fstat64 \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 84 | fstatat64 \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 85 | ftruncate \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 86 | ftruncate64 \ |
Dmitry V. Levin | 7528a0b | 2015-11-19 16:39:32 +0000 | [diff] [blame] | 87 | getdents \ |
| 88 | getdents64 \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 89 | getrandom \ |
Fei Jie | 5204dbd | 2016-02-19 09:57:33 +0800 | [diff] [blame] | 90 | getrusage \ |
Dmitry V. Levin | 2720a61 | 2016-01-09 00:06:06 +0000 | [diff] [blame] | 91 | getxxid \ |
Dmitry V. Levin | 1f111cf | 2015-11-21 03:03:54 +0300 | [diff] [blame] | 92 | inet-cmsg \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 93 | ioctl \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 94 | ip_mreq \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 95 | ipc_msg \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 96 | ipc_msgbuf \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 97 | ipc_sem \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 98 | ipc_shm \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 99 | ksysent \ |
Dmitry V. Levin | 9db0797 | 2015-12-01 00:59:26 +0000 | [diff] [blame] | 100 | llseek \ |
| 101 | lseek \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 102 | lstat \ |
| 103 | lstat64 \ |
Dmitry V. Levin | 2aec1e6 | 2015-11-15 02:29:29 +0000 | [diff] [blame] | 104 | membarrier \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 105 | memfd_create \ |
Dmitry V. Levin | dfea1da | 2016-01-29 01:51:54 +0000 | [diff] [blame] | 106 | mincore \ |
Dmitry V. Levin | 0d0a50a | 2015-11-15 02:35:57 +0000 | [diff] [blame] | 107 | mlock2 \ |
Dmitry V. Levin | e7d671b | 2015-03-19 22:03:32 +0000 | [diff] [blame] | 108 | mmap \ |
| 109 | mmap64 \ |
Masatake YAMATO | 993198d | 2014-11-07 01:23:27 +0900 | [diff] [blame] | 110 | mmsg \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 111 | mq \ |
Dmitry V. Levin | 593602c | 2015-09-18 02:18:03 +0000 | [diff] [blame] | 112 | nanosleep \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 113 | net-accept-connect \ |
Dmitry V. Levin | 751fcb8 | 2016-02-02 19:48:46 +0000 | [diff] [blame] | 114 | net-y-unix \ |
Dmitry V. Levin | 9d15ec7 | 2016-01-26 22:03:22 +0000 | [diff] [blame] | 115 | net-yy-inet \ |
Dmitry V. Levin | 6124cd9 | 2016-01-25 22:20:54 +0000 | [diff] [blame] | 116 | net-yy-unix \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 117 | netlink_inet_diag \ |
Dmitry V. Levin | 6b5df32 | 2014-12-25 00:11:40 +0000 | [diff] [blame] | 118 | netlink_unix_diag \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 119 | newfstatat \ |
Dmitry V. Levin | ea7ef93 | 2015-07-30 08:24:32 +0000 | [diff] [blame] | 120 | oldselect \ |
Dmitry V. Levin | e96cb62 | 2015-02-15 15:52:02 +0000 | [diff] [blame] | 121 | pc \ |
Dmitry V. Levin | f7423af | 2015-12-25 00:52:42 +0000 | [diff] [blame] | 122 | personality \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 123 | pipe \ |
Dmitry V. Levin | 446e5b1 | 2016-02-16 00:52:43 +0000 | [diff] [blame] | 124 | poll \ |
Dmitry V. Levin | d9fb450 | 2015-07-30 19:46:11 +0000 | [diff] [blame] | 125 | ppoll \ |
Dmitry V. Levin | 77a1b6b | 2015-09-15 02:14:38 +0000 | [diff] [blame] | 126 | pselect6 \ |
Dmitry V. Levin | 4f46158 | 2015-11-19 19:04:32 +0000 | [diff] [blame] | 127 | readdir \ |
Gleb Fotengauer-Malinovskiy | 3af6aab | 2015-08-14 17:49:27 +0200 | [diff] [blame] | 128 | readlink \ |
| 129 | readlinkat \ |
Dmitry V. Levin | 05a0af6 | 2016-01-20 00:17:02 +0000 | [diff] [blame] | 130 | readv \ |
Dmitry V. Levin | 93c9d1c | 2016-01-20 03:26:37 +0000 | [diff] [blame] | 131 | recvmsg \ |
Dmitry V. Levin | 640623c | 2015-09-18 11:27:11 +0000 | [diff] [blame] | 132 | restart_syscall \ |
Dmitry V. Levin | 1165620 | 2016-02-18 00:08:30 +0000 | [diff] [blame] | 133 | rt_sigpending \ |
Dmitry V. Levin | f09b7c4 | 2016-02-18 03:21:30 +0000 | [diff] [blame] | 134 | rt_sigprocmask \ |
Elvira Khabirova | 3b7674c | 2015-08-21 18:49:14 +0300 | [diff] [blame] | 135 | rt_sigqueueinfo \ |
Dmitry V. Levin | 9649ac1 | 2016-02-19 16:07:43 +0000 | [diff] [blame^] | 136 | rt_sigsuspend \ |
Dmitry V. Levin | 49faae9 | 2016-02-19 03:27:09 +0000 | [diff] [blame] | 137 | rt_sigtimedwait \ |
Dmitry V. Levin | 11d623f | 2016-02-17 05:24:43 +0000 | [diff] [blame] | 138 | rt_tgsigqueueinfo \ |
Dmitry V. Levin | 6bf08e3 | 2016-01-07 00:31:33 +0000 | [diff] [blame] | 139 | sched_xetaffinity \ |
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame] | 140 | sched_xetattr \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 141 | scm_rights \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 142 | seccomp \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 143 | select \ |
Dmitry V. Levin | 4918285 | 2015-08-19 01:25:39 +0000 | [diff] [blame] | 144 | sendfile \ |
| 145 | sendfile64 \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 146 | set_ptracer_any \ |
| 147 | sigaction \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 148 | sigaltstack \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 149 | signalfd \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 150 | sigreturn \ |
Dmitry V. Levin | 16a52b4 | 2016-02-13 22:31:30 +0000 | [diff] [blame] | 151 | splice \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 152 | stack-fcall \ |
Dmitry V. Levin | a8eb52f | 2016-01-21 23:52:39 +0000 | [diff] [blame] | 153 | sleep \ |
Dmitry V. Levin | 7b01014 | 2015-01-07 19:30:37 +0000 | [diff] [blame] | 154 | stat \ |
Dmitry V. Levin | 144a9db | 2015-12-05 00:03:49 +0000 | [diff] [blame] | 155 | stat64 \ |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 156 | statfs \ |
Elvira Khabirova | 22d997e | 2015-08-03 06:30:49 +0300 | [diff] [blame] | 157 | sysinfo \ |
Dmitry V. Levin | 6c93254 | 2016-02-13 22:42:52 +0000 | [diff] [blame] | 158 | tee \ |
Dmitry V. Levin | f9b455c | 2015-08-18 13:25:36 +0000 | [diff] [blame] | 159 | time \ |
Dmitry V. Levin | b8f0c92 | 2015-09-16 16:31:43 +0000 | [diff] [blame] | 160 | timer_create \ |
Dmitry V. Levin | 1314098 | 2015-09-17 18:25:12 +0000 | [diff] [blame] | 161 | timer_xettime \ |
Dmitry V. Levin | 79cafcd | 2015-09-17 20:05:20 +0000 | [diff] [blame] | 162 | timerfd_xettime \ |
Eugene Syromyatnikov | 7a03605 | 2015-08-04 15:52:55 +0300 | [diff] [blame] | 163 | times \ |
Elvira Khabirova | 9d77b56 | 2015-08-21 00:09:32 +0300 | [diff] [blame] | 164 | times-fail \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 165 | truncate \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 166 | truncate64 \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 167 | uid \ |
Dmitry V. Levin | 80f7db1 | 2014-12-13 21:49:01 +0000 | [diff] [blame] | 168 | uid16 \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 169 | uid32 \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 170 | uio \ |
Dmitry V. Levin | 08a1783 | 2015-12-07 00:06:35 +0000 | [diff] [blame] | 171 | umount \ |
| 172 | umount2 \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 173 | umovestr \ |
| 174 | umovestr2 \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 175 | unix-pair-send-recv \ |
Dmitry V. Levin | a6ebdb1 | 2015-11-15 02:22:44 +0000 | [diff] [blame] | 176 | userfaultfd \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 177 | utime \ |
Dmitry V. Levin | 78e48eb | 2015-07-15 15:34:59 +0000 | [diff] [blame] | 178 | utimensat \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 179 | vfork-f \ |
Dmitry V. Levin | 13870c5 | 2016-02-13 23:18:15 +0000 | [diff] [blame] | 180 | vmsplice \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 181 | wait \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 182 | xattr \ |
| 183 | xet_robust_list \ |
Dmitry V. Levin | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 184 | xetitimer \ |
Dmitry V. Levin | 669f8cf | 2016-02-14 17:14:15 +0000 | [diff] [blame] | 185 | xetpgid \ |
Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 186 | xettimeofday \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 187 | # end of check_PROGRAMS |
Dmitry V. Levin | cc3d591 | 2014-04-16 23:28:29 +0000 | [diff] [blame] | 188 | |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 189 | attach_f_p_LDADD = -lrt -lpthread $(LDADD) |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 190 | clock_xettime_LDADD = -lrt $(LDADD) |
| 191 | filter_unavailable_LDADD = -lpthread $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 192 | fstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 193 | fstatat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 194 | ftruncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 195 | lstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 196 | mmap64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 197 | mq_LDADD = -lrt $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 198 | newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 199 | pc_LDADD = $(dl_LIBS) $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 200 | stat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 201 | statfs_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 202 | times_LDADD = -lrt $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 203 | truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 204 | uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | b076420 | 2014-06-16 21:45:52 +0000 | [diff] [blame] | 205 | stack_fcall_SOURCES = stack-fcall.c \ |
| 206 | stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c |
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 207 | |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 208 | if USE_LIBUNWIND |
| 209 | LIBUNWIND_TESTS = strace-k.test |
| 210 | else |
| 211 | LIBUNWIND_TESTS = |
| 212 | endif |
| 213 | |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 214 | TESTS = \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 215 | strace-f.test \ |
| 216 | qual_syscall.test \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 217 | ksysent.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 218 | \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 219 | _newselect.test \ |
Dmitry V. Levin | dad1eef | 2015-09-16 21:58:36 +0000 | [diff] [blame] | 220 | adjtimex.test \ |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 221 | aio.test \ |
Dmitry V. Levin | 7c05954 | 2016-02-14 16:56:58 +0000 | [diff] [blame] | 222 | alarm.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 223 | bexecve.test \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 224 | bpf.test \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 225 | caps.test \ |
Dmitry V. Levin | c648b4a | 2015-09-18 14:24:51 +0000 | [diff] [blame] | 226 | clock_nanosleep.test \ |
Dmitry V. Levin | 9d4c892 | 2015-09-17 21:57:22 +0000 | [diff] [blame] | 227 | clock_xettime.test \ |
Dmitry V. Levin | c1f99f5 | 2016-02-13 03:45:32 +0000 | [diff] [blame] | 228 | copy_file_range.test \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 229 | dumpio.test \ |
Dmitry V. Levin | bf62c1b | 2015-08-01 23:04:32 +0000 | [diff] [blame] | 230 | epoll_create1.test \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 231 | eventfd.test \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 232 | execve.test \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 233 | execve-v.test \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 234 | execveat.test \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 235 | execveat-v.test \ |
Dmitry V. Levin | 1ea6473 | 2015-01-10 00:08:58 +0000 | [diff] [blame] | 236 | fanotify_mark.test \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 237 | fcntl.test \ |
| 238 | fcntl64.test \ |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 239 | file_handle.test \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 240 | filter-unavailable.test \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 241 | fork-f.test \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 242 | fstat.test \ |
| 243 | fstat64.test \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 244 | fstatat64.test \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 245 | ftruncate.test \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 246 | ftruncate64.test \ |
Dmitry V. Levin | 68d6424 | 2014-09-10 00:07:32 +0000 | [diff] [blame] | 247 | getdents.test \ |
Dmitry V. Levin | 7528a0b | 2015-11-19 16:39:32 +0000 | [diff] [blame] | 248 | getdents64.test \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 249 | getrandom.test \ |
Fei Jie | 5204dbd | 2016-02-19 09:57:33 +0800 | [diff] [blame] | 250 | getrusage.test \ |
Dmitry V. Levin | 2720a61 | 2016-01-09 00:06:06 +0000 | [diff] [blame] | 251 | getxxid.test \ |
Dmitry V. Levin | 1f111cf | 2015-11-21 03:03:54 +0300 | [diff] [blame] | 252 | inet-cmsg.test \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 253 | ioctl.test \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 254 | ip_mreq.test \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 255 | ipc_msg.test \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 256 | ipc_msgbuf.test \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 257 | ipc_sem.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 258 | ipc_shm.test \ |
Dmitry V. Levin | 9db0797 | 2015-12-01 00:59:26 +0000 | [diff] [blame] | 259 | llseek.test \ |
| 260 | lseek.test \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 261 | lstat.test \ |
| 262 | lstat64.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 263 | membarrier.test \ |
| 264 | memfd_create.test \ |
Dmitry V. Levin | dfea1da | 2016-01-29 01:51:54 +0000 | [diff] [blame] | 265 | mincore.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 266 | mlock2.test \ |
| 267 | mmap.test \ |
| 268 | mmap64.test \ |
| 269 | mmsg.test \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 270 | mq.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 271 | nanosleep.test \ |
Dmitry V. Levin | 751fcb8 | 2016-02-02 19:48:46 +0000 | [diff] [blame] | 272 | net-y-unix.test \ |
Dmitry V. Levin | 9d15ec7 | 2016-01-26 22:03:22 +0000 | [diff] [blame] | 273 | net-yy-inet.test \ |
Dmitry V. Levin | 6124cd9 | 2016-01-25 22:20:54 +0000 | [diff] [blame] | 274 | net-yy-unix.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 275 | net.test \ |
| 276 | newfstatat.test \ |
| 277 | oldselect.test \ |
| 278 | pc.test \ |
Dmitry V. Levin | f7423af | 2015-12-25 00:52:42 +0000 | [diff] [blame] | 279 | personality.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 280 | pipe.test \ |
Dmitry V. Levin | 446e5b1 | 2016-02-16 00:52:43 +0000 | [diff] [blame] | 281 | poll.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 282 | ppoll.test \ |
Dmitry V. Levin | 77a1b6b | 2015-09-15 02:14:38 +0000 | [diff] [blame] | 283 | pselect6.test \ |
Dmitry V. Levin | 4f46158 | 2015-11-19 19:04:32 +0000 | [diff] [blame] | 284 | readdir.test \ |
Gleb Fotengauer-Malinovskiy | 3af6aab | 2015-08-14 17:49:27 +0200 | [diff] [blame] | 285 | readlink.test \ |
| 286 | readlinkat.test \ |
Dmitry V. Levin | 05a0af6 | 2016-01-20 00:17:02 +0000 | [diff] [blame] | 287 | readv.test \ |
Dmitry V. Levin | 93c9d1c | 2016-01-20 03:26:37 +0000 | [diff] [blame] | 288 | recvmsg.test \ |
Dmitry V. Levin | 1165620 | 2016-02-18 00:08:30 +0000 | [diff] [blame] | 289 | rt_sigpending.test \ |
Dmitry V. Levin | f09b7c4 | 2016-02-18 03:21:30 +0000 | [diff] [blame] | 290 | rt_sigprocmask.test \ |
Elvira Khabirova | 3b7674c | 2015-08-21 18:49:14 +0300 | [diff] [blame] | 291 | rt_sigqueueinfo.test \ |
Dmitry V. Levin | 9649ac1 | 2016-02-19 16:07:43 +0000 | [diff] [blame^] | 292 | rt_sigsuspend.test \ |
Dmitry V. Levin | 49faae9 | 2016-02-19 03:27:09 +0000 | [diff] [blame] | 293 | rt_sigtimedwait.test \ |
Dmitry V. Levin | 11d623f | 2016-02-17 05:24:43 +0000 | [diff] [blame] | 294 | rt_tgsigqueueinfo.test \ |
Dmitry V. Levin | 6bf08e3 | 2016-01-07 00:31:33 +0000 | [diff] [blame] | 295 | sched_xetaffinity.test \ |
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame] | 296 | sched_xetattr.test \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 297 | scm_rights-fd.test \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 298 | seccomp.test \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 299 | select.test \ |
Dmitry V. Levin | 4918285 | 2015-08-19 01:25:39 +0000 | [diff] [blame] | 300 | sendfile.test \ |
| 301 | sendfile64.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 302 | sigaction.test \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 303 | sigaltstack.test \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 304 | signalfd.test \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 305 | sigreturn.test \ |
Dmitry V. Levin | 16a52b4 | 2016-02-13 22:31:30 +0000 | [diff] [blame] | 306 | splice.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 307 | stat.test \ |
Dmitry V. Levin | 144a9db | 2015-12-05 00:03:49 +0000 | [diff] [blame] | 308 | stat64.test \ |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 309 | statfs.test \ |
Dmitry V. Levin | c9e2418 | 2015-01-29 15:19:21 +0000 | [diff] [blame] | 310 | sun_path.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 311 | sysinfo.test \ |
Dmitry V. Levin | 6c93254 | 2016-02-13 22:42:52 +0000 | [diff] [blame] | 312 | tee.test \ |
Dmitry V. Levin | f9b455c | 2015-08-18 13:25:36 +0000 | [diff] [blame] | 313 | time.test \ |
Dmitry V. Levin | b8f0c92 | 2015-09-16 16:31:43 +0000 | [diff] [blame] | 314 | timer_create.test \ |
Dmitry V. Levin | 1314098 | 2015-09-17 18:25:12 +0000 | [diff] [blame] | 315 | timer_xettime.test \ |
Dmitry V. Levin | 79cafcd | 2015-09-17 20:05:20 +0000 | [diff] [blame] | 316 | timerfd_xettime.test \ |
Elvira Khabirova | 9d77b56 | 2015-08-21 00:09:32 +0300 | [diff] [blame] | 317 | times-fail.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 318 | times.test \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 319 | truncate.test \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 320 | truncate64.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 321 | uid.test \ |
| 322 | uid16.test \ |
| 323 | uid32.test \ |
| 324 | uio.test \ |
Dmitry V. Levin | 08a1783 | 2015-12-07 00:06:35 +0000 | [diff] [blame] | 325 | umount.test \ |
| 326 | umount2.test \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 327 | umovestr.test \ |
| 328 | umovestr2.test \ |
Dmitry V. Levin | a6ebdb1 | 2015-11-15 02:22:44 +0000 | [diff] [blame] | 329 | userfaultfd.test \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 330 | utime.test \ |
Dmitry V. Levin | 78e48eb | 2015-07-15 15:34:59 +0000 | [diff] [blame] | 331 | utimensat.test \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 332 | vfork-f.test \ |
Dmitry V. Levin | 13870c5 | 2016-02-13 23:18:15 +0000 | [diff] [blame] | 333 | vmsplice.test \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 334 | wait.test \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 335 | xattr.test \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 336 | xet_robust_list.test \ |
Dmitry V. Levin | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 337 | xetitimer.test \ |
Dmitry V. Levin | 669f8cf | 2016-02-14 17:14:15 +0000 | [diff] [blame] | 338 | xetpgid.test \ |
Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 339 | xettimeofday.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 340 | \ |
Dmitry V. Levin | 772e32b | 2014-05-29 21:14:14 +0000 | [diff] [blame] | 341 | count.test \ |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 342 | attach-f-p.test \ |
Dmitry V. Levin | fa8c286 | 2016-01-22 14:37:14 +0000 | [diff] [blame] | 343 | attach-p-cmd.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 344 | detach-sleeping.test \ |
| 345 | detach-stopped.test \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 346 | detach-running.test \ |
Dmitry V. Levin | 7469e25 | 2016-02-05 01:19:37 +0000 | [diff] [blame] | 347 | opipe.test \ |
Dmitry V. Levin | a88c72e | 2016-02-08 16:47:40 +0000 | [diff] [blame] | 348 | redirect.test \ |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 349 | restart_syscall.test \ |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 350 | $(LIBUNWIND_TESTS) |
| 351 | |
| 352 | XFAIL_TESTS_ = |
| 353 | XFAIL_TESTS_m32 = $(LIBUNWIND_TESTS) |
| 354 | XFAIL_TESTS_mx32 = $(LIBUNWIND_TESTS) |
| 355 | XFAIL_TESTS = $(XFAIL_TESTS_$(MPERS_NAME)) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 356 | |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 357 | TEST_LOG_COMPILER = env |
| 358 | AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh |
Dmitry V. Levin | f60347d | 2013-06-18 15:28:47 +0000 | [diff] [blame] | 359 | |
Dmitry V. Levin | 226bf1c | 2015-03-18 19:14:02 +0000 | [diff] [blame] | 360 | EXTRA_DIST = init.sh run.sh match.awk \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 361 | caps.awk \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 362 | dumpio.expected \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 363 | eventfd.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 364 | fanotify_mark.expected \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 365 | filter-unavailable.expected \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 366 | fstatat.c \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 367 | fstatx.c \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 368 | ip_mreq.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 369 | ipc.sh \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 370 | ipc_msgbuf.expected \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 371 | ksysent.sed \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 372 | lstatx.c \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 373 | memfd_create.expected \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 374 | mq.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 375 | net.expected \ |
Dmitry V. Levin | ea7ef93 | 2015-07-30 08:24:32 +0000 | [diff] [blame] | 376 | oldselect.expected \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 377 | pipe.expected \ |
Dmitry V. Levin | d9fb450 | 2015-07-30 19:46:11 +0000 | [diff] [blame] | 378 | ppoll.expected \ |
| 379 | ppoll-v.expected \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 380 | sigaction.awk \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 381 | sigaltstack.expected \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 382 | signalfd.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 383 | statfs.expected \ |
Dmitry V. Levin | cc2baf3 | 2015-12-05 00:01:56 +0000 | [diff] [blame] | 384 | statx.sh \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 385 | struct_flock.c \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 386 | sun_path.expected \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 387 | uid.awk \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 388 | uio.expected \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 389 | umovestr.expected \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 390 | wait.expected \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 391 | xattr.expected \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 392 | xselect.c \ |
Dmitry V. Levin | cc2baf3 | 2015-12-05 00:01:56 +0000 | [diff] [blame] | 393 | xstatx.c \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 394 | $(TESTS) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 395 | |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 396 | ksysent.h: $(srcdir)/ksysent.sed |
| 397 | echo '#include <asm/unistd.h>' | \ |
Michael Shigorin | f20304b | 2016-02-17 18:55:28 +0300 | [diff] [blame] | 398 | $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dM - > $@.t1 |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 399 | LC_COLLATE=C sed -n -f $(srcdir)/ksysent.sed < $@.t1 > $@.t2 |
| 400 | mv -f $@.t2 $@ |
| 401 | rm -f $@.t1 |
| 402 | |
| 403 | BUILT_SOURCES = ksysent.h |
| 404 | CLEANFILES = ksysent.h $(TESTS:=.tmp) |