aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-11 16:22:00 +0100
committerMattias Andrée <maandree@kth.se>2019-02-11 16:22:00 +0100
commit5ff4c5af715d098852d124de116d354ee10f4ea4 (patch)
tree5789ad5798f2dbf21d9406a2942e48b222f773ae /Makefile
parentRemove old file (diff)
downloadlibkeccak-5ff4c5af715d098852d124de116d354ee10f4ea4.tar.gz
libkeccak-5ff4c5af715d098852d124de116d354ee10f4ea4.tar.bz2
libkeccak-5ff4c5af715d098852d124de116d354ee10f4ea4.tar.xz
Split most .c files into one per function and flatten file hierarchy
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 24 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index e8c9b80..9a51de9 100644
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,28 @@ LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR)
OBJ =\
- libkeccak/digest.o\
- libkeccak/files.o\
- libkeccak/generalised-spec.o\
- libkeccak/hex.o\
- libkeccak/state.o\
- libkeccak/hmac.o
+ digest.o\
+ libkeccak_behex_lower.o\
+ libkeccak_behex_upper.o\
+ libkeccak_degeneralise_spec.o\
+ libkeccak_generalised_sum_fd.o\
+ libkeccak_hmac_copy.o\
+ libkeccak_hmac_digest.o\
+ libkeccak_hmac_fast_digest.o\
+ libkeccak_hmac_fast_update.o\
+ libkeccak_hmac_set_key.o\
+ libkeccak_hmac_unmarshal.o\
+ libkeccak_hmac_update.o\
+ libkeccak_hmac_wipe.o\
+ libkeccak_state_copy.o\
+ libkeccak_state_initialise.o\
+ libkeccak_state_marshal.o\
+ libkeccak_state_unmarshal.o\
+ libkeccak_state_unmarshal_skip.o\
+ libkeccak_state_wipe.o\
+ libkeccak_state_wipe_message.o\
+ libkeccak_state_wipe_sponge.o\
+ libkeccak_unhex.o
HDR =\
libkeccak.h\
@@ -154,7 +170,8 @@ uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.a"
-rm -rf -- "$(DESTDIR)$(PREFIX)/include/libkeccak"
-rm -f -- "$(DESTDIR)$(PREFIX)/include/libkeccak.h"
- -cd -- "$(DESTDIR)$(MANPREFIX)" && rm -f -- $(MAN3) $(MAN7)
+ -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3)
+ -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7)
-rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/libkeccak"
clean: