]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/amd/libamu/Makefile
Fully use our own generated files for NFSv3.
[FreeBSD/FreeBSD.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 # $Id: Makefile,v 1.1 1998/08/27 08:09:41 obrien Exp $
7
8 .PATH:          ${.CURDIR}/../../../contrib/amd/libamu \
9                 ${.CURDIR}/../../../contrib/amd/conf/transp \
10                 ${.CURDIR}/../../../contrib/amd/conf/mtab \
11                 ${.CURDIR}/../../../contrib/amd/conf/umount
12
13 LIB=            amu
14
15 SRCS=           hasmntopt.c misc_rpc.c mount_fs.c mtab.c nfs_prot_xdr.c \
16                 util.c wire.c xutil.c
17
18 #               These would be links created by the GNU-style configure
19 SRCS+=          transp_sockets.c mtab_bsd.c umount_bsd44.c
20
21 CFLAGS+=        -I${.CURDIR}/../../../contrib/amd/libamu
22
23 NOMAN=          noman
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 install:
33
34 .include <bsd.lib.mk>