Home | History | Annotate | Line # | Download | only in rpc.bootparamd
Makefile revision 1.21
      1  1.21  thorpej #	$NetBSD: Makefile,v 1.21 2002/03/22 18:10:25 thorpej Exp $
      2  1.21  thorpej 
      3  1.21  thorpej .include <bsd.own.mk>
      4   1.1  deraadt 
      5   1.1  deraadt PROG=	rpc.bootparamd
      6   1.1  deraadt SRCS=	bootparamd.c bootparam_prot_svc.c
      7   1.7      cgd MAN=	bootparams.5 rpc.bootparamd.8
      8   1.6      gwr MLINKS=	rpc.bootparamd.8 bootparamd.8
      9  1.21  thorpej 
     10  1.21  thorpej .if (${USE_YP} != "no")
     11  1.15    lukem CPPFLAGS+=-DYP
     12  1.21  thorpej .endif
     13   1.1  deraadt 
     14  1.16  thorpej DPADD=	${LIBRPCSVC} ${LIBUTIL}
     15  1.16  thorpej LDADD=	-lrpcsvc -lutil
     16   1.1  deraadt 
     17  1.20       tv CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
     18  1.20       tv 
     19  1.19       tv .include <bsd.prog.mk>
     20  1.19       tv 
     21  1.17  mycroft bootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
     22  1.17  mycroft 	rm -f ${.TARGET}
     23  1.17  mycroft 	ln -s ${.ALLSRC} ${.TARGET}
     24  1.17  mycroft 
     25  1.17  mycroft bootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h
     26  1.17  mycroft 	rm -f ${.TARGET}
     27  1.17  mycroft 	ln -s ${.ALLSRC} ${.TARGET}
     28  1.17  mycroft 
     29  1.17  mycroft bootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h
     30  1.18      cgd 	${RPCGEN} -C -L -m -o ${.TARGET} bootparam_prot.x
     31