1#	@(#)Makefile	8.1 (Berkeley) 7/19/93
2# $FreeBSD$
3
4CONFGROUPS=	CONFTTYS
5PACKAGE=runtime
6PROG=	init
7SRCS=	init.c getmntopts.c
8MAN=	init.8
9PRECIOUSPROG=
10INSTALLFLAGS=-b -B.bak
11CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
12LIBADD=	util crypt
13
14CONFTTYSNAME=	ttys
15.if exists(${.CURDIR}/ttys.${MACHINE})
16CONFTTYS+=	ttys.${MACHINE}
17.elif exists(${.CURDIR}/ttys.${MACHINE_ARCH})
18CONFTTYS+=	ttys.${MACHINE_ARCH}
19.elif exists(${.CURDIR}/ttys.${MACHINE_CPUARCH})
20CONFTTYS+=	ttys.${MACHINE_CPUARCH}
21.else
22.error MACHINE.ttys missing
23.endif
24
25# Needed for getmntopts.c
26MOUNT=	${SRCTOP}/sbin/mount
27CFLAGS+=-I${MOUNT}
28.PATH:	${MOUNT}
29
30NO_SHARED?=	YES
31
32.include <bsd.prog.mk>
33