head	1.31;
access;
symbols
	netbsd-11-0-RC4:1.31
	netbsd-11-0-RC3:1.31
	netbsd-11-0-RC2:1.31
	netbsd-11-0-RC1:1.31
	perseant-exfatfs-base-20250801:1.31
	netbsd-11:1.31.0.4
	netbsd-11-base:1.31
	netbsd-10-1-RELEASE:1.29
	perseant-exfatfs-base-20240630:1.31
	perseant-exfatfs:1.31.0.2
	perseant-exfatfs-base:1.31
	netbsd-8-3-RELEASE:1.26
	netbsd-9-4-RELEASE:1.26
	netbsd-10-0-RELEASE:1.29
	netbsd-10-0-RC6:1.29
	netbsd-10-0-RC5:1.29
	netbsd-10-0-RC4:1.29
	netbsd-10-0-RC3:1.29
	netbsd-10-0-RC2:1.29
	netbsd-10-0-RC1:1.29
	netbsd-10:1.29.0.6
	netbsd-10-base:1.29
	netbsd-9-3-RELEASE:1.26
	cjep_sun2x-base1:1.29
	cjep_sun2x:1.29.0.4
	cjep_sun2x-base:1.29
	cjep_staticlib_x-base1:1.29
	netbsd-9-2-RELEASE:1.26
	cjep_staticlib_x:1.29.0.2
	cjep_staticlib_x-base:1.29
	netbsd-9-1-RELEASE:1.26
	phil-wifi-20200421:1.26
	phil-wifi-20200411:1.26
	is-mlppp:1.26.0.20
	is-mlppp-base:1.26
	phil-wifi-20200406:1.26
	netbsd-8-2-RELEASE:1.26
	netbsd-9-0-RELEASE:1.26
	netbsd-9-0-RC2:1.26
	netbsd-9-0-RC1:1.26
	phil-wifi-20191119:1.26
	netbsd-9:1.26.0.18
	netbsd-9-base:1.26
	phil-wifi-20190609:1.26
	netbsd-8-1-RELEASE:1.26
	netbsd-8-1-RC1:1.26
	pgoyette-compat-merge-20190127:1.26
	pgoyette-compat-20190127:1.26
	pgoyette-compat-20190118:1.26
	pgoyette-compat-1226:1.26
	pgoyette-compat-1126:1.26
	pgoyette-compat-1020:1.26
	pgoyette-compat-0930:1.26
	pgoyette-compat-0906:1.26
	netbsd-7-2-RELEASE:1.22
	pgoyette-compat-0728:1.26
	netbsd-8-0-RELEASE:1.26
	phil-wifi:1.26.0.16
	phil-wifi-base:1.26
	pgoyette-compat-0625:1.26
	netbsd-8-0-RC2:1.26
	pgoyette-compat-0521:1.26
	pgoyette-compat-0502:1.26
	pgoyette-compat-0422:1.26
	netbsd-8-0-RC1:1.26
	pgoyette-compat-0415:1.26
	pgoyette-compat-0407:1.26
	pgoyette-compat-0330:1.26
	pgoyette-compat-0322:1.26
	pgoyette-compat-0315:1.26
	netbsd-7-1-2-RELEASE:1.22
	pgoyette-compat:1.26.0.14
	pgoyette-compat-base:1.26
	netbsd-7-1-1-RELEASE:1.22
	matt-nb8-mediatek:1.26.0.12
	matt-nb8-mediatek-base:1.26
	perseant-stdc-iso10646:1.26.0.10
	perseant-stdc-iso10646-base:1.26
	netbsd-8:1.26.0.8
	netbsd-8-base:1.26
	prg-localcount2-base3:1.26
	prg-localcount2-base2:1.26
	prg-localcount2-base1:1.26
	prg-localcount2:1.26.0.6
	prg-localcount2-base:1.26
	pgoyette-localcount-20170426:1.26
	bouyer-socketcan-base1:1.26
	pgoyette-localcount-20170320:1.26
	netbsd-7-1:1.22.0.26
	netbsd-7-1-RELEASE:1.22
	netbsd-7-1-RC2:1.22
	netbsd-7-nhusb-base-20170116:1.22
	bouyer-socketcan:1.26.0.4
	bouyer-socketcan-base:1.26
	pgoyette-localcount-20170107:1.26
	netbsd-7-1-RC1:1.22
	pgoyette-localcount-20161104:1.26
	netbsd-7-0-2-RELEASE:1.22
	localcount-20160914:1.26
	netbsd-7-nhusb:1.22.0.24
	netbsd-7-nhusb-base:1.22
	pgoyette-localcount-20160806:1.26
	pgoyette-localcount-20160726:1.26
	pgoyette-localcount:1.26.0.2
	pgoyette-localcount-base:1.26
	netbsd-7-0-1-RELEASE:1.22
	netbsd-7-0:1.22.0.22
	netbsd-7-0-RELEASE:1.22
	netbsd-7-0-RC3:1.22
	netbsd-7-0-RC2:1.22
	netbsd-7-0-RC1:1.22
	netbsd-5-2-3-RELEASE:1.21
	netbsd-5-1-5-RELEASE:1.21
	netbsd-6-0-6-RELEASE:1.22
	netbsd-6-1-5-RELEASE:1.22
	netbsd-7:1.22.0.20
	netbsd-7-base:1.22
	yamt-pagecache-base9:1.22
	yamt-pagecache-tag8:1.22
	netbsd-6-1-4-RELEASE:1.22
	netbsd-6-0-5-RELEASE:1.22
	tls-earlyentropy:1.22.0.18
	tls-earlyentropy-base:1.22
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.22
	riastradh-drm2-base3:1.22
	netbsd-6-1-3-RELEASE:1.22
	netbsd-6-0-4-RELEASE:1.22
	netbsd-5-2-2-RELEASE:1.21
	netbsd-5-1-4-RELEASE:1.21
	netbsd-6-1-2-RELEASE:1.22
	netbsd-6-0-3-RELEASE:1.22
	netbsd-5-2-1-RELEASE:1.21
	netbsd-5-1-3-RELEASE:1.21
	netbsd-6-1-1-RELEASE:1.22
	riastradh-drm2-base2:1.22
	riastradh-drm2-base1:1.22
	riastradh-drm2:1.22.0.12
	riastradh-drm2-base:1.22
	netbsd-6-1:1.22.0.16
	netbsd-6-0-2-RELEASE:1.22
	netbsd-6-1-RELEASE:1.22
	netbsd-6-1-RC4:1.22
	netbsd-6-1-RC3:1.22
	agc-symver:1.22.0.14
	agc-symver-base:1.22
	netbsd-6-1-RC2:1.22
	netbsd-6-1-RC1:1.22
	yamt-pagecache-base8:1.22
	netbsd-5-2:1.21.0.34
	netbsd-6-0-1-RELEASE:1.22
	yamt-pagecache-base7:1.22
	netbsd-5-2-RELEASE:1.21
	netbsd-5-2-RC1:1.21
	matt-nb6-plus-nbase:1.22
	yamt-pagecache-base6:1.22
	netbsd-6-0:1.22.0.10
	netbsd-6-0-RELEASE:1.22
	netbsd-6-0-RC2:1.22
	tls-maxphys:1.22.0.8
	tls-maxphys-base:1.22
	matt-nb6-plus:1.22.0.6
	matt-nb6-plus-base:1.22
	netbsd-6-0-RC1:1.22
	yamt-pagecache-base5:1.22
	yamt-pagecache-base4:1.22
	netbsd-6:1.22.0.4
	netbsd-6-base:1.22
	netbsd-5-1-2-RELEASE:1.21
	netbsd-5-1-1-RELEASE:1.21
	yamt-pagecache-base3:1.22
	yamt-pagecache-base2:1.22
	yamt-pagecache:1.22.0.2
	yamt-pagecache-base:1.22
	cherry-xenmp:1.21.0.32
	cherry-xenmp-base:1.21
	bouyer-quota2-nbase:1.21
	bouyer-quota2:1.21.0.30
	bouyer-quota2-base:1.21
	matt-mips64-premerge-20101231:1.21
	matt-nb5-mips64-premerge-20101231:1.21
	matt-nb5-pq3:1.21.0.28
	matt-nb5-pq3-base:1.21
	netbsd-5-1:1.21.0.26
	netbsd-5-1-RELEASE:1.21
	netbsd-5-1-RC4:1.21
	matt-nb5-mips64-k15:1.21
	netbsd-5-1-RC3:1.21
	netbsd-5-1-RC2:1.21
	netbsd-5-1-RC1:1.21
	netbsd-5-0-2-RELEASE:1.21
	matt-nb5-mips64-premerge-20091211:1.21
	matt-premerge-20091211:1.21
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.21
	matt-nb4-mips64-k7-u2a-k9b:1.21
	matt-nb5-mips64-u1-k1-k5:1.21
	matt-nb5-mips64:1.21.0.24
	netbsd-5-0-1-RELEASE:1.21
	jym-xensuspend-nbase:1.21
	netbsd-5-0:1.21.0.22
	netbsd-5-0-RELEASE:1.21
	netbsd-5-0-RC4:1.21
	netbsd-5-0-RC3:1.21
	netbsd-5-0-RC2:1.21
	jym-xensuspend:1.21.0.20
	jym-xensuspend-base:1.21
	netbsd-5-0-RC1:1.21
	netbsd-5:1.21.0.18
	netbsd-5-base:1.21
	matt-mips64-base2:1.21
	matt-mips64:1.21.0.16
	mjf-devfs2:1.21.0.14
	mjf-devfs2-base:1.21
	netbsd-4-0-1-RELEASE:1.19
	wrstuden-revivesa-base-3:1.21
	wrstuden-revivesa-base-2:1.21
	wrstuden-fixsa-newbase:1.19
	wrstuden-revivesa-base-1:1.21
	yamt-pf42-base4:1.21
	yamt-pf42-base3:1.21
	hpcarm-cleanup-nbase:1.21
	yamt-pf42-baseX:1.21
	yamt-pf42-base2:1.21
	wrstuden-revivesa:1.21.0.12
	wrstuden-revivesa-base:1.21
	yamt-pf42:1.21.0.10
	yamt-pf42-base:1.21
	keiichi-mipv6-nbase:1.21
	keiichi-mipv6:1.21.0.8
	keiichi-mipv6-base:1.21
	matt-armv6-nbase:1.21
	matt-armv6-prevmlocking:1.21
	wrstuden-fixsa-base-1:1.19
	netbsd-4-0:1.19.0.22
	netbsd-4-0-RELEASE:1.19
	cube-autoconf:1.21.0.6
	cube-autoconf-base:1.21
	netbsd-4-0-RC5:1.19
	netbsd-4-0-RC4:1.19
	netbsd-4-0-RC3:1.19
	netbsd-4-0-RC2:1.19
	netbsd-4-0-RC1:1.19
	matt-armv6:1.21.0.4
	matt-armv6-base:1.21
	matt-mips64-base:1.21
	hpcarm-cleanup:1.21.0.2
	hpcarm-cleanup-base:1.21
	netbsd-3-1-1-RELEASE:1.19
	netbsd-3-0-3-RELEASE:1.19
	wrstuden-fixsa:1.19.0.20
	wrstuden-fixsa-base:1.19
	abandoned-netbsd-4-base:1.19
	abandoned-netbsd-4:1.19.0.14
	netbsd-3-1:1.19.0.16
	netbsd-3-1-RELEASE:1.19
	netbsd-3-0-2-RELEASE:1.19
	netbsd-3-1-RC4:1.19
	netbsd-3-1-RC3:1.19
	netbsd-3-1-RC2:1.19
	netbsd-3-1-RC1:1.19
	netbsd-4:1.19.0.18
	netbsd-4-base:1.19
	chap-midi-nbase:1.19
	netbsd-3-0-1-RELEASE:1.19
	chap-midi:1.19.0.12
	chap-midi-base:1.19
	netbsd-3-0:1.19.0.10
	netbsd-3-0-RELEASE:1.19
	netbsd-3-0-RC6:1.19
	netbsd-3-0-RC5:1.19
	netbsd-3-0-RC4:1.19
	netbsd-3-0-RC3:1.19
	netbsd-3-0-RC2:1.19
	netbsd-3-0-RC1:1.19
	netbsd-2-0-3-RELEASE:1.19
	netbsd-2-1:1.19.0.8
	netbsd-2-1-RELEASE:1.19
	netbsd-2-1-RC6:1.19
	netbsd-2-1-RC5:1.19
	netbsd-2-1-RC4:1.19
	netbsd-2-1-RC3:1.19
	netbsd-2-1-RC2:1.19
	netbsd-2-1-RC1:1.19
	netbsd-2-0-2-RELEASE:1.19
	netbsd-3:1.19.0.6
	netbsd-3-base:1.19
	netbsd-2-0-1-RELEASE:1.19
	netbsd-2:1.19.0.4
	netbsd-2-base:1.19
	netbsd-2-0-RELEASE:1.19
	netbsd-2-0-RC5:1.19
	netbsd-2-0-RC4:1.19
	netbsd-2-0-RC3:1.19
	netbsd-2-0-RC2:1.19
	netbsd-2-0-RC1:1.19
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	fvdl_fs64_base:1.18
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.2
	netbsd-1-6-base:1.16
	netbsd-1-5-PATCH003:1.14
	netbsd-1-5-PATCH002:1.14
	netbsd-1-5-PATCH001:1.14
	netbsd-1-5-RELEASE:1.14
	netbsd-1-5-BETA2:1.14
	netbsd-1-5-BETA:1.14
	netbsd-1-4-PATCH003:1.14
	netbsd-1-5-ALPHA2:1.14
	netbsd-1-5:1.14.0.10
	netbsd-1-5-base:1.14
	minoura-xpg4dl-base:1.14
	minoura-xpg4dl:1.14.0.8
	netbsd-1-4-PATCH002:1.14
	wrstuden-devbsize-19991221:1.14
	wrstuden-devbsize:1.14.0.6
	wrstuden-devbsize-base:1.14
	comdex-fall-1999:1.14.0.4
	comdex-fall-1999-base:1.14
	netbsd-1-4-PATCH001:1.14
	netbsd-1-4-RELEASE:1.14
	netbsd-1-4:1.14.0.2
	netbsd-1-4-base:1.14
	netbsd-1-3-PATCH003:1.13
	netbsd-1-3-PATCH003-CANDIDATE2:1.13
	netbsd-1-3-PATCH003-CANDIDATE1:1.13
	netbsd-1-3-PATCH003-CANDIDATE0:1.13
	netbsd-1-3-PATCH002:1.13
	netbsd-1-3-PATCH001:1.13
	netbsd-1-3-RELEASE:1.13
	netbsd-1-3-BETA:1.13
	netbsd-1-3:1.13.0.2
	netbsd-1-3-base:1.13
	netbsd-1-2-PATCH001:1.7
	netbsd-1-2-RELEASE:1.7
	netbsd-1-2-BETA:1.7
	netbsd-1-2:1.7.0.6
	netbsd-1-2-base:1.7
	netbsd-1-1-PATCH001:1.7
	netbsd-1-1-RELEASE:1.7
	netbsd-1-1:1.7.0.2
	netbsd-1-1-base:1.7
	lite-2:1.1.1.2
	netbsd-1-0-PATCH06:1.5
	netbsd-1-0-PATCH05:1.5
	netbsd-1-0-PATCH04:1.5
	lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-1-0-PATCH03:1.5
	netbsd-1-0-PATCH02:1.5
	netbsd-1-0-PATCH1:1.5
	netbsd-1-0-PATCH0:1.5
	netbsd-1-0-RELEASE:1.5
	netbsd-1-0:1.5.0.2
	netbsd-1-0-base:1.5
	netbsd-0-9-RELEASE:1.4
	netbsd-0-9-BETA:1.4
	netbsd-0-9-ALPHA2:1.4
	netbsd-0-9-ALPHA:1.4
	netbsd-0-9:1.4.0.2
	netbsd-0-9-base:1.4
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2023.07.20.16.21.23;	author lukem;	state Exp;
branches;
next	1.30;
commitid	rIyP3X7l1acxLyxE;

