Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.sbin / amd / libamu / Makefile
1 # ex:ts=8
2 #
3 # Makefile for amd
4 #       This file is under a "BSD" copyright (c) by David O'Brien 1998
5 #
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 $
8
9 .PATH:          ${.CURDIR}/../../../contrib/amd/libamu \
10                 ${.CURDIR}/../../../contrib/amd/conf/transp \
11                 ${.CURDIR}/../../../contrib/amd/conf/mtab \
12                 ${.CURDIR}/../../../contrib/amd/conf/umount
13
14 LIB=            amu
15 INTERNALLIB=    YES
16
17 SRCS=           hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
18                 util.c wire.c xutil.c
19
20 #               These would be links created by the GNU-style configure
21 SRCS+=          transp_sockets.c mtab_bsd.c umount_bsd44.c
22
23 CFLAGS+=        -I${.CURDIR}/../../../contrib/amd/libamu
24
25 #               Generated at compile time (replaces supplied xdr_func.c)
26 SRCS+=          nfs_prot_x.c
27 CLEANFILES+=    nfs_prot_x.c
28
29 nfs_prot_x.c: ${NFS_PROT_X}
30         ${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
31
32 .include <bsd.lib.mk>