4 # This file is under a "BSD" copyright (c) by David O'Brien 1998
6 # $FreeBSD: src/usr.sbin/amd/libamu/Makefile,v 1.4.2.1 2002/07/19 18:46:29 ru Exp $
8 .PATH: ${.CURDIR}/../../../contrib/amd/libamu \
9 ${.CURDIR}/../../../contrib/amd/conf/transp \
10 ${.CURDIR}/../../../contrib/amd/conf/mtab \
11 ${.CURDIR}/../../../contrib/amd/conf/umount
16 SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
19 # These would be links created by the GNU-style configure
20 SRCS+= transp_sockets.c mtab_bsd.c umount_bsd44.c
22 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/libamu
24 # Generated at compile time (replaces supplied xdr_func.c)
26 CLEANFILES+= nfs_prot_x.c
28 nfs_prot_x.c: ${NFS_PROT_X}
29 ${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}