blob: 1d8c89c631015cf7d491b48fd4536c1e3cd15123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= init
MAN8= init.8
BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
.else
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
.endif
.include <bsd.prog.mk>
.if exists(${.OBJDIR}/../../lib/libcrypt)
SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
.else
SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
.endif
.if exists (${.CURDIR}/../../secure)
.if exists(${.OBJDIR}/../../secure/lib/libcrypt)
DESCRYPTOBJDIR= ${.OBJDIR}/../../secure/lib/libcrypt
.else
DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
.endif
.endif
|