1.30
date	2023.06.03.09.09.19;	author lukem;	state Exp;
branches;
next	1.29;
commitid	aBaIRnuykonRStrE;

1.29
date	2020.10.30.20.05.00;	author rillig;	state Exp;
branches;
next	1.28;
commitid	4x7zLbCsmzbvTXtC;

1.28
date	2020.09.29.12.04.48;	author roy;	state Exp;
branches;
next	1.27;
commitid	2tKHmEdJWwkfgWpC;

1.27
date	2020.09.07.00.26.24;	author mrg;	state Exp;
branches;
next	1.26;
commitid	DH6Hgo8pezqo63nC;

1.26
date	2015.10.10.22.54.03;	author dholland;	state Exp;
branches;
next	1.25;
commitid	qiqxK9ZFmcgVdCEy;

1.25
date	2015.06.17.15.34.08;	author christos;	state Exp;
branches;
next	1.24;
commitid	Sa36O3S2i39fuNpy;

1.24
date	2015.06.15.16.33.38;	author christos;	state Exp;
branches;
next	1.23;
commitid	4N5oBJdmDTQrSxpy;

1.23
date	2015.06.15.07.05.09;	author martin;	state Exp;
branches;
next	1.22;
commitid	9YU56Py1qNGzJupy;

1.22
date	2011.08.17.14.00.30;	author christos;	state Exp;
branches;
next	1.21;

