mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 01:20:40 +00:00
Sources from the "current" build tree and generated sources in the
object tree should be used instead of sources and headers from the already installed source tree on the build host. This was noticed while addressing issues in the upcoming amd update. MFC after: 2 weeks
This commit is contained in:
parent
54360de77b
commit
fcdaff2cd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307800
|
@ -32,8 +32,8 @@ CFLAGS+= -DYES_HESIOD
|
|||
CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
|
||||
|
||||
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
|
||||
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
|
||||
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
|
||||
MOUNT_X= ${SRCTOP}/include/rpcsvc/mount.x
|
||||
NFS_PROT_X= ${SRCTOP}/include/rpcsvc/nfs_prot.x
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ SRCS+= ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
|
|||
SRCS+= srvr_amfs_auto.c srvr_nfs.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/amd \
|
||||
-I${DESTDIR}/usr/include/rpcsvc
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
|
||||
LIBADD= amu wrap
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ SRCS+= nfs_prot_x.c xdr_func_%undef.c
|
|||
CLEANFILES+= nfs_prot_x.c xdr_func_%undef.c
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/contrib/amd/libamu \
|
||||
-I${DESTDIR}/usr/include/rpcsvc
|
||||
-I${.OBJDIR}/../../../include/rpcsvc
|
||||
|
||||
nfs_prot_x.c: ${NFS_PROT_X}
|
||||
${RPCCOM} -c -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
|
||||
|
|
Loading…
Reference in a new issue