2020-10-30 23:05:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.29 2020/10/30 20:05:00 rillig 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
|
2020-10-30 23:05:00 +03:00
|
|
|
SRCS= xinstall.c getid.c
|
1994-12-22 15:30:38 +03:00
|
|
|
MAN= install.1
|
2002-12-19 11:30:39 +03:00
|
|
|
|
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
|
|
|
|
|
1997-03-25 00:57:01 +03:00
|
|
|
PROGNAME=install
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2020-09-07 03:26:23 +03:00
|
|
|
CWARNFLAGS.gcc+= ${GCC_NO_FORMAT_TRUNCATION}
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|