1LIB= tcplay 2MAJ_VER= 2 3MIN_VER= 0 4SHLIB_MAJOR?= ${MAJ_VER} 5SHLIB_MINOR?= ${MIN_VER} 6WARNS?= 6 7MAN= tcplay.3 8 9MLINKS+= tcplay.3 tc_api_init.3 10MLINKS+= tcplay.3 tc_api_uninit.3 11MLINKS+= tcplay.3 tc_api_has.3 12MLINKS+= tcplay.3 tc_api_cipher_iterate.3 13MLINKS+= tcplay.3 tc_api_prf_iterate.3 14MLINKS+= tcplay.3 tc_api_task_init.3 15MLINKS+= tcplay.3 tc_api_task_uninit.3 16MLINKS+= tcplay.3 tc_api_task_set.3 17MLINKS+= tcplay.3 tc_api_task_do.3 18MLINKS+= tcplay.3 tc_api_task_info_get.3 19MLINKS+= tcplay.3 tc_api_task_get_error.3 20 21CFLAGS+= -DMAJ_VER=${MAJ_VER} -DMIN_VER=${MIN_VER} 22CFLAGS+= -D_FILE_OFFSET_BITS=64 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