hammer2 - Allow @LABEL to be omitted
[dragonfly.git] / sbin / hammer / Makefile
blobea119a2933104f998dce603cebd59b338b61fdb7
1 PROG= hammer
2 SRCS= hammer.c ondisk.c blockmap.c cache.c misc.c cycle.c \
3 cmd_show.c cmd_softprune.c cmd_history.c \
4 cmd_blockmap.c cmd_reblock.c cmd_rebalance.c \
5 cmd_synctid.c cmd_stats.c cmd_remote.c \
6 cmd_pfs.c cmd_snapshot.c cmd_mirror.c \
7 cmd_cleanup.c cmd_info.c cmd_version.c cmd_volume.c \
8 cmd_config.c cmd_recover.c cmd_dedup.c cmd_abort.c \
9 cmd_strip.c
10 MAN= hammer.8
12 CFLAGS+= -I${.CURDIR}/../../sys
13 LDADD= -lm -lutil -lhammer -lprivate_crypto
14 DPADD= ${LIBM} ${LIBUTIL} ${LIBHAMMER} ${LIBRECRYPTO}
15 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
17 .PATH: ${.CURDIR}/../../sys/libkern
18 SRCS+= crc32.c icrc32.c
20 .include <bsd.prog.mk>