Makefile revision 38581
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# $Id$
7
8.PATH:		${.CURDIR}/../../../contrib/amd/libamu \
9		${.CURDIR}/../../../contrib/amd/conf/transp \
10		${.CURDIR}/../../../contrib/amd/conf/mtab \
11		${.CURDIR}/../../../contrib/amd/conf/mount \
12		${.CURDIR}/../../../contrib/amd/conf/umount
13
14LIB=		amu
15
16SRCS=		hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
17		util.c wire.c xutil.c
18
19#		These would be links created by the GNU-style configure
20SRCS+=		transp_sockets.c mtab_bsd.c mount_freebsd3.c umount_bsd44.c
21
22CFLAGS+=	-I${.CURDIR}/../../../contrib/amd/libamu
23
24NOMAN=		noman
25
26#		Generated at compile time (replaces supplied xdr_func.c)
27SRCS+=		nfs_prot_x.c
28CLEANFILES+=	nfs_prot_x.c
29
30nfs_prot_x.c: ${NFS_PROT_X}
31	${RPCCOM} -c ${NFS_PROT_X} -o ${.TARGET}
32
33install:
34
35.include <bsd.lib.mk>
36