6 # This file is under a "BSD" copyright (c) by David O'Brien 1998.
7 # Portions derived from
8 # $NetBSD: Makefile.inc,v 1.10 1998/08/08 22:33:27 christos Exp $
9 # Portions derived from amd/libamu/Makefile
10 # $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
12 .include <src.opts.mk>
16 CFLAGS+= -I. -I${.CURDIR}
17 CFLAGS+= -I${.CURDIR}/../include
18 .if exists(${.OBJDIR}/../include)
19 CFLAGS+= -I${.OBJDIR}/../include
21 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
22 CFLAGS+= -I${.CURDIR}/../../../contrib/amd
23 CFLAGS+= -DHAVE_CONFIG_H
25 CFLAGS+= -DHAVE_LOCALCONFIG_H
28 .if ${MK_HESIOD} != "no"
32 CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
34 RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
35 MOUNT_X= ${SRCTOP}/include/rpcsvc/mount.x
36 NFS_PROT_X= ${SRCTOP}/include/rpcsvc/nfs_prot.x
40 .if exists(${.CURDIR}/../../Makefile.inc)
41 .include "${.CURDIR}/../../Makefile.inc"