966f2a6f27
And simplify this a little by flattening the directory structure. Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D16955
43 lines
977 B
Makefile
43 lines
977 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $FreeBSD$
|
|
|
|
CONFGROUPS= CONFETC CONFETCEXEC CONFETCDEFAULTS CONFTTYS
|
|
CONFETCDIR= /etc
|
|
CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown
|
|
CONFETCMODE= 644
|
|
CONFETCEXEC= netstart pccard_ether rc.resume rc.suspend
|
|
CONFETCEXECDIR= /etc
|
|
CONFETCEXECMODE= 755
|
|
CONFETCDEFAULTSDIR= /etc/defaults
|
|
CONFETCDEFAULTS= rc.conf
|
|
PACKAGE=runtime
|
|
PROG= init
|
|
SRCS= init.c getmntopts.c
|
|
MAN= init.8
|
|
PRECIOUSPROG=
|
|
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}
|
|
.PATH: ${MOUNT}
|
|
|
|
NO_SHARED?= YES
|
|
|
|
SUBDIR+= rc.d
|
|
|
|
.include <bsd.prog.mk>
|