Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / usr.sbin / amd / Makefile.inc
blobadd2c42b3dbd35538e2b0b8e750350b38bc905b6
1 # ex:ts=8
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 $
6 # Makefile for amd
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
18 .endif
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
25 .else
26 LIBAMUDIR=      ${.CURDIR}/../libamu
27 .endif
28 LIBAMU=         ${LIBAMUDIR}/libamu.a
30 RPCCOM=         rpcgen
31 MOUNT_X=        ${DESTDIR}/usr/include/rpcsvc/mount.x
32 NFS_PROT_X=     ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
34 WARNS?=         0
36 .if exists(${.CURDIR}/../../Makefile.inc)
37 .include "${.CURDIR}/../../Makefile.inc"
38 .endif