diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-08-05 16:26:08 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 20:58:30 +0200 |
| commit | 112513a2c51b8f499abf830d9a238a94f0c9d994 (patch) | |
| tree | 1052217795b5d38d8e95c030e9b080346d88e8a7 /examples | |
| parent | b7bfe2ad020d3b11389ee91ffcd5a85a6750d0d0 (diff) | |
| download | cryptodev-linux-112513a2c51b8f499abf830d9a238a94f0c9d994.tar.gz cryptodev-linux-112513a2c51b8f499abf830d9a238a94f0c9d994.tar.xz cryptodev-linux-112513a2c51b8f499abf830d9a238a94f0c9d994.zip | |
Integrate examples/ncr_lib.c
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index 749a4b8..56b92b2 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,7 +1,8 @@ CC = gcc CFLAGS = -Wall -g -O2 +USERSPACE_LDFLAGS = -L../userspace -lcryptodev -progs := cipher hmac ncr pk speed +progs := cipher hmac ncr ncr_lib pk speed all: $(progs) @@ -17,11 +18,15 @@ hmac: hmac.c ncr: ncr.c $(CC) $(CFLAGS) $< -o $@ +ncr_lib: ncr_lib.c + $(CC) $(CFLAGS) $< $(USERSPACE_LDFLAGS) -o $@ + pk: pk.c $(CC) $(CFLAGS) $< -o $@ -L/usr/local/lib -lgnutls check: $(progs) ./ncr + LD_LIBRARY_PATH=../userspace ./ncr_lib ./pk ./cipher ./hmac |
