summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/Makefile
blob: fd95b97160fe5e49a7f700199c756438f8a208c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.include <src.opts.mk>

PACKAGE=	runtime

PROG=		xinstall
PROGNAME=	install
SRCS=		xinstall.c getid.c
MAN=		install.1

.PATH:		${SRCTOP}/contrib/mtree
CFLAGS+=	-I${SRCTOP}/contrib/mtree
CFLAGS+=	-I${SRCTOP}/lib/libnetbsd

LIBADD=		md
CFLAGS+=	-DWITH_MD5 -DWITH_RIPEMD160

.ifdef BOOTSTRAPPING
# For the bootstrap we disable copy_file_range()
CFLAGS+=	-DBOOTSTRAP_XINSTALL
.endif

HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests

.include <bsd.prog.mk>