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 $
14 CFLAGS+= -I. -I${.CURDIR}
15 CFLAGS+= -I${.CURDIR}/../include
16 .if exists(${.OBJDIR}/../include)
17 CFLAGS+= -I${.OBJDIR}/../include
19 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
20 CFLAGS+= -I${.CURDIR}/../../../contrib/amd
21 CFLAGS+= -DHAVE_CONFIG_H
23 CFLAGS+= -DHAVE_LOCALCONFIG_H
26 .if ${MK_HESIOD} != "no"
30 CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
32 .if exists(${.OBJDIR}/../libamu)
33 LIBAMUDIR= ${.OBJDIR}/../libamu
35 LIBAMUDIR= ${.CURDIR}/../libamu
37 LIBAMU= ${LIBAMUDIR}/libamu.a
39 RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
40 MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
41 NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
45 .if exists(${.CURDIR}/../../Makefile.inc)
46 .include "${.CURDIR}/../../Makefile.inc"