summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd/libamu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-02 20:37:36 +0000
committerobrien <obrien@FreeBSD.org>2001-09-02 20:37:36 +0000
commit6f7c45cc94db5c7aa02b536d30e952dc1801d857 (patch)
tree8e64a743be31885d28ed56652814ba9820496e54 /usr.sbin/amd/libamu
parent038fbdee78fea5b07768c95cf94c76ce6d81ce81 (diff)
downloadFreeBSD-src-6f7c45cc94db5c7aa02b536d30e952dc1801d857.zip
FreeBSD-src-6f7c45cc94db5c7aa02b536d30e952dc1801d857.tar.gz
Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
Diffstat (limited to 'usr.sbin/amd/libamu')
-rw-r--r--usr.sbin/amd/libamu/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/amd/libamu/Makefile b/usr.sbin/amd/libamu/Makefile
index b2738ac..d055f3d 100644
--- a/usr.sbin/amd/libamu/Makefile
+++ b/usr.sbin/amd/libamu/Makefile
@@ -22,10 +22,11 @@ SRCS+= transp_sockets.c mtab_bsd.c umount_bsd44.c
SRCS+= nfs_prot_x.c
CLEANFILES+= nfs_prot_x.c
-CFLAGS+= -I${.CURDIR}/../../../contrib/amd/libamu
+CFLAGS+= -I${.CURDIR}/../../../contrib/amd/libamu \
+ -I${DESTDIR}/usr/include/rpcsvc
nfs_prot_x.c: ${NFS_PROT_X}
- ${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
+ ${RPCCOM} -c -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
install:
OpenPOWER on IntegriCloud