kernel/LINT64: Fix comment.
[dragonfly.git] / sbin / hammer2 / Makefile
blob57249d916664d2cad0cdf44fffc78b20c0a02f40
1 PROG= hammer2
2 SRCS= main.c subs.c icrc.c
3 SRCS+= cmd_remote.c cmd_snapshot.c cmd_pfs.c
4 SRCS+= cmd_service.c cmd_leaf.c cmd_debug.c
5 SRCS+= cmd_rsa.c cmd_stat.c cmd_setcomp.c cmd_setcheck.c
6 SRCS+= cmd_bulkfree.c cmd_cleanup.c cmd_info.c cmd_destroy.c
7 SRCS+= print_inode.c
8 MAN= hammer2.8
9 #NOMAN= TRUE
10 DEBUG_FLAGS=-g
12 CFLAGS+= -DXXH_NAMESPACE=h2_
13 CFLAGS+= -I${.CURDIR}/../../sys
14 CFLAGS+= -pthread
15 LDADD= -ldmsg -lm -lutil
16 DPADD= ${LIBDMSG} ${LIBM} ${LIBUTIL}
18 DPADD+= ${LIBCRYPTO}
19 LDADD+= -lprivate_crypto
20 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
21 CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include
23 #.PATH: ${.CURDIR}/../../sys/libkern
24 #SRCS+= crc32.c
25 .PATH: ${.CURDIR}/../../sys/vfs/hammer2/xxhash
26 SRCS+= xxhash.c
28 .include <bsd.prog.mk>