diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1995-12-23 21:47:48 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1995-12-23 21:47:48 +0000 |
commit | 4596727f5a8bd08cf3c7ac427a686318841a39d8 (patch) | |
tree | 41d488252c62c8ed3ed53ebdc7337b6c7ad704fe /usr.bin/lock | |
parent | ed2a572bfc2352433847f82bee9f3d73f4cdd771 (diff) |
Honor SKEY flag from <bsd.own.mk>
Diffstat (limited to 'usr.bin/lock')
-rw-r--r-- | usr.bin/lock/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/lock/Makefile b/usr.bin/lock/Makefile index b93ebf84b46..157d89340da 100644 --- a/usr.bin/lock/Makefile +++ b/usr.bin/lock/Makefile @@ -4,8 +4,15 @@ PROG= lock BINOWN= root BINMODE=4555 +LDADD+= -lcrypt +DPADD+= ${LIBCRYPT} + +.include <bsd.own.mk> + +.if defined(SKEY) CFLAGS+=-DSKEY -LDADD+= -lcrypt -lskey -DPADD+= ${LIBCRYPT} ${LIBSKEY} +LDADD+= -lskey +DPADD+= ${LIBSKEY} +.endif .include <bsd.prog.mk> |