Signed-off-by: Cristian Stoica <cristian.sto...@nxp.com> --- tests/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile index 89f88fe..0238566 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -19,6 +19,10 @@ example-async-hmac-objs := async_hmac.o example-async-speed-objs := async_speed.o example-hashcrypt-speed-objs := hashcrypt_speed.c +prefix ?= /usr/local +execprefix ?= $(prefix) +bindir = $(execprefix)/bin + all: $(hostprogs) check: $(hostprogs) @@ -30,6 +34,12 @@ check: $(hostprogs) ./cipher-gcm ./cipher-aead +install: + install -d $(DESTDIR)/$(bindir) + for prog in $(hostprogs); do \ + install -m 755 $$prog $(DESTDIR)/$(bindir); \ + done + clean: rm -f *.o *~ $(hostprogs) -- 2.7.0 _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel