Home | History | Annotate | Line # | Download | only in rpc.bootparamd
Makefile revision 1.17
      1 #	$NetBSD: Makefile,v 1.17 2000/06/12 01:57:25 mycroft Exp $
      2 
      3 PROG=	rpc.bootparamd
      4 SRCS=	bootparamd.c bootparam_prot_svc.c
      5 MAN=	bootparams.5 rpc.bootparamd.8
      6 MLINKS=	rpc.bootparamd.8 bootparamd.8
      7 CPPFLAGS+=-DYP
      8 
      9 DPADD=	${LIBRPCSVC} ${LIBUTIL}
     10 LDADD=	-lrpcsvc -lutil
     11 
     12 bootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
     13 	rm -f ${.TARGET}
     14 	ln -s ${.ALLSRC} ${.TARGET}
     15 
     16 bootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h
     17 	rm -f ${.TARGET}
     18 	ln -s ${.ALLSRC} ${.TARGET}
     19 
     20 bootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h
     21 	rpcgen -C -L -m -o ${.TARGET} bootparam_prot.x
     22 
     23 CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
     24 
     25 .include <bsd.prog.mk>
     26