summaryrefslogtreecommitdiff
path: root/hurd/ioctl-tmpl.sym
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-01-24 22:53:41 +0000
committerRoland McGrath <roland@gnu.org>1999-01-24 22:53:41 +0000
commitc2d213e2c185befda32325691750461b8395ba3d (patch)
tree71d8946d53e3bb4cffd297de6d958fe427258799 /hurd/ioctl-tmpl.sym
parente2d39f1f8f05d27d82e50159846128cdbf835c98 (diff)
1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
* Makefile: Add rules for generating prototype ?ioctl.defs files from a list of C headers that define the ioctl request macros. (DIST_FILES): Add ioctl-tmpl.sym ioctl.awk gensym.awk. * gensym.awk, ioctl-decode.h, ioctl-tmpl.sym, ioctl.awk: New files supporting those rules.
Diffstat (limited to 'hurd/ioctl-tmpl.sym')
-rw-r--r--hurd/ioctl-tmpl.sym13
1 files changed, 13 insertions, 0 deletions
diff --git a/hurd/ioctl-tmpl.sym b/hurd/ioctl-tmpl.sym
new file mode 100644
index 00000000..8029ec00
--- /dev/null
+++ b/hurd/ioctl-tmpl.sym
@@ -0,0 +1,13 @@
+/* This file is used by the Makefile rules for generating
+ Xioctl-proto.defs, see Makefile for details. */
+
+#include <sys/ioctl.h>
+#include <hurd/ioctls.defs>
+
+#include "ioctl-decode.h"
+
+#include "@HEADER_LIST@"
+#define GROUPCHAR '@GROUP@'
+
+expr GROUPCHAR GROUP
+expr IOC_GROUP_SUBSYSTEM(GROUPCHAR) SUBSYSTEM