xref: /freebsd-12.1/usr.sbin/amd/include/Makefile (revision 90e655ea)
1# ex:ts=8
2#
3# $FreeBSD$
4#
5# Makefile for amd
6# 	This file is under a "BSD" copyright (c) by David O'Brien 1998.
7#	Portions derived from amd/libamu/Makefile
8#	$NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
9
10SRCS=	config_local.h mount.h nfs_prot.h
11CLEANFILES=	${SRCS}
12
13all: ${SRCS}
14
15config_local.h: newvers.sh
16	@rm -f ${.TARGET}
17	sh ${.ALLSRC} > ${.TARGET}
18
19mount.h: ${MOUNT_X}
20	${RPCCOM} -h -C -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}
21
22nfs_prot.h: ${NFS_PROT_X}
23	${RPCCOM} -h -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
24
25.include <bsd.prog.mk>
26