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