Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / amd / Makefile.inc
CommitLineData
984263bc
MD
1# ex:ts=8
2#
3# $FreeBSD: src/usr.sbin/amd/Makefile.inc,v 1.5.2.1 2001/04/25 12:09:12 ru Exp $
4#
5# Makefile for amd
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 $
11#
12
13CFLAGS+= -I. -I${.CURDIR}
14CFLAGS+= -I${.CURDIR}/../include
15.if exists(${.OBJDIR}/../include)
16CFLAGS+= -I${.OBJDIR}/../include
17.endif
18CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
19CFLAGS+= -I${.CURDIR}/../../../contrib/amd
20CFLAGS+= -DHAVE_CONFIG_H
21
22.if exists(${.OBJDIR}/../libamu)
23LIBAMUDIR= ${.OBJDIR}/../libamu
24.else
25LIBAMUDIR= ${.CURDIR}/../libamu
26.endif
27LIBAMU= ${LIBAMUDIR}/libamu.a
28
29RPCCOM= rpcgen
30MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
31NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
32
33
34.if exists(${.CURDIR}/../../Makefile.inc)
35.include "${.CURDIR}/../../Makefile.inc"
36.endif