Abandon the `m4'-based build system. And there was great rejoicing.
[u/mdw/catacomb] / modes.am.in
diff --git a/modes.am.in b/modes.am.in
new file mode 100644 (file)
index 0000000..88ee217
--- /dev/null
@@ -0,0 +1,67 @@
+%## -*-makefile-*-
+%#
+### -*-makefile-*- GENERATED from modes.make.in
+###
+### Lots of lists of crypto primitives in various modes of operation.
+
+SYMM_TESTS =
+
+GENMODES_C =
+GENMODES_H =
+
+%repeat
+GENMODES_C += @blkc-@blkcmode.c
+GENMODES_H += @blkc-@blkcmode.h
+SYMM_TESTS += @blkc-@blkcmode.$t
+%end
+
+%repeat
+GENMODES_C += @hash-@hashmode.c
+GENMODES_H += @hash-@hashmode.h
+SYMM_TESTS += @hash-@hashmode.$t
+%end
+
+MODE_H =
+%repeat
+MODE_H += @blkcmode.h @blkcmode-def.h
+%end
+%repeat
+MODE_H += @hashmode.h @hashmode-def.h
+%end
+
+BLKC_C =
+BLKC_H =
+%repeat
+BLKC_C += @blkc.c
+BLKC_H += @blkc.h
+SYMM_TESTS += @blkc.$t
+%end
+
+HASH_C =
+HASH_H =
+%repeat
+HASH_C += @hash.c
+HASH_H += @hash.h
+SYMM_TESTS += @hash.$t
+%end
+
+CIPHER_MODES =
+%repeat
+CIPHER_MODES += @blkc-@blkcciphermode
+%end
+%repeat
+CIPHER_MODES += @hash-@hashciphermode
+%end
+
+MAC_MODES =
+%repeat
+MAC_MODES += @hash-@hashmacmode
+%end
+
+SYMM_TEST_FILES =
+%repeat
+SYMM_TEST_FILES += tests/@blkc
+%end
+%repeat
+SYMM_TEST_FILES += tests/@hash
+%end