blob: 173efacff354c50a5608f3a6256bc319f78345df (
plain) (
tree)
|
|
# Source package makefile for Cryptech Alpha board software.
#
# This is, deliberately, a very simplified Makefile. for the most
# part we just want to do the bare minimum needed for whatever
# software packaging system we use to work. At least for the moment,
# the primary packaging system is Debian-based, so this is written
# to work in that environment. At some point we'll probably add
# Homebrew support for Mac OS X.
all:
${MAKE} -C sw/pkcs11
clean distclean:
${MAKE} -C sw/pkcs11 $@
install: all
install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz
install -D -m 644 sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so
ln -s libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so.0
install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util
install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/sbin/cryptech_rpcd
install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/sbin/cryptech_upload
# Still need scripts to do something useful with the firmware tarball
|