aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/Makefile
blob: 9e91b8b210a08fbcd70686d7267d821799cb06d6 (plain) (blame)
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
26
27
#	@(#)Makefile	8.1 (Berkeley) 6/6/93

.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>