1.21
date	2006.12.16.12.59.17;	author bouyer;	state Exp;
branches;
next	1.20;

1.20
date	2006.12.14.20.09.36;	author he;	state Exp;
branches;
next	1.19;

1.19
date	2003.05.18.07.57.37;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2002.12.19.08.30.39;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2002.09.18.14.00.44;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	2002.01.21.20.00.02;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.14.10.18.26;	author tv;	state Exp;
branches;
next	1.14;

1.14
date	98.10.10.07.38.22;	author mrg;	state Exp;
branches;
next	1.13;

1.13
date	97.05.08.21.12.02;	author gwr;	state Exp;
branches;
next	1.12;

1.12
date	97.05.06.20.45.56;	author gwr;	state Exp;
branches;
next	1.11;

1.11
date	97.03.24.22.00.05;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	97.03.12.18.13.17;	author mycroft;	state Exp;
branches;
next	1.9;

1.9
date	96.12.09.20.03.19;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	96.10.18.06.25.09;	author thorpej;	state Exp;
branches;
next	1.7;

1.7
date	94.12.22.12.31.39;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	94.11.14.04.57.16;	author jtc;	state Exp;
branches;
next	1.5;

1.5
date	93.07.30.22.14.18;	author mycroft;	state Exp;
branches;
next	1.4;

