aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-05-21 13:47:12 -0400
committerRob Austein <sra@hactrn.net>2015-05-21 13:47:12 -0400
commitf50805b30323155755393ac6639aaae1067452c1 (patch)
treefad5d3558ad64713b96673c104a6a84f36d72c72 /Makefile.in
parente2de6b1f6d220fc2481b19bd1ed203b493d2db18 (diff)
Add test harness: no useful tests yet, just the framework.
Add human-readable error strings for hal_error_t codes.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index b984151..bc60029 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
INC = cryptech.h
LIB = libcryptech.a
-OBJ = ${IO_OBJ} csprng.o hash.o aes_keywrap.o
+OBJ = ${IO_OBJ} csprng.o hash.o aes_keywrap.o errorstrings.o
IO_OBJ = ${IO_OBJ_@FPGA_BUS@}
IO_OBJ_EIM = hal_io_eim.o novena-eim.o
@@ -24,6 +24,9 @@ ${OBJ}: ${INC}
${LIB}: ${OBJ}
ar rcs $@ $^
+test: all
+ cd tests; ${MAKE} -k $@
+
install: ${LIB} ${INC}
install ${LIB} ${libdir}
install ${INC} ${includedir}
@@ -34,3 +37,13 @@ uninstall:
clean:
rm -f ${OBJ} ${LIB}
+ cd tests; ${MAKE} $@
+
+distclean: clean
+ cd tests; ${MAKE} $@
+ rm -f config.log config.status TAGS Makefile
+
+tags: TAGS
+
+TAGS: *.[ch]
+ etags $^