2014-06-05 15:00:14 +00:00
|
|
|
include ../common.mk
|
|
|
|
|
|
|
|
|
|
|
|
doc:
|
|
|
|
doxygen
|
|
|
|
|
|
|
|
doc-pdf: doc
|
|
|
|
$(MAKE) -C latex pdf
|
|
|
|
|
|
|
|
install:
|
|
|
|
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
|
|
|
|
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
2014-06-05 16:14:18 +00:00
|
|
|
$(INSTALL) decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
|
|
|
|
$(INSTALL) encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
|
|
|
|
$(INSTALL) keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
|
|
|
|
$(INSTALL) rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
|
2014-06-05 15:00:14 +00:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
2014-06-05 16:14:18 +00:00
|
|
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
|
|
|
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
|
|
|
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
|
|
|
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
|
2014-06-05 15:00:14 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf html/ latex/
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: clean doc doc-pdf install uninstall
|
|
|
|
|