3 # $FreeBSD: src/usr.sbin/amd/Makefile.inc,v 1.5.2.1 2001/04/25 12:09:12 ru Exp $
4 # $DragonFly: src/usr.sbin/amd/Makefile.inc,v 1.2 2003/06/17 04:29:52 dillon Exp $
7 # This file is under a "BSD" copyright (c) by David O'Brien 1998.
8 # Portions derived from
9 # $NetBSD: Makefile.inc,v 1.10 1998/08/08 22:33:27 christos Exp $
10 # Portions derived from amd/libamu/Makefile
11 # $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 .if exists(${.OBJDIR}/../libamu)
24 LIBAMUDIR= ${.OBJDIR}/../libamu
26 LIBAMUDIR= ${.CURDIR}/../libamu
28 LIBAMU= ${LIBAMUDIR}/libamu.a
31 MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
32 NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
36 .if exists(${.CURDIR}/../../Makefile.inc)
37 .include "${.CURDIR}/../../Makefile.inc"