1# @(#)Makefile 8.1 (Berkeley) 7/19/93 2# $FreeBSD$ 3 4CONFGROUPS= CONFETC CONFETCEXEC CONFETCDEFAULTS CONFTTYS 5CONFETCDIR= /etc 6CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown 7CONFETCMODE= 644 8CONFETCEXEC= netstart pccard_ether rc.resume rc.suspend 9CONFETCEXECDIR= /etc 10CONFETCEXECMODE= 755 11CONFETCDEFAULTSDIR= /etc/defaults 12CONFETCDEFAULTS= rc.conf 13PACKAGE=runtime 14PROG= init 15SRCS= init.c getmntopts.c 16MAN= init.8 17PRECIOUSPROG= 18INSTALLFLAGS=-b -B.bak 19CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT 20LIBADD= util crypt 21 22CONFTTYSNAME= ttys 23.if exists(${.CURDIR}/ttys.${MACHINE}) 24CONFTTYS+= ttys.${MACHINE} 25.elif exists(${.CURDIR}/ttys.${MACHINE_ARCH}) 26CONFTTYS+= ttys.${MACHINE_ARCH} 27.elif exists(${.CURDIR}/ttys.${MACHINE_CPUARCH}) 28CONFTTYS+= ttys.${MACHINE_CPUARCH} 29.else 30.error MACHINE.ttys missing 31.endif 32 33# Needed for getmntopts.c 34MOUNT= ${SRCTOP}/sbin/mount 35CFLAGS+=-I${MOUNT} 36.PATH: ${MOUNT} 37 38NO_SHARED?= YES 39 40SUBDIR+= rc.d 41 42.include <bsd.prog.mk> 43