1LIB= tcplay 2MAJ_VER= 3 3MIN_VER= 3 4SHLIB_MAJOR?= ${MAJ_VER} 5SHLIB_MINOR?= ${MIN_VER} 6MAN= tcplay.3 7 8MLINKS+= tcplay.3 tc_api_init.3 9MLINKS+= tcplay.3 tc_api_uninit.3 10MLINKS+= tcplay.3 tc_api_has.3 11MLINKS+= tcplay.3 tc_api_cipher_iterate.3 12MLINKS+= tcplay.3 tc_api_prf_iterate.3 13MLINKS+= tcplay.3 tc_api_task_init.3 14MLINKS+= tcplay.3 tc_api_task_uninit.3 15MLINKS+= tcplay.3 tc_api_task_set.3 16MLINKS+= tcplay.3 tc_api_task_do.3 17MLINKS+= tcplay.3 tc_api_task_info_get.3 18MLINKS+= tcplay.3 tc_api_task_get_error.3 19 20CFLAGS+= -DMAJ_VER=${MAJ_VER} -DMIN_VER=${MIN_VER} 21CFLAGS+= -D_FILE_OFFSET_BITS=64 22CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 23 24SRCS+= tcplay.c crc32.c safe_mem.c io.c hdr.c humanize.c 25SRCS+= crypto.c generic_xts.c 26SRCS+= crypto-dev.c pbkdf2-openssl.c 27SRCS+= tcplay_api.c 28 29INCS+= tcplay_api.h 30 31LDFLAGS+= -Wl,-version-script=${.CURDIR}/tcplay.map 32 33.include <bsd.lib.mk> 34