From 5ff4c5af715d098852d124de116d354ee10f4ea4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 11 Feb 2019 16:22:00 +0100 Subject: Split most .c files into one per function and flatten file hierarchy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3-70-g09d2