aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/amd/libamu/Makefile
blob: d2f26999f6ebd99896761436dbde745d24e9dc9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
#
# Makefile for amd
# 	This file is under a "BSD" copyright (c) by David O'Brien 1998
#
# $Id: Makefile,v 1.1 1998/08/27 08:09:41 obrien Exp $

.PATH:		${.CURDIR}/../../../contrib/amd/libamu \
		${.CURDIR}/../../../contrib/amd/conf/transp \
		${.CURDIR}/../../../contrib/amd/conf/mtab \
		${.CURDIR}/../../../contrib/amd/conf/umount

LIB=		amu

SRCS=		hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
		util.c wire.c xutil.c

#		These would be links created by the GNU-style configure
SRCS+=		transp_sockets.c mtab_bsd.c umount_bsd44.c

CFLAGS+=	-I${.CURDIR}/../../../contrib/amd/libamu

NOMAN=		noman

#		Generated at compile time (replaces supplied xdr_func.c)
SRCS+=		nfs_prot_x.c
CLEANFILES+=	nfs_prot_x.c

nfs_prot_x.c: ${NFS_PROT_X}
	${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}

install:

.include <bsd.lib.mk>