Makefile.inc revision 302408
1# ex:ts=8 2# 3# $FreeBSD: stable/11/usr.sbin/amd/Makefile.inc 298107 2016-04-16 07:45:30Z gjb $ 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 14PACKAGE= amd 15 16CFLAGS+= -I. -I${.CURDIR} 17CFLAGS+= -I${.CURDIR}/../include 18.if exists(${.OBJDIR}/../include) 19CFLAGS+= -I${.OBJDIR}/../include 20.endif 21CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include 22CFLAGS+= -I${.CURDIR}/../../../contrib/amd 23CFLAGS+= -DHAVE_CONFIG_H 24.if ${MK_NIS} == "no" 25CFLAGS+= -DHAVE_LOCALCONFIG_H 26.endif 27 28.if ${MK_HESIOD} != "no" 29CFLAGS+= -DYES_HESIOD 30.endif 31 32CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\" 33 34RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen 35MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x 36NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x 37 38WARNS?= 1 39 40.if exists(${.CURDIR}/../../Makefile.inc) 41.include "${.CURDIR}/../../Makefile.inc" 42.endif 43