aboutsummaryrefslogtreecommitdiff
path: root/sw/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-23 13:42:05 -0400
committerRob Austein <sra@hactrn.net>2016-06-23 13:42:05 -0400
commit31ef2cff92b2dc6781e6549e07ab99a2b99a9fdb (patch)
tree66b0d2d735ddd053eeeb7b8d111e0d058ab74976 /sw/Makefile
parentbeca9ece1b3a9f47d81b98f06fc4b0180704cabe (diff)
Whack with club until builds under pbuilder for Debian Jessie and Ubuntu Xenial.
Drop use of private sqlite3 library, probably not needed anywhere, certainly not on Debian or Ubuntu. Handling of version number of shared library (libpkcs11.so.N) is wrong, right now we just use .0, need to sort out where that version number comes from in this wonderful multi-repository universe.
Diffstat (limited to 'sw/Makefile')
-rw-r--r--sw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/Makefile b/sw/Makefile
index 4b494a6..9fd3c72 100644
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -1,17 +1,17 @@
# Makefile to build Debian package for Cryptech Alpha board software
all:
- cd thirdparty/sqlite3; ${MAKE}
cd thirdparty/libtfm; ${MAKE}
cd libhal; ${MAKE} daemon
cd pkcs11; ${MAKE}
clean distclean:
- for d in thirdparty/libtfm libhal thirdparty/sqlite3 pkcs11; do (cd $$d && ${MAKE} $@); done
+ for d in thirdparty/libtfm libhal pkcs11; do (cd $$d && ${MAKE} $@); done
install: all
install -m 644 -D pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so
install -D pkcs11/p11util ${DESTDIR}/usr/sbin/p11util
install -D libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd
+ ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0
# Might also want to install the firmware tarball, scripts to use it, ....