head	1.15;
access;
symbols
	perseant-exfatfs-base-20250801:1.15
	perseant-exfatfs-base-20240630:1.15
	perseant-exfatfs:1.15.0.48
	perseant-exfatfs-base:1.15
	cjep_sun2x:1.15.0.46
	cjep_sun2x-base:1.15
	cjep_staticlib_x-base1:1.15
	cjep_staticlib_x:1.15.0.44
	cjep_staticlib_x-base:1.15
	phil-wifi-20200421:1.15
	phil-wifi-20200411:1.15
	phil-wifi-20200406:1.15
	pgoyette-compat-merge-20190127:1.15
	pgoyette-compat-20190127:1.15
	pgoyette-compat-20190118:1.15
	pgoyette-compat-1226:1.15
	pgoyette-compat-1126:1.15
	pgoyette-compat-1020:1.15
	pgoyette-compat-0930:1.15
	pgoyette-compat-0906:1.15
	pgoyette-compat-0728:1.15
	pgoyette-compat-0625:1.15
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.15
	pgoyette-compat-0422:1.15
	pgoyette-compat-0415:1.15
	pgoyette-compat-0407:1.15
	pgoyette-compat-0330:1.15
	pgoyette-compat-0322:1.15
	pgoyette-compat-0315:1.15
	pgoyette-compat:1.15.0.42
	pgoyette-compat-base:1.15
	perseant-stdc-iso10646:1.15.0.40
	perseant-stdc-iso10646-base:1.15
	prg-localcount2-base3:1.15
	prg-localcount2-base2:1.15
	prg-localcount2-base1:1.15
	prg-localcount2:1.15.0.38
	prg-localcount2-base:1.15
	pgoyette-localcount-20170426:1.15
	bouyer-socketcan-base1:1.15
	pgoyette-localcount-20170320:1.15
	bouyer-socketcan:1.15.0.36
	bouyer-socketcan-base:1.15
	pgoyette-localcount-20170107:1.15
	pgoyette-localcount-20161104:1.15
	localcount-20160914:1.15
	pgoyette-localcount-20160806:1.15
	pgoyette-localcount-20160726:1.15
	pgoyette-localcount:1.15.0.34
	pgoyette-localcount-base:1.15
	netbsd-5-2-3-RELEASE:1.15
	netbsd-5-1-5-RELEASE:1.15
	yamt-pagecache-base9:1.15
	yamt-pagecache-tag8:1.15
	tls-earlyentropy:1.15.0.30
	tls-earlyentropy-base:1.15
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.15
	riastradh-drm2-base3:1.15
	netbsd-5-2-2-RELEASE:1.15
	netbsd-5-1-4-RELEASE:1.15
	netbsd-5-2-1-RELEASE:1.15
	netbsd-5-1-3-RELEASE:1.15
	agc-symver:1.15.0.32
	agc-symver-base:1.15
	tls-maxphys-base:1.15
	yamt-pagecache-base8:1.15
	netbsd-5-2:1.15.0.28
	yamt-pagecache-base7:1.15
	netbsd-5-2-RELEASE:1.15
	netbsd-5-2-RC1:1.15
	yamt-pagecache-base6:1.15
	yamt-pagecache-base5:1.15
	yamt-pagecache-base4:1.15
	netbsd-5-1-2-RELEASE:1.15
	netbsd-5-1-1-RELEASE:1.15
	yamt-pagecache-base3:1.15
	yamt-pagecache-base2:1.15
	yamt-pagecache:1.15.0.26
	yamt-pagecache-base:1.15
	bouyer-quota2-nbase:1.15
	bouyer-quota2:1.15.0.24
	bouyer-quota2-base:1.15
	matt-nb5-pq3:1.15.0.22
	matt-nb5-pq3-base:1.15
	netbsd-5-1:1.15.0.20
	netbsd-5-1-RELEASE:1.15
	netbsd-5-1-RC4:1.15
	netbsd-5-1-RC3:1.15
	netbsd-5-1-RC2:1.15
	netbsd-5-1-RC1:1.15
	netbsd-5-0-2-RELEASE:1.15
	netbsd-5-0-1-RELEASE:1.15
	jym-xensuspend-nbase:1.15
	netbsd-5-0:1.15.0.18
	netbsd-5-0-RELEASE:1.15
	netbsd-5-0-RC4:1.15
	netbsd-5-0-RC3:1.15
	netbsd-5-0-RC2:1.15
	jym-xensuspend:1.15.0.16
	jym-xensuspend-base:1.15
	netbsd-5-0-RC1:1.15
	netbsd-5:1.15.0.14
	netbsd-5-base:1.15
	yamt-pf42-base4:1.15
	yamt-pf42-base3:1.15
	hpcarm-cleanup-nbase:1.15
	yamt-pf42-base2:1.15
	yamt-pf42:1.15.0.12
	yamt-pf42-base:1.15
	mjf-devfs2:1.15.0.10
	mjf-devfs2-base:1.15
	keiichi-mipv6:1.15.0.8
	keiichi-mipv6-base:1.15
	mjf-devfs:1.15.0.6
	mjf-devfs-base:1.15
	cube-autoconf:1.15.0.4
	cube-autoconf-base:1.15
	hpcarm-cleanup:1.15.0.2
	hpcarm-cleanup-base:1.15
	netbsd-1-6-PATCH002-RELEASE:1.14
	netbsd-1-6-PATCH002:1.14
	netbsd-1-6-PATCH002-RC4:1.14
	netbsd-1-6-PATCH002-RC3:1.14
	netbsd-1-6-PATCH002-RC2:1.14
	netbsd-1-6-PATCH002-RC1:1.14
	netbsd-1-6-PATCH001:1.14
	netbsd-1-6-PATCH001-RELEASE:1.14
	netbsd-1-6-PATCH001-RC3:1.14
	netbsd-1-6-PATCH001-RC2:1.14
	netbsd-1-6-PATCH001-RC1:1.14
	netbsd-1-6-RELEASE:1.14
	netbsd-1-6-RC3:1.14
	netbsd-1-6-RC2:1.14
	netbsd-1-6-RC1:1.14
	netbsd-1-6:1.14.0.2
	netbsd-1-6-base:1.14
	netbsd-1-5-PATCH003:1.10.4.2
	netbsd-1-5-PATCH002:1.10.4.2
	netbsd-1-5-PATCH001:1.10.4.1
	netbsd-1-5-RELEASE:1.10.4.1
	netbsd-1-5-BETA2:1.10.4.1
	netbsd-1-5-BETA:1.10.4.1
	netbsd-1-4-PATCH003:1.6
	netbsd-1-5-ALPHA2:1.10
	netbsd-1-5:1.10.0.4
	netbsd-1-5-base:1.10
	minoura-xpg4dl:1.10.0.2
	minoura-xpg4dl-base:1.10
	netbsd-1-4-PATCH002:1.6
	wrstuden-devbsize-19991221:1.8
	wrstuden-devbsize:1.8.0.4
	wrstuden-devbsize-base:1.8
	comdex-fall-1999:1.8.0.2
	comdex-fall-1999-base:1.8
	netbsd-1-4-PATCH001:1.6
	netbsd-1-4-RELEASE:1.6
	netbsd-1-4:1.6.0.2
	netbsd-1-4-base:1.6
	netbsd-1-3-PATCH003:1.4.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.4.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.4.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.4.2.1
	netbsd-1-3-PATCH002:1.4.2.1
	netbsd-1-3-PATCH001:1.4.2.1
	netbsd-1-3-RELEASE:1.4.2.1
	netbsd-1-3-BETA:1.4.2.1
	netbsd-1-3:1.4.0.2
	netbsd-1-3-base:1.4
	netbsd-1-2-PATCH001:1.4
	netbsd-1-2-RELEASE:1.4
	netbsd-1-2-BETA:1.4
	netbsd-1-2-base:1.4
	netbsd-1-2:1.4.0.4
	netbsd-1-1-PATCH001:1.3
	netbsd-1-1-RELEASE:1.3
	netbsd-1-1:1.3.0.2
	netbsd-1-1-base:1.1.1.1
	GWR:1.1.1;
