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