1TCPLAY_DIR= ${.CURDIR}/../../lib/libtcplay 2 3MAJ_VER= 2 4MIN_VER= 0 5 6PROG= tcplay 7MAN= tcplay.8 8WARNS?= 6 9 10SRCS+= tcplay.c crc32.c safe_mem.c io.c hdr.c humanize.c 11SRCS+= crypto.c generic_xts.c 12SRCS+= crypto-dev.c pbkdf2-openssl.c 13SRCS+= main.c 14 15LDADD= -ldm -lprop -lutil 16DPADD= ${LIBDM} ${LIBPROP} ${LIBUTIL} 17 18DPADD+= ${LIBRECRYPTO} 19LDADD+= -lprivate_crypto 20LDFLAGS+= -rpath /lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv 21CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 22 23CFLAGS+= -I${TCPLAY_DIR} 24CFLAGS+= -DMAJ_VER=${MAJ_VER} -DMIN_VER=${MIN_VER} 25CFLAGS+= -D_FILE_OFFSET_BITS=64 26 27.PATH: ${TCPLAY_DIR} 28 29.include <bsd.prog.mk> 30