]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/amd/Makefile.inc
Merge branch 'releng/11.3' into releng-CDN/11.3
[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 .include <src.opts.mk>
13
14 PACKAGE= amd
15
16 CFLAGS+= -I. -I${.CURDIR}
17 CFLAGS+= -I${.CURDIR:H}/include
18 .if exists(${.OBJDIR:H}/include)
19 CFLAGS+= -I${.OBJDIR:H}/include
20 .endif
21 CFLAGS+= -I${SRCTOP}/contrib/amd/include
22 CFLAGS+= -I${SRCTOP}/contrib/amd
23 CFLAGS+= -DHAVE_CONFIG_H
24 .if ${MK_NIS} == "no"
25 CFLAGS+= -DHAVE_LOCALCONFIG_H
26 .endif
27
28 .if ${MK_HESIOD} != "no"
29 CFLAGS+= -DYES_HESIOD
30 .endif
31
32 CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
33
34 RPCCOM=         RPCGEN_CPP=${CPP:Q} rpcgen
35 MOUNT_X=        ${SRCTOP}/include/rpcsvc/mount.x
36 NFS_PROT_X=     ${SRCTOP}/include/rpcsvc/nfs_prot.x
37
38 WARNS?= 1
39
40 .if exists(${.CURDIR:H:H}/Makefile.inc)
41 .include "${.CURDIR:H:H}/Makefile.inc"
42 .endif