pqc/include/Makefile

31 lines
785 B
Makefile

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
$(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
uninstall:
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
clean:
rm -rf html/ latex/
.PHONY: clean doc doc-pdf install uninstall