2003-07-29 06:48:47 +04:00
|
|
|
# $NetBSD: Makefile,v 1.16 2003/07/29 02:48:47 lukem Exp $
|
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
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
PROG= rpc.pcnfsd
|
|
|
|
MAN= pcnfsd.8
|
|
|
|
MLINKS= pcnfsd.8 rpc.pcnfsd.8
|
2002-08-02 06:47:58 +04:00
|
|
|
CPPFLAGS += -DUSER_CACHE -DWTMP -I. -DSUPPORT_UTMP -DSUPPORT_UTMPX
|
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_YP} != "no")
|
|
|
|
CPPFLAGS+=-DUSE_YP
|
|
|
|
.endif
|
1995-07-24 23:12:18 +04:00
|
|
|
|
|
|
|
SRCS= pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
|
|
|
|
pcnfsd_cache.c pcnfsd_print.c pcnfsd_svc.c pcnfsd_xdr.c
|
1995-07-24 08:02:44 +04:00
|
|
|
|
2002-08-02 06:47:58 +04:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lcrypt -lutil
|
1995-07-24 08:02:44 +04:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
RPC_INCS= pcnfsd.h
|
|
|
|
RPC_XDRFILES= pcnfsd_xdr.c
|
|
|
|
RPC_SVCFILES= pcnfsd_svc.c
|
|
|
|
RPC_SVCCLASS= udp tcp
|
|
|
|
RPC_SVCFLAGS= -I
|
1995-07-24 08:02:44 +04:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
.include <bsd.rpc.mk>
|
1995-07-24 08:02:44 +04:00
|
|
|
|
1995-07-24 23:12:18 +04:00
|
|
|
CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|