1.4
date	93.07.18.19.06.45;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.04.26.03.26.55;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.04.09.09.47.42;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.11.12.08.52.02;	author jtc;	state Exp;
branches;
next	;


desc
@@


1.31
log
@tools: binstall can use posix_spawn() instead of vfork()
@
text
@#	$NetBSD: Makefile,v 1.30 2023/06/03 09:09:19 lukem 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

CWARNFLAGS.gcc+=	${CC_WNO_FORMAT_TRUNCATION}

.include <bsd.prog.mk>
@


1.30
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2020/10/30 20:05:00 rillig Exp $
a13 1
CPPFLAGS+=	-DHAVE_POSIX_SPAWN
@


1.29
log
@install(1): copy metachar table from usr.bin/make

It is not worth having a dependency on usr.bin/make just for including
this small table.  The header file usr.bin/make/make.h, which is
included for consistency with the rest of the usr.bin/make code, is
using inline functions a lot and refers to several parts of make that
are completely irrelevant to usr.bin/install.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2020/09/29 12:04:48 roy Exp $
d23 1
a23 1
CWARNFLAGS.gcc+=	${GCC_NO_FORMAT_TRUNCATION}
@


1.28
log
@xinstall: define MAKE_NATIVE so our make parts compile
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2020/09/07 00:26:24 mrg Exp $
d7 1
a7 1
SRCS=	xinstall.c getid.c metachar.c
a9 4
.PATH:		${NETBSDSRCDIR}/usr.bin/make
CPPFLAGS+=	-I${NETBSDSRCDIR}/usr.bin/make
CPPFLAGS+=	-DMAKE_NATIVE

