blob: ce00548b0521b4bb7fd7687aece7ce92cf73782a [file] [log] [blame]
Roland McGrath6d2b3492002-12-30 00:51:30 +00001# Automake input for strace.
2
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +00003SUBDIRS = tests
4
Roland McGrath6d2b3492002-12-30 00:51:30 +00005bin_PROGRAMS = strace
6man_MANS = strace.1
Denys Vlasenko796f6e82012-03-09 14:21:59 +01007bin_SCRIPTS = strace-graph strace-log-merge
Roland McGrath6d2b3492002-12-30 00:51:30 +00008
Dmitry V. Levinee245d82012-02-25 15:34:10 +01009OS = linux
Roland McGrath6d2b3492002-12-30 00:51:30 +000010# ARCH is `i386', `m68k', `sparc', etc.
11ARCH = @arch@
Roland McGrath6d2b3492002-12-30 00:51:30 +000012
Dmitry V. Levin916aded2010-09-09 17:36:36 +000013ACLOCAL_AMFLAGS = -I m4
Dmitry V. Levin918e49b2010-09-09 17:41:15 +000014AM_CFLAGS = $(WARN_CFLAGS)
Mike Frysinger9004e122011-02-20 23:24:22 -050015AM_CPPFLAGS = -I$(srcdir)/$(OS)/$(ARCH) -I$(srcdir)/$(OS) -I$(builddir)/$(OS)
Roland McGrath6d2b3492002-12-30 00:51:30 +000016
Mike Frysinger761ed9b2014-02-16 01:59:20 -050017include xlat/Makemodule.am
18
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000019strace_SOURCES = \
Dmitry V. Levin304cd812014-12-06 03:53:16 +000020 access.c \
Dmitry V. Levinb94b9832014-12-11 19:25:02 +000021 affinity.c \
Dmitry V. Levin2b640342013-11-11 15:06:18 +000022 aio.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000023 bjm.c \
24 block.c \
Dmitry V. Levin95edb8b2014-12-03 20:50:08 +000025 cacheflush.c \
Dmitry V. Levin5e7987b2014-12-03 20:30:15 +000026 capability.c \
Dmitry V. Levin9b2f6742014-12-06 03:53:16 +000027 chdir.c \
Dmitry V. Levinad5cf1e2014-12-06 03:53:16 +000028 chmod.c \
Dmitry V. Levin2b7a53b2014-12-06 03:53:16 +000029 chown.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000030 count.c \
31 desc.c \
Dmitry V. Levin2ed2cc72014-09-11 22:40:37 +000032 dirent.c \
Dmitry V. Levin63f28dd2014-12-06 03:53:16 +000033 fadvise.c \
Dmitry V. Levin2795a5f2014-12-06 03:53:16 +000034 fallocate.c \
Dmitry V. Levin99db95d2014-02-05 04:13:18 +000035 fanotify.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000036 file.c \
Dmitry V. Levine314f802014-12-11 19:25:02 +000037 futex.c \
Dmitry V. Levin83576382014-12-11 19:25:02 +000038 get_robust_list.c \
Dmitry V. Levin665f10c2014-12-11 19:21:54 +000039 getcpu.c \
Dmitry V. Levina8364302014-12-06 03:53:16 +000040 getcwd.c \
Dmitry V. Levin2f332e92014-02-05 15:43:04 +000041 inotify.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000042 io.c \
43 ioctl.c \
Dmitry V. Levinfc4727d2014-02-05 17:27:43 +000044 ioprio.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000045 ipc.c \
Dmitry V. Levin90aa9f42014-02-05 13:48:26 +000046 kexec.c \
Dmitry V. Levin3acf4032014-02-05 22:41:45 +000047 keyctl.c \
Dmitry V. Levin99a05442014-04-10 14:10:17 +000048 ldt.c \
Dmitry V. Levin231b19f2014-12-06 03:53:16 +000049 link.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000050 loop.c \
Dmitry V. Levinb5d25ec2014-12-06 03:53:16 +000051 lseek.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000052 mem.c \
Dmitry V. Levindb23b342014-12-06 03:53:16 +000053 mknod.c \
Dmitry V. Levin6da7ca32014-12-03 21:12:07 +000054 mount.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000055 mtd.c \
56 net.c \
Dmitry V. Levin964d80a2014-12-06 03:53:16 +000057 open.c \
Dmitry V. Levinf6eb0d62014-12-03 20:00:42 +000058 or1k_atomic.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000059 pathtrace.c \
Dmitry V. Levind28b6a02014-12-03 21:06:11 +000060 personality.c \
Dmitry V. Levin53c993d2014-12-11 19:25:02 +000061 prctl.c \
Dmitry V. Levin9514ac72014-12-06 03:53:16 +000062 printmode.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000063 process.c \
Dmitry V. Levindb16c522014-12-11 19:21:54 +000064 process_vm.c \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +010065 ptp.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000066 quota.c \
Dmitry V. Levin9e9ceab2014-12-06 03:53:16 +000067 readahead.c \
Dmitry V. Levin46245b32014-12-06 03:53:16 +000068 readlink.c \
Dmitry V. Levin9aaf88c2014-02-05 14:51:19 +000069 reboot.c \
Dmitry V. Levin6d20a0b2014-12-06 03:53:16 +000070 renameat.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000071 resource.c \
Dmitry V. Levinfff2f312014-12-11 19:25:02 +000072 sched.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000073 scsi.c \
74 signal.c \
75 sock.c \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +000076 socketutils.c \
Dmitry V. Levine36c72c2014-12-03 20:56:36 +000077 sram_alloc.c \
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +000078 statfs.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000079 strace.c \
80 stream.c \
Dmitry V. Levin85a364a2014-12-06 03:53:16 +000081 swapon.c \
Dmitry V. Levin710b3ae2014-12-06 03:53:16 +000082 sync_file_range.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000083 syscall.c \
Dmitry V. Levin172241b2014-12-03 20:20:52 +000084 sysctl.c \
Dmitry V. Levin57d45a22014-09-29 23:13:05 +000085 sysinfo.c \
Dmitry V. Levinb21e2fb2014-12-03 21:01:35 +000086 syslog.c \
Dmitry V. Levin600e33c2014-12-03 20:08:44 +000087 sysmips.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000088 term.c \
89 time.c \
Dmitry V. Levin69341822014-12-06 03:53:16 +000090 truncate.c \
Dmitry V. Levind590f3c2014-12-06 03:53:16 +000091 umask.c \
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +000092 umount.c \
Dmitry V. Levin58dd2cf2014-12-11 19:25:02 +000093 uname.c \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +000094 util.c \
Dmitry V. Levinfb470f32014-12-06 03:53:16 +000095 utime.c \
Dmitry V. Levin481e0672014-12-06 03:53:16 +000096 utimes.c \
Philippe De Muyter0cc96142014-11-03 21:27:40 +010097 v4l2.c \
Dmitry V. Levin769ffe92014-12-06 03:53:16 +000098 vsprintf.c \
Dmitry V. Levin7ccc1442014-12-11 19:25:02 +000099 wait.c \
Dmitry V. Levin769ffe92014-12-06 03:53:16 +0000100 xattr.c
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000101
Luca Clementi327064b2013-07-23 00:11:35 -0700102if USE_LIBUNWIND
103strace_SOURCES += unwind.c
104strace_CPPFLAGS = $(AM_CPPFLAGS) $(libunwind_CPPFLAGS)
105strace_LDFLAGS = $(libunwind_LDFLAGS)
106strace_LDADD = $(libunwind_LIBS)
107else
108strace_CPPFLAGS = $(AM_CPPFLAGS)
109endif
110
Roland McGrath2746edd2002-12-30 09:13:08 +0000111noinst_HEADERS = defs.h
Denys Vlasenko76f61be2013-03-06 18:59:09 +0100112# Enable this to get link map generated
113#strace_CFLAGS = $(AM_CFLAGS) -Wl,-Map=strace.mapfile
Roland McGrath6d2b3492002-12-30 00:51:30 +0000114
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000115EXTRA_DIST = \
116 $(man_MANS) \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000117 .version \
Mike Frysinger6c191362013-05-15 16:33:09 -0400118 COPYING \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000119 CREDITS \
120 ChangeLog \
121 ChangeLog-CVS \
122 README-linux \
123 README-linux-ptrace \
124 debian/changelog \
125 debian/compat \
126 debian/control \
127 debian/copyright \
128 debian/rules \
129 debian/source/format \
130 debian/strace-udeb.install \
131 debian/strace.docs \
132 debian/strace.examples \
133 debian/strace.install \
134 debian/strace.manpages \
135 debian/strace64.install \
136 debian/strace64.manpages \
137 debian/watch \
138 errnoent.sh \
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000139 ioctlsort.c \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000140 linux/aarch64/errnoent1.h \
141 linux/aarch64/ioctlent.h.in \
142 linux/aarch64/ioctlent1.h \
143 linux/aarch64/signalent1.h \
144 linux/aarch64/syscallent.h \
145 linux/aarch64/syscallent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000146 linux/alpha/errnoent.h \
147 linux/alpha/ioctlent.h.in \
148 linux/alpha/signalent.h \
149 linux/alpha/syscallent.h \
Vineet Gupta7daacbb2013-08-16 12:47:06 +0530150 linux/arc/ioctlent.h.in \
151 linux/arc/syscallent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000152 linux/arm/ioctlent.h.in \
153 linux/arm/syscallent.h \
154 linux/avr32/ioctlent.h.in \
155 linux/avr32/syscallent.h \
156 linux/bfin/ioctlent.h.in \
157 linux/bfin/syscallent.h \
158 linux/dummy.h \
159 linux/errnoent.h \
Dmitry V. Levin99db95d2014-02-05 04:13:18 +0000160 linux/fanotify.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000161 linux/hppa/errnoent.h \
162 linux/hppa/ioctlent.h.in \
163 linux/hppa/signalent.h \
164 linux/hppa/syscallent.h \
165 linux/i386/ioctlent.h.in \
166 linux/i386/syscallent.h \
167 linux/ia64/ioctlent.h.in \
168 linux/ia64/signalent.h \
169 linux/ia64/syscallent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000170 linux/inet_diag.h \
Dmitry V. Levin2f332e92014-02-05 15:43:04 +0000171 linux/inotify.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000172 linux/ioctlent.h.in \
173 linux/ioctlent.sh \
Dmitry V. Levin90aa9f42014-02-05 13:48:26 +0000174 linux/kexec.h \
Dmitry V. Levin3acf4032014-02-05 22:41:45 +0000175 linux/keyctl.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000176 linux/m68k/ioctlent.h.in \
177 linux/m68k/syscallent.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000178 linux/metag/ioctlent.h.in \
179 linux/metag/syscallent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000180 linux/microblaze/ioctlent.h.in \
181 linux/microblaze/syscallent.h \
182 linux/mips/errnoent.h \
183 linux/mips/ioctlent.h.in \
184 linux/mips/ioctlent.sh \
185 linux/mips/signalent.h \
Dmitry V. Levin34c445b2013-05-07 02:46:46 +0000186 linux/mips/syscallent-compat.h \
187 linux/mips/syscallent-n32.h \
188 linux/mips/syscallent-n64.h \
189 linux/mips/syscallent-o32.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000190 linux/mips/syscallent.h \
191 linux/mtd-abi.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000192 linux/or1k/ioctlent.h.in \
193 linux/or1k/syscallent.h \
Dmitry V. Levin2a32eaa2014-02-05 02:09:49 +0000194 linux/personality.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000195 linux/powerpc/errnoent1.h \
196 linux/powerpc/ioctlent.h.in \
197 linux/powerpc/ioctlent1.h \
198 linux/powerpc/signalent1.h \
199 linux/powerpc/syscallent.h \
200 linux/powerpc/syscallent1.h \
Stefan Sørensenb88a6f82014-01-31 12:01:01 +0100201 linux/ptp_clock.h \
Dmitry V. Levin9aaf88c2014-02-05 14:51:19 +0000202 linux/reboot.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000203 linux/s390/ioctlent.h.in \
204 linux/s390/syscallent.h \
205 linux/s390x/ioctlent.h.in \
206 linux/s390x/syscallent.h \
207 linux/sh/ioctlent.h.in \
208 linux/sh/syscallent.h \
209 linux/sh64/ioctlent.h.in \
210 linux/sh64/syscallent.h \
211 linux/signalent.h \
Dmitry V. Levin2f6510c2014-08-21 03:17:48 +0000212 linux/sock_diag.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000213 linux/sparc/dummy2.h \
214 linux/sparc/errnoent.h \
215 linux/sparc/errnoent1.h \
216 linux/sparc/gen.pl \
217 linux/sparc/ioctlent.h.in \
218 linux/sparc/ioctlent1.h \
219 linux/sparc/signalent.h \
220 linux/sparc/signalent1.h \
221 linux/sparc/syscall1.h \
222 linux/sparc/syscallent.h \
223 linux/sparc/syscallent1.h \
224 linux/sparc64/dummy2.h \
225 linux/sparc64/errnoent.h \
226 linux/sparc64/errnoent1.h \
227 linux/sparc64/errnoent2.h \
228 linux/sparc64/ioctlent.h.in \
229 linux/sparc64/ioctlent1.h \
230 linux/sparc64/ioctlent2.h \
231 linux/sparc64/signalent.h \
232 linux/sparc64/signalent1.h \
233 linux/sparc64/signalent2.h \
234 linux/sparc64/syscall1.h \
235 linux/sparc64/syscallent.h \
236 linux/sparc64/syscallent1.h \
237 linux/sparc64/syscallent2.h \
Dmitry V. Levinde462cf2013-05-07 18:38:01 +0400238 linux/subcall.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000239 linux/syscall.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000240 linux/tile/errnoent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000241 linux/tile/ioctlent.h.in \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000242 linux/tile/ioctlent1.h \
243 linux/tile/signalent1.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000244 linux/tile/syscallent.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000245 linux/tile/syscallent1.h \
Dmitry V. Levin8e0b8be2013-06-02 18:09:44 +0000246 linux/ubi-user.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000247 linux/x32/errnoent.h \
248 linux/x32/errnoent1.h \
249 linux/x32/ioctlent.h.in \
250 linux/x32/ioctlent1.h \
251 linux/x32/signalent.h \
252 linux/x32/signalent1.h \
253 linux/x32/syscallent.h \
254 linux/x32/syscallent1.h \
255 linux/x86_64/errnoent1.h \
256 linux/x86_64/errnoent2.h \
257 linux/x86_64/gentab.pl \
258 linux/x86_64/ioctlent.h.in \
259 linux/x86_64/ioctlent1.h \
260 linux/x86_64/ioctlent2.h \
261 linux/x86_64/signalent1.h \
262 linux/x86_64/signalent2.h \
263 linux/x86_64/syscallent.h \
264 linux/x86_64/syscallent1.h \
265 linux/x86_64/syscallent2.h \
Dmitry V. Levin0db34e72013-06-02 18:12:44 +0000266 linux/xtensa/ioctlent.h.in \
267 linux/xtensa/syscallent.h \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000268 signalent.sh \
269 strace-graph \
270 strace-log-merge \
271 strace.spec \
272 syscallent.sh \
Mike Frysinger761ed9b2014-02-16 01:59:20 -0500273 $(XLAT_INPUT_FILES) \
274 $(XLAT_HEADER_FILES) \
275 xlat/gen.sh \
Dmitry V. Levin7ae73a92013-04-30 23:34:51 +0000276 xlate.el
Roland McGrathbc44e402004-07-12 05:45:08 +0000277
Roland McGrath2b832df2009-10-06 17:46:56 -0700278.PHONY: srpm
Dmitry V. Levin525a39a2011-02-27 14:05:58 +0000279srpm: dist-xz
280 rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz
Roland McGrath2b832df2009-10-06 17:46:56 -0700281
Dmitry V. Levindce75932013-04-30 23:52:12 +0000282BUILT_SOURCES = .version
283
284$(srcdir)/.version:
285 $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
286
287dist-hook:
288 $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
289
290today = $(shell date +%Y-%m-%d)
291version_regexp = $(subst .,\.,$(VERSION))
292news_check_regexp = 'Noteworthy changes in release $(version_regexp) ($(today))'
293
294news-check: NEWS
295 $(AM_V_GEN)if head -1 $< | \
296 grep -x $(news_check_regexp) >/dev/null; then \
297 :; \
298 else \
299 echo >&2 '$<: check failed'; \
300 exit 1; \
301 fi
Mike Frysinger9004e122011-02-20 23:24:22 -0500302
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000303ioctlent_h = $(builddir)/$(OS)/ioctlent.h
304BUILT_SOURCES += $(ioctlent_h)
305CLEANFILES = $(ioctlent_h)
306ioctlent_h_deps = $(srcdir)/$(OS)/ioctlent.h.in $(srcdir)/$(OS)/$(ARCH)/ioctlent.h.in
307$(ioctlent_h): $(top_builddir)/config.status $(ioctlent_h_deps)
308 $(MKDIR_P) $(builddir)/$(OS)
309 cat $(ioctlent_h_deps) | \
310 $(COMPILE) -E -P - | \
311 sed 's/^\([[:space:]]*{\)"[^"]\+",[[:space:]]*/\1/' | \
312 LC_ALL=C sort -u -k2,2 -k1,1 > $@
313
Roland McGrathbc44e402004-07-12 05:45:08 +0000314if MAINTAINER_MODE
Roland McGratha478d742009-10-06 17:41:02 -0700315
316gen_changelog_start_date = 2009-07-08 20:00
Dmitry V. Levindce75932013-04-30 23:52:12 +0000317$(srcdir)/ChangeLog: $(srcdir)/gitlog-to-changelog $(srcdir)/Makefile.in \
318 $(srcdir)/.version
Roland McGratha478d742009-10-06 17:41:02 -0700319 @rm -f $@.new
Dmitry V. Levindce75932013-04-30 23:52:12 +0000320 (cd $(srcdir); \
Dmitry V. Levin594399d2011-11-05 13:32:27 +0000321 ./gitlog-to-changelog --append-dot \
322 --since='$(gen_changelog_start_date)'; \
Roland McGratha478d742009-10-06 17:41:02 -0700323 echo; echo; echo 'See ChangeLog-CVS for older changes.' \
324 ) > $@.new
325 chmod 444 $@.new
326 mv -f $@.new $@
327
Dmitry V. Levindce75932013-04-30 23:52:12 +0000328$(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \
329 $(srcdir)/Makefile.in $(srcdir)/.version
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000330 $(AM_V_GEN) \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400331 ( \
Dmitry V. Levindce75932013-04-30 23:52:12 +0000332 cd $(srcdir); \
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000333 sed '/^##/,$$d' CREDITS.in; \
334 { sed -n '1,/^##>/d; s/ \+/\t/; s/^./&/p' CREDITS.in; \
335 git log --pretty=format:'%aN %aE'; \
336 } | LC_ALL=C sort -u \
337 | awk -F'\t' '{printf("\t%s <%s>\n",$$1,$$2)}'; \
Mike Frysinger67c4d432014-08-14 04:05:37 -0400338 ) > $@-t && mv $@-t $@
Dmitry V. Levin59138a22011-02-24 01:51:15 +0000339
Dmitry V. Levin76ac37d2009-10-09 22:10:09 +0000340export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX
341
Lubomir Rintel544a8102014-10-16 12:05:43 +0200342INCLUDEDIR = /usr/include
343KERNEL_RELEASE = $(shell uname -r)
344# Candidates for the kernel headers tree.
345KERNEL_INCLUDE = \
346 /lib/modules/$(KERNEL_RELEASE)/build/include \
347 /usr/src/linux-$(KERNEL_RELEASE)/include \
348 $(INCLUDEDIR)
349IOCTLDIR = $(shell find $(KERNEL_INCLUDE) -maxdepth 0 -type d -print -quit 2>/dev/null)
350IOCTLASM = $(INCLUDEDIR)/asm
Roland McGrathbc44e402004-07-12 05:45:08 +0000351
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000352noinst_PROGRAMS = ioctlsort
353ioctlsort_SOURCES = ioctlsort.c
354nodist_ioctlsort_SOURCES = ioctls.h ioctldefs.h
355CLEANFILES += $(nodist_ioctlsort_SOURCES)
356ioctlsort.$(OBJEXT): $(nodist_ioctlsort_SOURCES)
Roland McGrathbc44e402004-07-12 05:45:08 +0000357ioctls.h: $(srcdir)/linux/ioctlent.sh
Roland McGrathadc2b302004-07-12 06:11:03 +0000358 $(SHELL) $< $(IOCTLDIR) $(IOCTLASM)
Roland McGrathbc44e402004-07-12 05:45:08 +0000359ioctldefs.h: ioctls.h ;
360
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000361ioctlent_h_in = linux/ioctlent.h.in
362BUILT_SOURCES += $(ioctlent_h_in)
363$(srcdir)/$(ioctlent_h_in): ioctlsort
364 $(<D)/$(<F) > $@
Mike Frysinger9004e122011-02-20 23:24:22 -0500365
Dmitry V. Levin00119f62014-11-04 01:40:42 +0000366endif