aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 11:26:42 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 11:26:42 +0200
commit3a73ab675a19e2ea29b4cb1385db0188ce4997f8 (patch)
treeb010de454a833b01fe2ed469fd4f0fd699c59e50 /mk
parentTest partial byte support in SHA1 and SHA-224 (diff)
downloadlibhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.gz
libhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.bz2
libhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.xz
Make algorithms optional
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk')
l---------mk/md2=no.mk1
-rw-r--r--mk/md2=yes.mk1
l---------mk/md4=no.mk1
-rw-r--r--mk/md4=yes.mk1
l---------mk/md5=no.mk1
-rw-r--r--mk/md5=yes.mk1
-rw-r--r--mk/no0
l---------mk/ripemd-128=no.mk1
-rw-r--r--mk/ripemd-128=yes.mk1
l---------mk/ripemd-160=no.mk1
-rw-r--r--mk/ripemd-160=yes.mk1
l---------mk/ripemd-256=no.mk1
-rw-r--r--mk/ripemd-256=yes.mk1
l---------mk/ripemd-320=no.mk1
-rw-r--r--mk/ripemd-320=yes.mk1
l---------mk/sha1=no.mk1
-rw-r--r--mk/sha1=yes.mk2
l---------mk/sha2=no.mk1
-rw-r--r--mk/sha2=yes.mk2
19 files changed, 20 insertions, 0 deletions
diff --git a/mk/md2=no.mk b/mk/md2=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/md2=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/md2=yes.mk b/mk/md2=yes.mk
new file mode 100644
index 0000000..b387519
--- /dev/null
+++ b/mk/md2=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_MD2 = -DSUPPORT_MD2
diff --git a/mk/md4=no.mk b/mk/md4=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/md4=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/md4=yes.mk b/mk/md4=yes.mk
new file mode 100644
index 0000000..71ea9db
--- /dev/null
+++ b/mk/md4=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_MD4 = -DSUPPORT_MD4
diff --git a/mk/md5=no.mk b/mk/md5=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/md5=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/md5=yes.mk b/mk/md5=yes.mk
new file mode 100644
index 0000000..4a537e7
--- /dev/null
+++ b/mk/md5=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_MD5 = -DSUPPORT_MD5
diff --git a/mk/no b/mk/no
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mk/no
diff --git a/mk/ripemd-128=no.mk b/mk/ripemd-128=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/ripemd-128=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/ripemd-128=yes.mk b/mk/ripemd-128=yes.mk
new file mode 100644
index 0000000..20ccc01
--- /dev/null
+++ b/mk/ripemd-128=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_RIPEMD_128 = -DSUPPORT_RIPEMD_128
diff --git a/mk/ripemd-160=no.mk b/mk/ripemd-160=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/ripemd-160=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/ripemd-160=yes.mk b/mk/ripemd-160=yes.mk
new file mode 100644
index 0000000..a7bdaef
--- /dev/null
+++ b/mk/ripemd-160=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_RIPEMD_160 = -DSUPPORT_RIPEMD_160
diff --git a/mk/ripemd-256=no.mk b/mk/ripemd-256=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/ripemd-256=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/ripemd-256=yes.mk b/mk/ripemd-256=yes.mk
new file mode 100644
index 0000000..5ad2c42
--- /dev/null
+++ b/mk/ripemd-256=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_RIPEMD_256 = -DSUPPORT_RIPEMD_256
diff --git a/mk/ripemd-320=no.mk b/mk/ripemd-320=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/ripemd-320=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/ripemd-320=yes.mk b/mk/ripemd-320=yes.mk
new file mode 100644
index 0000000..fefe259
--- /dev/null
+++ b/mk/ripemd-320=yes.mk
@@ -0,0 +1 @@
+CPPFLAGS_RIPEMD_320 = -DSUPPORT_RIPEMD_320
diff --git a/mk/sha1=no.mk b/mk/sha1=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/sha1=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/sha1=yes.mk b/mk/sha1=yes.mk
new file mode 100644
index 0000000..c15ebc3
--- /dev/null
+++ b/mk/sha1=yes.mk
@@ -0,0 +1,2 @@
+CPPFLAGS_SHA1 = $(CPPFLAGS_LIBSHA1) -DSUPPORT_SHA0 -DSUPPORT_SHA1
+LDFLAGS_SHA1 = $(LDFLAGS_LIBSHA1)
diff --git a/mk/sha2=no.mk b/mk/sha2=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/sha2=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/sha2=yes.mk b/mk/sha2=yes.mk
new file mode 100644
index 0000000..cb26c08
--- /dev/null
+++ b/mk/sha2=yes.mk
@@ -0,0 +1,2 @@
+CPPFLAGS_SHA2 = $(CPPFLAGS_LIBSHA2) -DSUPPORT_SHA2
+LDFLAGS_SHA2 = $(LDFLAGS_LIBSHA2)