aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-02 11:30:28 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-02 11:30:28 +0200
commit809cd3e1b51450de02fdd9ed9a5d7bfbc6b2ae61 (patch)
tree64fcdf32522622d14fc39ad12071c30643623060 /Makefile
parentinfo: m + tpindex + fnindex (diff)
downloadlibkeccak-809cd3e1b51450de02fdd9ed9a5d7bfbc6b2ae61.tar.gz
libkeccak-809cd3e1b51450de02fdd9ed9a5d7bfbc6b2ae61.tar.bz2
libkeccak-809cd3e1b51450de02fdd9ed9a5d7bfbc6b2ae61.tar.xz
attributes are gcc specific
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0b7008..0d27baa 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ lib: so a
.PHONY: so
so: bin/libkeccak.so.$(LIB_VERSION) bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so
-obj/libkeccak/%.o: src/libkeccak/%.c src/libkeccak.h src/libkeccak/*.h
+obj/libkeccak/%.o: src/libkeccak/%.c src/libkeccak.h src/libkeccak/*.h src/libkeccak/*/*.h
@mkdir -p $$(dirname $@)
$(CC) $(FLAGS) $(COPTIMISE) -fPIC -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
@@ -203,6 +203,7 @@ install-headers:
install -m644 -- src/libkeccak/hex.h "$(DESTDIR)$(INCLUDEDIR)/libkeccak/hex.h"
install -m644 -- src/libkeccak/spec.h "$(DESTDIR)$(INCLUDEDIR)/libkeccak/spec.h"
install -m644 -- src/libkeccak/state.h "$(DESTDIR)$(INCLUDEDIR)/libkeccak/state.h"
+ install -m644 -- src/libkeccak/internal.h "$(DESTDIR)$(INCLUDEDIR)/libkeccak/internal.h"
install -m644 -- src/libkeccak/mac/hmac.h "$(DESTDIR)$(INCLUDEDIR)/libkeccak/mac/hmac.h"
.PHONY: install-dynamic-lib
@@ -263,6 +264,7 @@ uninstall:
-rm -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/hex.h"
-rm -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/spec.h"
-rm -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/state.h"
+ -rm -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/internal.h"
-rm -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/mac/hmac.h"
-rmdir -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak/mac"
-rmdir -- "$(DESTDIR)$(INCLUDEDIR)/libkeccak"