Abandon the `m4'-based build system. And there was great rejoicing.
[u/mdw/catacomb] / mode.h.in
diff --git a/mode.h.in b/mode.h.in
new file mode 100644 (file)
index 0000000..fc4fb95
--- /dev/null
+++ b/mode.h.in
@@ -0,0 +1,31 @@
+%## -*-c-*-
+%##
+%## Skeleton header file for modes of operation.
+%#
+/* -*-c-*- GENERATED from mode.h.in
+ *
+ * @base-@mode.h
+ */
+
+#ifndef CATACOMB_@{base:u}_@{mode:u}_H
+#define CATACOMB_@{base:u}_@{mode:u}_H
+
+#ifdef __cplusplus
+  extern "C" {
+#endif
+
+#ifndef CATACOMB_@{mode:u}_H
+#  include "@mode.h"
+#endif
+
+#ifndef CATACOMB_@{base:u}_H
+#  include "@base.h"
+#endif
+
+@{mode:u}_DECL(@{base:u}, @base)
+
+#ifdef __cplusplus
+  }
+#endif
+
+#endif