2015-10-11 01:54:03 +03:00
|
|
|
# $NetBSD: Makefile,v 1.26 2015/10/10 22:54:03 dholland Exp $
|
1994-11-14 07:57:16 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= xinstall
|
2015-06-17 18:34:08 +03:00
|
|
|
SRCS= xinstall.c getid.c metachar.c
|
1994-12-22 15:30:38 +03:00
|
|
|
MAN= install.1
|
2002-12-19 11:30:39 +03:00
|
|
|
|
2015-06-17 18:34:08 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.bin/make
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/make
|
|
|
|
|
2006-12-14 23:09:35 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.sbin/mtree
|
2015-06-15 19:33:38 +03:00
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/usr.sbin/mtree
|
2006-12-14 23:09:35 +03:00
|
|
|
|
2006-12-16 15:59:16 +03:00
|
|
|
.if (${HOSTPROG:U} == "")
|
2015-10-11 01:54:03 +03:00
|
|
|
CPPFLAGS+= -DHAVE_POSIX_SPAWN
|
2006-12-16 15:59:16 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
2006-12-14 23:09:35 +03:00
|
|
|
LDADD+= -lutil
|
2006-12-16 15:59:16 +03:00
|
|
|
.endif
|
|
|
|
|
2011-08-17 18:00:30 +04:00
|
|
|
COPTS.xinstall.c += -Wno-format-nonliteral
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-03-25 00:57:01 +03:00
|
|
|
PROGNAME=install
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|