1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2018-10-17 16:49:11 +00:00
|
|
|
CONFGROUPS= CONFTTYS
|
2016-02-09 20:19:31 +00:00
|
|
|
PACKAGE=runtime
|
1994-05-26 06:35:07 +00:00
|
|
|
PROG= init
|
2015-11-08 17:33:48 +00:00
|
|
|
SRCS= init.c getmntopts.c
|
2001-03-26 14:33:27 +00:00
|
|
|
MAN= init.8
|
2004-11-03 18:01:21 +00:00
|
|
|
PRECIOUSPROG=
|
|
|
|
INSTALLFLAGS=-b -B.bak
|
1999-07-01 13:33:56 +00:00
|
|
|
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
2014-11-25 11:23:12 +00:00
|
|
|
LIBADD= util crypt
|
1999-08-05 09:13:57 +00:00
|
|
|
|
2018-09-04 15:48:13 +00:00
|
|
|
CONFTTYSNAME= ttys
|
|
|
|
.if exists(${.CURDIR}/ttys.${MACHINE})
|
|
|
|
CONFTTYS+= ttys.${MACHINE}
|
|
|
|
.elif exists(${.CURDIR}/ttys.${MACHINE_ARCH})
|
|
|
|
CONFTTYS+= ttys.${MACHINE_ARCH}
|
|
|
|
.elif exists(${.CURDIR}/ttys.${MACHINE_CPUARCH})
|
|
|
|
CONFTTYS+= ttys.${MACHINE_CPUARCH}
|
|
|
|
.else
|
|
|
|
.error MACHINE.ttys missing
|
|
|
|
.endif
|
|
|
|
|
2015-11-08 17:33:48 +00:00
|
|
|
# Needed for getmntopts.c
|
2017-03-04 11:33:01 +00:00
|
|
|
MOUNT= ${SRCTOP}/sbin/mount
|
2015-11-08 17:33:48 +00:00
|
|
|
CFLAGS+=-I${MOUNT}
|
|
|
|
.PATH: ${MOUNT}
|
|
|
|
|
2004-12-21 09:59:45 +00:00
|
|
|
NO_SHARED?= YES
|
2003-11-19 19:57:20 +00:00
|
|
|
|
1999-08-05 09:13:57 +00:00
|
|
|
.include <bsd.prog.mk>
|