locks; strict;
comment	@# @;


1.15
date	2002.10.17.06.02.35;	author lukem;	state dead;
branches;
next	1.14;

1.14
date	2001.12.12.00.05.10;	author tv;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.05.01.17.27;	author jmc;	state Exp;
branches;
next	1.12;

1.12
date	2001.08.20.12.19.43;	author martin;	state Exp;
branches;
next	1.11;

1.11
date	2000.09.19.20.40.19;	author wrstuden;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.18.01.10.22;	author matt;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	2000.05.18.00.43.05;	author matt;	state Exp;
branches;
next	1.8;

1.8
date	99.06.21.01.19.36;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	99.05.19.04.17.49;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	99.02.13.02.54.18;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	97.10.22.01.42.36;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	96.03.27.04.48.40;	author scottr;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	95.10.13.18.35.17;	author gwr;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	95.10.13.18.10.17;	author gwr;	state Exp;
branches;
next	1.1;

1.1
date	95.10.08.23.08.47;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.10.4.1
date	2000.09.25.22.17.52;	author wrstuden;	state Exp;
branches;
next	1.10.4.2;

1.10.4.2
date	2001.07.29.20.32.29;	author he;	state Exp;
branches;
next	;

1.4.2.1
date	97.11.08.05.08.11;	author lukem;	state Exp;
branches;
next	;

1.3.2.1
date	95.10.13.18.35.17;	author gwr;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	95.10.13.18.35.18;	author gwr;	state Exp;
branches;
next	;

