".if exists(${CURDIR}/../../secure)" rather than testing relative to the

object directory.
This commit is contained in:
David Nugent
1997-08-18 03:32:09 +00:00
parent 7cbfd031b6
commit 80f69e57cd
+2 -2
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $Id: Makefile,v 1.12 1997/02/22 14:32:34 peter Exp $
# $Id: Makefile,v 1.13 1997/07/05 19:34:51 ache Exp $
PROG= init
MAN8= init.8
@@ -7,7 +7,7 @@ BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -D_NEW_VFSCONF
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt