f0ea8bc1b0afa28da8a46f5e2b716901a572f967
[dragonfly.git] / bin / cpdup / Makefile
1 PROG=   cpdup
2 SRCS=   cpdup.c hcproto.c hclink.c misc.c fsmid.c
3
4 .if defined(.FreeBSD)
5 CFLAGS += -D_ST_FLAGS_PRESENT_=1
6 WARNS?= 6
7 .endif
8
9 .if defined(BOOTSTRAPPING)
10 # For boostrapping buildworld the md5 functionality is not needed
11 CFLAGS+=-DNOMD5
12 .else
13 .if !defined(NOMD5)
14 SRCS+=  md5.c
15 .endif
16
17 # XXX sys/md5.h shim errata for bootstrap REMOVE_OPENSSL_FILES
18 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv
19
20 LDADD+= -lmd
21 DPADD+= ${LIBMD}
22 .endif
23
24 .include <bsd.prog.mk>
25