9d04c193d2
Also, fix mk files for cross compilation.
23 lines
417 B
Makefile
23 lines
417 B
Makefile
# $NetBSD: Makefile,v 1.22 2011/08/17 14:00:30 christos Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= xinstall
|
|
SRCS= xinstall.c getid.c
|
|
MAN= install.1
|
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.sbin/mtree
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/usr.sbin/mtree
|
|
|
|
.if (${HOSTPROG:U} == "")
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.endif
|
|
|
|
COPTS.xinstall.c += -Wno-format-nonliteral
|
|
|
|
|
|
PROGNAME=install
|
|
|
|
.include <bsd.prog.mk>
|