Minor cleanup.
This commit is contained in:
parent
ee658e7871
commit
8eab21467b
|
@ -1,15 +1,15 @@
|
|||
# $NetBSD: Makefile,v 1.20 1997/05/09 07:50:15 mycroft Exp $
|
||||
# $NetBSD: Makefile,v 1.21 1997/05/09 14:22:41 mycroft Exp $
|
||||
|
||||
|
||||
RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
|
||||
nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
|
||||
sm_inter.x spray.x yp.x yppasswd.x
|
||||
SRCS= ${RPCSRCS:R:S/$/.c/g} ${HDRS}
|
||||
HDRS= ${RPCSRCS:R:S/$/.h/g}
|
||||
SRCS= ${RPCSRCS:.x=.c} ${HDRS}
|
||||
HDRS= ${RPCSRCS:.x=.h}
|
||||
CLEANFILES+= ${SRCS} ${HDRS}
|
||||
|
||||
INCS=${HDRS} ${RPCSRCS}
|
||||
INCSDIR=/usr/include/rpcsvc
|
||||
INCS= ${HDRS} ${RPCSRCS}
|
||||
INCSDIR= /usr/include/rpcsvc
|
||||
|
||||
LIB= rpcsvc
|
||||
NOMAN=
|
||||
|
@ -19,10 +19,10 @@ NOPIC=
|
|||
# Installed files.
|
||||
|
||||
.for I in ${RPCSRCS}
|
||||
${I:S/.x/.c/}: $I
|
||||
${I:.x=.c}: $I
|
||||
rpcgen -c ${.ALLSRC} -o ${.TARGET}
|
||||
|
||||
${I:S/.x/.h/}: $I
|
||||
${I:.x=.h}: $I
|
||||
rpcgen -h ${.ALLSRC} -o ${.TARGET}
|
||||
.endfor
|
||||
|
||||
|
|
Loading…
Reference in New Issue