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