The kernel driver compiles and works fine. But cryptodev.h is now
[cryptodev-linux.git] / Makefile
blobfaab5f7a8d857b30062a369c83b9c051d03f4439
1 KERNEL_DIR = /lib/modules/$(shell uname -r)/build
3 cryptodev-objs = cryptodev_main.o cryptodev_cipher.o
5 obj-m += cryptodev.o
7 build:
8 make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules
10 install:
11 make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install
12 @echo "Installing cryptodev.h in /usr/include/crypto ..."
13 @install -D cryptodev.h /usr/include/crypto/cryptodev.h
15 clean:
16 make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean
17 rm -f $(hostprogs)
19 check:
20 KERNEL_DIR=$(KERNEL_DIR) make -C examples check