1998-08-27 08:09:42 +00:00
|
|
|
# ex:ts=8
|
|
|
|
#
|
1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1998-08-27 08:09:42 +00:00
|
|
|
#
|
|
|
|
# Makefile for amd
|
|
|
|
# This file is under a "BSD" copyright (c) by David O'Brien 1998.
|
|
|
|
# Portions derived from
|
|
|
|
# $NetBSD: Makefile.inc,v 1.10 1998/08/08 22:33:27 christos Exp $
|
|
|
|
# Portions derived from amd/libamu/Makefile
|
|
|
|
# $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2016-01-21 18:19:33 +00:00
|
|
|
PACKAGE= amd
|
|
|
|
|
2017-03-04 11:38:03 +00:00
|
|
|
CFLAGS+= -I. -I${.CURDIR}
|
|
|
|
CFLAGS+= -I${.CURDIR:H}/include
|
|
|
|
.if exists(${.OBJDIR:H}/include)
|
|
|
|
CFLAGS+= -I${.OBJDIR:H}/include
|
2001-03-21 10:56:29 +00:00
|
|
|
.endif
|
2017-03-04 11:38:03 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/amd/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/amd
|
2001-07-20 06:20:32 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_NIS} == "no"
|
2004-11-13 20:40:32 +00:00
|
|
|
CFLAGS+= -DHAVE_LOCALCONFIG_H
|
|
|
|
.endif
|
1998-08-27 08:09:42 +00:00
|
|
|
|
2006-03-21 09:00:51 +00:00
|
|
|
.if ${MK_HESIOD} != "no"
|
2005-08-06 16:52:30 +00:00
|
|
|
CFLAGS+= -DYES_HESIOD
|
|
|
|
.endif
|
|
|
|
|
2010-08-23 22:24:11 +00:00
|
|
|
CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
|
2001-09-05 16:54:20 +00:00
|
|
|
|
2012-02-07 09:27:07 +00:00
|
|
|
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
|
2016-10-22 22:27:51 +00:00
|
|
|
MOUNT_X= ${SRCTOP}/include/rpcsvc/mount.x
|
|
|
|
NFS_PROT_X= ${SRCTOP}/include/rpcsvc/nfs_prot.x
|
1998-08-27 08:09:42 +00:00
|
|
|
|
2010-01-02 11:07:44 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
2017-03-04 11:38:03 +00:00
|
|
|
.if exists(${.CURDIR:H:H}/Makefile.inc)
|
|
|
|
.include "${.CURDIR:H:H}/Makefile.inc"
|
1998-08-27 08:09:42 +00:00
|
|
|
.endif
|