diff options
Diffstat (limited to 'sbin/init/Makefile')
| -rw-r--r-- | sbin/init/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile index 9a40f77598a0..5f0b7bce91d7 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 # $FreeBSD$ -CONFGROUPS= CONFETC CONFETCEXEC CONFETCDEFAULTS +CONFGROUPS= CONFETC CONFETCEXEC CONFETCDEFAULTS CONFTTYS CONFETCDIR= /etc CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown CONFETCMODE= 644 @@ -19,6 +19,17 @@ INSTALLFLAGS=-b -B.bak CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT LIBADD= util crypt +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 + # Needed for getmntopts.c MOUNT= ${SRCTOP}/sbin/mount CFLAGS+=-I${MOUNT} |