1.1.1.1
date	95.10.08.23.08.47;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Remove these, since platforms using the New Distrib World Order have
been building these using the basesrc Makefiles with SMALLPROG defined
for a while now.
@
text
@# $NetBSD: Makefile,v 1.14 2001/12/12 00:05:10 tv Exp $
# Build a "small init" (i.e. for boot media)

SRCDIR=		${.CURDIR}/../../../sbin/init

PROG=		init
NOMAN=		# defined

CPPFLAGS+=	-DLETS_GET_SMALL -I${SRCDIR}

# Need -lutil for: logout, logwtmp, login_tty
DPADD=		${LIBUTIL}
LDADD=		-lutil

.include <bsd.prog.mk>

.PATH:  ${SRCDIR}
.NOPATH: ${PROG}
@


1.14
log
@Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/10/05 01:17:27 jmc Exp $
@


1.13
log
@Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/08/20 12:19:43 martin Exp $
d4 1
a4 2
PROG=	init
MKMAN=	no
d6 2
a7 4
# Need -lutil for: logout, logwtmp, login_tty
DPADD=	${LIBUTIL}
LDADD=	-lutil
LDSTATIC?=-static
d9 1
a9 5
SRCDIR= ${.CURDIR}/../../../sbin/init
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
.if ${MACHINE_ARCH} != "sparc64"
DBG= -Os
.endif
d11 3
a13 1
all: ${PROG}
@


1.12
log
@Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/09/19 20:40:19 wrstuden Exp $
d15 1
a15 1
COPTS+= -Os
@


1.11
log
@Tell make not to look for init in its path. This prevents make from
replacing the init in src/sbin/init with the small init we make here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:22 matt Exp $
d14 1
d16 1
@


1.10
log
@Part II.  Link everything -static since that's what want for crunchgen
later on.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/05/18 00:43:05 matt Exp $
d21 1
@


1.10.4.1
log
@Merge in changes between revisions 1.10 and 1.11. Approved by thorpej.

Original log message:

Tell make not to look for init in its path. This prevents make from
replacing the init in src/sbin/init with the small init we make here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/09/19 20:40:19 wrstuden Exp $
a20 1
.NOPATH: ${PROG}
@


1.10.4.2
log
@Apply patch (requested by martin):
  Drop ``-Os'' on sparc64 due to toolchain issues.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10.4.1 2000/09/25 22:17:52 wrstuden Exp $
a13 1
.if ${MACHINE_ARCH} != "sparc64"
a14 1
.endif
@


1.9
log
@Compile things with -Os.  I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/06/21 01:19:36 cgd Exp $
d10 1
@


1.8
log
@dependencies on BSDSRCDIR should be _removed_, not introduced.  Use
paths relative to ${.CURDIR} instead.  Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/05/19 04:17:49 gwr Exp $
d13 1
@


1.7
log
@Things in distrib/utils need to know BSDSRCDIR anway,
so we might as well use it.  Lots simpler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/02/13 02:54:18 lukem Exp $
d11 1
a11 1
SRCDIR= ${BSDSRCDIR}/sbin/init
@


1.6
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1997/10/22 01:42:36 lukem Exp $
d11 1
a11 1
SRCDIR= ${.CURDIR}/../../../sbin/init
@


1.5
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1996/03/27 04:48:40 scottr Exp $
d5 1
a5 1
NOMAN=	
@


1.4
log
@Replace BSDSRCDIR use with relative paths.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:17 gwr Exp $
d12 1
a12 1
CFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
@


1.4.2.1
log
@pull up rev 1.5 (approved by thorpej)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1997/10/22 01:42:36 lukem Exp $
d12 1
a12 1
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
@


1.3
log
@Put .PATH later so SRCDIR is defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1995/10/13 18:10:17 gwr Exp $
d11 1
a11 1
SRCDIR= ${BSDSRCDIR}/sbin/init
@


1.3.2.1
log
@file Makefile was added on branch netbsd-1-1 on 1995-10-13 18:35:18 +0000
@
text
@d1 18
@


1.3.2.2
log
@Put .PATH later so SRCDIR is defined
@
text
@a0 18
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:17 gwr Exp $
# Build a "small init" (i.e. for boot media)

PROG=	init
NOMAN=	

# Need -lutil for: logout, logwtmp, login_tty
DPADD=	${LIBUTIL}
LDADD=	-lutil

SRCDIR= ${BSDSRCDIR}/sbin/init
CFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}

all: ${PROG}

.include <bsd.prog.mk>

.PATH:  ${SRCDIR}
@


1.2
log
@Minor cleanup
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1995/10/08 23:08:47 gwr Exp $
a13 2
.PATH:  ${SRCDIR}

d17 2
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
a11 1
SRCDIR=/usr/src/sbin/init
@


1.1.1.1
log
@Add some utilities all ports might use in a ramdisk root.
@
text
@@
