hammer - Migration to libhammer (step 1/many)
[dragonfly.git] / sbin / hammer / Makefile
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 \
6         cmd_pseudofs.c cmd_snapshot.c cmd_mirror.c cmd_status.c \
7         cmd_cleanup.c cmd_info.c cmd_version.c cmd_volume.c \
8         cmd_config.c cmd_recover.c cmd_dedup.c
9 MAN=    hammer.8
10
11 CFLAGS+= -I${.CURDIR}/../../sys -DALIST_NO_DEBUG
12 LDADD=  -lm -lutil -lmd -lhammer
13 DPADD=  ${LIBM} ${LIBUTIL} ${LIBMD} ${LIBHAMMER}
14
15 .PATH: ${.CURDIR}/../../sys/libkern
16 SRCS+= crc32.c
17
18 .include <bsd.prog.mk>