1998-08-27 08:09:42 +00:00
|
|
|
# ex:ts=8
|
|
|
|
#
|
|
|
|
# Makefile for amd
|
|
|
|
# This file is under a "BSD" copyright (c) by David O'Brien 1998
|
|
|
|
#
|
1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1998-08-27 08:09:42 +00:00
|
|
|
|
|
|
|
.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
|
1998-09-05 00:58:37 +00:00
|
|
|
SRCS+= transp_sockets.c mtab_bsd.c umount_bsd44.c
|
1998-08-27 08:09:42 +00:00
|
|
|
|
|
|
|
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}
|
1998-09-09 16:11:01 +00:00
|
|
|
${RPCCOM} -c -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
|
1998-08-27 08:09:42 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|