nrelease - fix/improve livecd
[dragonfly.git] / sbin / hammer / Makefile
1 PROG=   hammer
2 SRCS=   hammer.c ondisk.c blockmap.c cache.c misc.c cycle.c uuid.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
11
12 CFLAGS+= -I${.CURDIR}/../../sys
13 CFLAGS+=        ${PRIVATELIB_CFLAGS}
14 DPADD=          ${LIBM} ${LIBUTIL} ${LIBHAMMER} ${LIBCRYPTO}
15 LDADD=          -lm -lutil -lhammer -lprivate_crypto
16 LDFLAGS+=       ${PRIVATELIB_LDFLAGS}
17
18 .PATH: ${.CURDIR}/../../sys/libkern
19 SRCS+= crc32.c icrc32.c
20
21 .include <bsd.prog.mk>