@


1.27
log
@apply GCC_NO_ADDR_OF_PACKED_MEMBER
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2015/10/10 22:54:03 dholland Exp $
d12 1
@


1.26
log
@Don't assume HAVE_POSIX_SPAWN when building a host prog. From Joachim
Kuebart in PR 50301. needs pullup-7
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2015/06/17 15:34:08 christos Exp $
d24 1
d26 1
a26 1
PROGNAME=install
@


1.25
log
@Use the bourne shell if the after command has shell metachars.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2015/06/15 16:33:38 christos Exp $
a14 1
CPPFLAGS+=	-DHAVE_POSIX_SPAWN
d17 1
@


1.24
log
@- improve error printing
- deduplicate run functions and don't use the shell so that we handle
  filenames with spaces and metacharacters consistently.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2015/06/15 07:05:09 martin Exp $
d7 1
a7 1
SRCS=	xinstall.c getid.c
d10 3
@


1.23
log
@Add optional support for posix_spawn (instead of vfork) and enable it for
the in-tree build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2011/08/17 14:00:30 christos Exp $
d11 2
a12 1
CPPFLAGS+=	-I${NETBSDSRCDIR}/usr.sbin/mtree -DHAVE_POSIX_SPAWN
@


1.22
log
@document non-literal format strings
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2006/12/16 12:59:17 bouyer Exp $
d11 1
a11 1
CPPFLAGS+=	-I${NETBSDSRCDIR}/usr.sbin/mtree
@


