diff options
| author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-12 12:57:11 +0200 |
|---|---|---|
| committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-12 12:59:56 +0200 |
| commit | 4f7b10f59b97b45d42577c4d6d33958d9565aef7 (patch) | |
| tree | 0f78a952c73985d7e2d852f90f7319a52db785de /userspace/Makefile | |
| parent | 8d2faf007636a936a5346426f6fe5c251a1255bb (diff) | |
| download | cryptodev-linux-4f7b10f59b97b45d42577c4d6d33958d9565aef7.tar.gz cryptodev-linux-4f7b10f59b97b45d42577c4d6d33958d9565aef7.tar.xz cryptodev-linux-4f7b10f59b97b45d42577c4d6d33958d9565aef7.zip | |
Initial additions to have PK encryption/decryption. Separated operations
on keys to read/write to prevent overwriting a key while using it. Several
other cleanups.
Diffstat (limited to 'userspace/Makefile')
| -rw-r--r-- | userspace/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/userspace/Makefile b/userspace/Makefile index 1a95ac7..fddefb3 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -1,9 +1,12 @@ -KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build +CC = gcc +CFLAGS = -Wall -g -O2 -hostprogs := setkey -setkey-objs := setkey.o +progs := ncr-setkey -all: $(hostprogs) +all: $(progs) + +ncr-setkey: setkey.c + $(CC) $(CFLAGS) $< -o $@ clean: - rm -f *.o *~ setkey + rm -f *.o *~ ncr-setkey |
