1 1.25 tls # $NetBSD: Makefile,v 1.25 2007/05/28 12:06:39 tls Exp $ 2 1.21 thorpej 3 1.21 thorpej .include <bsd.own.mk> 4 1.1 deraadt 5 1.25 tls USE_FORT?= yes # network server 6 1.25 tls 7 1.1 deraadt PROG= rpc.bootparamd 8 1.1 deraadt SRCS= bootparamd.c bootparam_prot_svc.c 9 1.7 cgd MAN= bootparams.5 rpc.bootparamd.8 10 1.6 gwr MLINKS= rpc.bootparamd.8 bootparamd.8 11 1.21 thorpej 12 1.21 thorpej .if (${USE_YP} != "no") 13 1.15 lukem CPPFLAGS+=-DYP 14 1.21 thorpej .endif 15 1.1 deraadt 16 1.16 thorpej DPADD= ${LIBRPCSVC} ${LIBUTIL} 17 1.16 thorpej LDADD= -lrpcsvc -lutil 18 1.1 deraadt 19 1.23 sommerfe RPC_SVCFILES= bootparam_prot_svc.c 20 1.23 sommerfe RPC_SVCFLAGS= -L -m 21 1.23 sommerfe RPC_XDIR= ${DESTDIR}/usr/include/rpcsvc/ 22 1.24 thorpej 23 1.24 thorpej CPPFLAGS+= -I${RPC_XDIR} 24 1.20 tv 25 1.23 sommerfe .include <bsd.rpc.mk> 26 1.19 tv .include <bsd.prog.mk> 27 1.22 christos 28 1.22 christos test: test.c 29 1.22 christos cc -o test ${.ALLSRC} -lrpcsvc 30