aboutsummaryrefslogtreecommitdiff
path: root/libhal/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-24 17:08:20 -0400
committerRob Austein <sra@hactrn.net>2016-06-24 17:08:20 -0400
commit129e802fd4e0ca73f9dbae7968331d055c3a97d1 (patch)
tree4bfc0592328844886a6a4693b053254f8f893527 /libhal/tests
parent8be614f02ddd5772582e375084ad0822524fd888 (diff)
VPATH build for libpkcs11.so, and first cut at libpkcs11.dylib for Mac OS X.
The Mac OS X build compiles, but is otherwise completely untested, and won't even be testable until cryptech_rpcd support configuring high-speed UARTs on Mac OS X (OS-specific voodoo).
Diffstat (limited to 'libhal/tests')
-rw-r--r--libhal/tests/GNUmakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/libhal/tests/GNUmakefile b/libhal/tests/GNUmakefile
new file mode 100644
index 0000000..e158ecf
--- /dev/null
+++ b/libhal/tests/GNUmakefile
@@ -0,0 +1,10 @@
+ifndef CRYPTECH_ROOT
+ CRYPTECH_ROOT := $(abspath ../../../..)
+endif
+
+TFMDIR := $(abspath ../../libtfm)
+
+vpath %.c ${CRYPTECH_ROOT}/sw/libhal/tests
+vpath %.h ${CRYPTECH_ROOT}/sw/libhal/tests:${LIBTFM_DIR}
+
+include ${CRYPTECH_ROOT}/sw/libhal/tests/GNUmakefile