mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 21:52:45 +00:00
Fix make depend.
This commit is contained in:
parent
747e915757
commit
748c4cdf38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25018
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user