summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-10-03 19:22:17 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-02-28 03:05:38 -0900
commita5b5eba7f788bb77cf57f9c94f3474a2d439ab0b (patch)
tree278813d1b1a9024174531376d41a2ba04a3b27f6 /Makefile
parente4d1c93d85a5b86c04599bfc9f658308d741fd41 (diff)
New on disk format - encryption
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a3bf8d8e..bc0402c3 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,10 @@ else
LDFLAGS+=-flto
endif
-PKGCONFIG_LIBS="blkid uuid liburcu"
+PKGCONFIG_LIBS="blkid uuid liburcu libsodium"
CFLAGS+=`pkg-config --cflags ${PKGCONFIG_LIBS}`
-LDLIBS+=`pkg-config --libs ${PKGCONFIG_LIBS}` -lm -lpthread -lrt
+LDLIBS+=`pkg-config --libs ${PKGCONFIG_LIBS}` \
+ -lm -lpthread -lrt -lscrypt -lkeyutils
ifeq ($(PREFIX),/usr)
ROOT_SBINDIR=/sbin
@@ -48,7 +49,9 @@ OBJS=bcache.o \
cmd_fs.o \
cmd_fsck.o \
cmd_format.o \
+ cmd_key.o \
cmd_run.o \
+ crypto.o \
libbcache.o \
qcow2.o \
tools-util.o \