2003-01-06 05:26:53 +03:00
|
|
|
# $NetBSD: Makefile,v 1.24 2003/01/06 02:26:53 thorpej 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>
|
1994-01-08 16:22:03 +03:00
|
|
|
|
|
|
|
PROG= rpc.bootparamd
|
|
|
|
SRCS= bootparamd.c bootparam_prot_svc.c
|
1994-12-22 14:32:57 +03:00
|
|
|
MAN= bootparams.5 rpc.bootparamd.8
|
1994-10-03 21:48:40 +03:00
|
|
|
MLINKS= rpc.bootparamd.8 bootparamd.8
|
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")
|
1997-10-25 10:57:53 +04:00
|
|
|
CPPFLAGS+=-DYP
|
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
|
|
|
.endif
|
1994-01-08 16:22:03 +03:00
|
|
|
|
1999-06-06 06:38:00 +04:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lutil
|
1994-01-08 16:22:03 +03:00
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
RPC_SVCFILES= bootparam_prot_svc.c
|
|
|
|
RPC_SVCFLAGS= -L -m
|
|
|
|
RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/
|
2002-02-02 20:11:38 +03:00
|
|
|
|
2003-01-06 05:26:53 +03:00
|
|
|
CPPFLAGS+= -I${RPC_XDIR}
|
|
|
|
|
2003-01-05 22:24:06 +03:00
|
|
|
.include <bsd.rpc.mk>
|
2002-01-31 18:16:21 +03:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2002-09-11 22:19:42 +04:00
|
|
|
test: test.c
|
|
|
|
cc -o test ${.ALLSRC} -lrpcsvc
|