1 1.26 mrg # $NetBSD: Makefile,v 1.26 2019/10/13 07:28:20 mrg 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.26 mrg COPTS.bootparam_prot_svc.c+= ${GCC_NO_CAST_FUNCTION_TYPE} 26 1.26 mrg 27 1.23 sommerfe .include <bsd.rpc.mk> 28 1.19 tv .include <bsd.prog.mk> 29 1.22 christos 30 1.22 christos test: test.c 31 1.22 christos cc -o test ${.ALLSRC} -lrpcsvc 32