]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/amd/Makefile.inc
This commit was generated by cvs2svn to compensate for changes in r153872,
[FreeBSD/FreeBSD.git] / usr.sbin / amd / Makefile.inc
1 # ex:ts=8
2 #
3 # $FreeBSD$
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 CFLAGS+= -I. -I${.CURDIR} 
13 CFLAGS+= -I${.CURDIR}/../include
14 .if exists(${.OBJDIR}/../include)
15 CFLAGS+= -I${.OBJDIR}/../include
16 .endif
17 CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
18 CFLAGS+= -I${.CURDIR}/../../../contrib/amd
19 CFLAGS+= -DHAVE_CONFIG_H
20 .if defined(NO_NIS)
21 CFLAGS+= -DHAVE_LOCALCONFIG_H
22 .endif
23
24 .if defined(YES_HESIOD)
25 CFLAGS+= -DYES_HESIOD
26 .endif
27
28 CFLAGS+= -DHOST_CPU=\"${MACHINE_ARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
29
30 .if exists(${.OBJDIR}/../libamu)
31 LIBAMUDIR=      ${.OBJDIR}/../libamu
32 .else
33 LIBAMUDIR=      ${.CURDIR}/../libamu
34 .endif
35 LIBAMU=         ${LIBAMUDIR}/libamu.a
36
37 RPCCOM=         rpcgen
38 MOUNT_X=        ${DESTDIR}/usr/include/rpcsvc/mount.x
39 NFS_PROT_X=     ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
40
41 .if exists(${.CURDIR}/../../Makefile.inc)
42 .include "${.CURDIR}/../../Makefile.inc"
43 .endif