Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 2002/03/22 18:10:23 thorpej Exp $
|
1994-12-22 04:06:58 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= lock
|
1997-10-12 16:56:51 +04:00
|
|
|
DPADD+= ${LIBCRYPT}
|
|
|
|
LDADD+= -lcrypt
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
1997-10-11 23:16:28 +04:00
|
|
|
|
1997-10-12 16:56:51 +04:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
.if (${USE_SKEY} != "no")
|
1997-10-11 23:16:28 +04:00
|
|
|
CPPFLAGS+=-DSKEY
|
1997-10-12 16:56:51 +04:00
|
|
|
DPADD+= ${LIBSKEY}
|
|
|
|
LDADD+= -lskey
|
1997-10-11 23:16:28 +04:00
|
|
|
.endif
|