Home | History | Annotate | Line # | Download | only in librpcsvc
Makefile revision 1.24
      1 #	$NetBSD: Makefile,v 1.24 1999/02/13 02:54:30 lukem Exp $
      2 
      3 RPCSRCS=	bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
      4 		nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
      5 		sm_inter.x spray.x yp.x yppasswd.x
      6 SRCS=		${RPCSRCS:.x=.c} ${HDRS}
      7 HDRS=           ${RPCSRCS:.x=.h}
      8 CLEANFILES+=	${SRCS} ${HDRS}
      9 
     10 INCS=		${HDRS} ${RPCSRCS}
     11 INCSDIR=	/usr/include/rpcsvc
     12 
     13 LIB=		rpcsvc
     14 MKMAN=		no
     15 MKPIC=		no
     16 
     17 # We don't use explicit suffix rules here to avoid dependencies in the
     18 # Installed files.
     19 
     20 .for I in ${RPCSRCS}
     21 ${I:.x=.c}: $I
     22 	rpcgen -c ${.ALLSRC} -o ${.TARGET}
     23 
     24 ${I:.x=.h}: $I
     25 	rpcgen -h ${.ALLSRC} -o ${.TARGET}
     26 .endfor
     27 
     28 .include <bsd.lib.mk>
     29