HAMMER 58B/Many: Revamp ioctls, add non-monotonic timestamps, mirroring
[dragonfly.git] / usr.sbin / amd / libamu / Makefile
blobff7d5eb6cdee8318e58e458c21c3bc0166952cd2
1 # ex:ts=8
3 # Makefile for amd
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 $
7 # $DragonFly: src/usr.sbin/amd/libamu/Makefile,v 1.2 2003/06/17 04:29:52 dillon Exp $
9 .PATH: ${.CURDIR}/../../../contrib/amd/libamu \
10 ${.CURDIR}/../../../contrib/amd/conf/transp \
11 ${.CURDIR}/../../../contrib/amd/conf/mtab \
12 ${.CURDIR}/../../../contrib/amd/conf/umount
14 LIB= amu
15 INTERNALLIB= YES
17 SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
18 util.c wire.c xutil.c
20 # These would be links created by the GNU-style configure
21 SRCS+= transp_sockets.c mtab_bsd.c umount_bsd44.c
23 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/libamu
25 # Generated at compile time (replaces supplied xdr_func.c)
26 SRCS+= nfs_prot_x.c
27 CLEANFILES+= nfs_prot_x.c
29 nfs_prot_x.c: ${NFS_PROT_X}
30 ${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
32 .include <bsd.lib.mk>