Fix make depend.

This commit is contained in:
Doug Rabson 1997-04-19 09:15:25 +00:00
parent 747e915757
commit 748c4cdf38
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25018
3 changed files with 19 additions and 1 deletions

View File

@ -40,7 +40,7 @@ mount.h: ${MOUNT_X}
mount_xdr.c: mount.h ${MOUNT_X}
${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}
${OBJS}: nfs_prot.h
${OBJS} beforedepend: nfs_prot.h
nfs_prot.h: ${NFS_PROT_X}
${RPCCOM} -h ${NFS_PROT_X} -o ${.TARGET}

View File

@ -3,6 +3,7 @@
PROG = amq
MAN8 = amq.8
SRCS = amq.c amq_clnt.c amq_xdr.c misc_rpc.c
CFLAGS+=-I${.OBJDIR}
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-I${.CURDIR}/../rpcx
CFLAGS+=-I${.CURDIR}/../config
@ -10,6 +11,14 @@ CFLAGS+=-DARCH_REP=\"${MACHINE}\"
CFLAGS+=-DOS_REP=\"bsd44\"
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
.PATH: ${.CURDIR}/../rpcx ${.CURDIR}/../amd
CLEANFILES+=nfs_prot.h
RPCCOM = rpcgen
NFS_PROT_X= /usr/include/rpcsvc/nfs_prot.x
nfs_prot.h: ${NFS_PROT_X}
${RPCCOM} -h ${NFS_PROT_X} -o ${.TARGET}
${OBJS} beforedepend: nfs_prot.h
.include "../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -1,11 +1,20 @@
# @(#)Makefile 8.1 (Berkeley) 6/28/93
PROG= mk-amd-map
CFLAGS+=-I${.OBJDIR}
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-I${.CURDIR}/../rpcx
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
MAN8= mk-amd-map.8
CLEANFILES+=nfs_prot.h
RPCCOM = rpcgen
NFS_PROT_X= /usr/include/rpcsvc/nfs_prot.x
nfs_prot.h: ${NFS_PROT_X}
${RPCCOM} -h ${NFS_PROT_X} -o ${.TARGET}
${OBJS} beforedepend: nfs_prot.h
.include "../../Makefile.inc"
.include <bsd.prog.mk>