1CRYPTSETUP_DIR= ${.CURDIR}/../../../contrib/cryptsetup 2 3PROG= cryptsetup 4 5.PATH: ${CRYPTSETUP_DIR}/src 6CFLAGS+= -I${CRYPTSETUP_DIR}/src 7SRCS= cryptsetup.c 8 9.PATH: ${CRYPTSETUP_DIR}/luks 10CFLAGS+= -I${CRYPTSETUP_DIR}/luks 11SRCS+= af.c hexprint.c keyencryption.c keymanage.c \ 12 pbkdf.c random.c 13 14.PATH: ${CRYPTSETUP_DIR}/lib 15CFLAGS+= -I${CRYPTSETUP_DIR}/lib 16SRCS+= backends.c libdevmapper.c setup.c utils.c \ 17 utils_debug.c 18 19.PATH: ${CRYPTSETUP_DIR}/man 20MAN= cryptsetup.8 21 22CFLAGS+= -I. -I${CRYPTSETUP_DIR} -D_BSD_SOURCE 23 24DPADD+= ${LIBDM} ${LIBPROP} 25LDADD+= -ldm -lprop 26 27DPADD+= ${LIBCRYPTO} 28LDADD+= -lprivate_crypto 29LDFLAGS+= ${PRIVATELIB_LDFLAGS} 30CFLAGS+= -I${.CURDIR}/../../../crypto/libressl/include 31 32.include <bsd.prog.mk> 33