1CRYPTSETUP_DIR= ${.CURDIR}/../../../contrib/cryptsetup 2 3CRYPTSETUP_SRCDIR= ${CRYPTSETUP_DIR}/src 4CRYPTSETUP_LUKSDIR= ${CRYPTSETUP_DIR}/luks 5CRYPTSETUP_LIBDIR= ${CRYPTSETUP_DIR}/lib 6.PATH: ${CRYPTSETUP_DIR}/man 7 8PROG= cryptsetup 9 10# Add a backend... 11SRCS+= backends.c libdevmapper.c setup.c utils.c \ 12 utils_debug.c 13 14SRCS+= af.c hexprint.c keyencryption.c keymanage.c \ 15 pbkdf.c random.c 16 17SRCS+= cryptsetup.c 18 19MAN= cryptsetup.8 20 21#CFLAGS+= -D_XOPEN_SOURCE=600 22CFLAGS+= -I${CRYPTSETUP_SRCDIR} -I${CRYPTSETUP_LIBDIR} \ 23 -I${CRYPTSETUP_LUKSDIR} -I. -I${CRYPTSETUP_DIR} 24 25LDADD+= -L${.CURDIR}/../../lib/libdevmapper -ldevmapper 26DPADD+= ${.CURDIR}/../../lib/libdevmapper/libdevmapper.a 27 28LDADD+= -lprop -lcrypto 29 30.PATH: ${CRYPTSETUP_SRCDIR} 31.PATH: ${CRYPTSETUP_LUKSDIR} 32.PATH: ${CRYPTSETUP_LIBDIR} 33 34.include <bsd.prog.mk> 35