1.21
log
@Don't depend on lubutil if we're building host tools. Fix tools build on
non-NetBSD hosts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2006/12/14 20:09:36 he Exp $
d18 2
@


1.20
log
@Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2003/05/18 07:57:37 lukem Exp $
d13 2
d16 2
a17 1
DPADD+=	${LIBUTIL}
@


1.19
log
@Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2002/12/19 08:30:39 lukem Exp $
d7 1
a7 1
SRCS=	${HOSTPROG:D:Ustat_flags.c} xinstall.c getid.c
d10 5
a14 2
.PATH:		${NETBSDSRCDIR}/bin/ls ${NETBSDSRCDIR}/usr.sbin/mtree
CPPFLAGS+=	-I${NETBSDSRCDIR}/bin/ls -I${NETBSDSRCDIR}/usr.sbin/mtree
@


1.18
log
@Add '-N dbdir', to specify that user & group lookups are to be done from
dbdir/master.passwd and dbdir/group, using simple text file parsing
routines from ../../usr.sbin/mtree/getid.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2002/09/18 14:00:44 lukem Exp $
a14 1
.ifndef HOSTPROG
a15 1
.endif
@


1.17
log
@makefile delint. use NETBSDSRCDIR as appropriate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2002/01/21 20:00:02 tv Exp $
d7 1
a7 1
SRCS=	${HOSTPROG:D:Ustat_flags.c} xinstall.c
d9 3
a11 2
.PATH:	${NETBSDSRCDIR}/bin/ls
CPPFLAGS+=	-I${NETBSDSRCDIR}/bin/ls
@


1.16
log
@Add non-NetBSD host hooks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/08/14 10:18:26 tv Exp $
d4 2
d9 2
a10 2
.PATH:	${.CURDIR}/../../bin/ls
CPPFLAGS+=	-I${.CURDIR}/../../bin/ls
@


1.15
log
@Add hooks to allow toolchain bits to be reachover-built at the top level.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1998/10/10 07:38:22 mrg Exp $
d5 1
a5 1
SRCS=	stat_flags.c xinstall.c
@


1.14
log
@create a "stat_flags.h" to go with stat_flags.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/05/08 21:12:02 gwr Exp $
d12 1
d14 1
@


1.13
log
@Back out the .PATH.c changes.  The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/05/06 20:45:56 gwr Exp $
d8 1
@


1.12
log
@Use .PATH.c: ...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/03/24 22:00:05 christos Exp $
d7 1
a7 1
.PATH.c: ${.CURDIR}/../../bin/ls
@


1.11
log
@- Makefile cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/03/12 18:13:17 mycroft Exp $
d7 1
a7 1
.PATH:	${.CURDIR}/../../bin/ls
@


1.10
log
@Remove kluge for GCC bug on m68k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1996/12/09 20:03:19 thorpej Exp $
d9 1
a9 3
realinstall:
	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${PROG} ${DESTDIR}${BINDIR}/install
@


1.9
log
@XXX Kludge to make this compile with large MAXBSIZE until the
XXX GCC bug it tickles is fixed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1996/10/18 06:25:09 thorpej Exp $
a7 4

.if (${MACHINE_ARCH} == "m68k")
CFLAGS+=-DXXX_BROKEN_GCC
.endif
@


1.8
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1994/12/22 12:31:39 cgd Exp $
d8 4
@


1.7
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1994/11/14 04:57:16 jtc Exp $
d10 1
a10 1
	install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.6
log
@Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err(),errx(),warn(),warnx().
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1993/07/30 22:14:18 mycroft Exp $
d6 1
a6 1
MAN1=	install.0
@


1.5
log
@Add RCS identifiers.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.5 (Berkeley) 6/24/90
#	$Id: $
d5 1
d7 1
a7 1
CLEANFILES=xinstall
a13 2


@


1.4
log
@Use ${COPY}, not -c for install.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.5 (Berkeley) 6/24/90
@


1.3
log
@Define `realinstall' target, not `install', and let bsd.prog.mk do dependencies.
@
text
@d8 1
a8 1
	install -c ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.2
log
@make install copy, rather than move, the binary.
@
text
@d7 1
a7 1
install: maninstall
@


1.1
log
@Initial revision
@
text
@d8 1
a8 1
	install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@imported from 4.4lite
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
a3 1
SRCS=	stat_flags.c xinstall.c
d5 1
a5 1
.PATH:	${.CURDIR}/../../bin/ls
d12 2
@
