Home | History | Annotate | Line # | Download | only in rpc.bootparamd
Makefile revision 1.19
      1 #	$NetBSD: Makefile,v 1.19 2002/01/31 15:16:21 tv 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 .include <bsd.prog.mk>
     13 
     14 bootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
     15 	rm -f ${.TARGET}
     16 	ln -s ${.ALLSRC} ${.TARGET}
     17 
     18 bootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h
     19 	rm -f ${.TARGET}
     20 	ln -s ${.ALLSRC} ${.TARGET}
     21 
     22 bootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h
     23 	${RPCGEN} -C -L -m -o ${.TARGET} bootparam_prot.x
     24 
     25 CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
     26