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 $
|
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
CFLAGS+= -I. -I${.CURDIR}
|
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
2001-03-21 10:56:29 +00:00
|
|
|
.if exists(${.OBJDIR}/../include)
|
2001-07-20 06:20:32 +00:00
|
|
|
CFLAGS+= -I${.OBJDIR}/../include
|
2001-03-21 10:56:29 +00:00
|
|
|
.endif
|
2001-07-20 06:20:32 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/amd
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H
|
1998-08-27 08:09:42 +00:00
|
|
|
|
2001-10-04 14:13:16 +00:00
|
|
|
CFLAGS+= -DHOST_CPU=\"${MACHINE_ARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
|
2001-09-05 16:54:20 +00:00
|
|
|
|
2001-03-21 10:56:29 +00:00
|
|
|
.if exists(${.OBJDIR}/../libamu)
|
|
|
|
LIBAMUDIR= ${.OBJDIR}/../libamu
|
|
|
|
.else
|
|
|
|
LIBAMUDIR= ${.CURDIR}/../libamu
|
|
|
|
.endif
|
1998-08-27 08:09:42 +00:00
|
|
|
LIBAMU= ${LIBAMUDIR}/libamu.a
|
|
|
|
|
|
|
|
RPCCOM= rpcgen
|
|
|
|
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
|
|
|
|
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
|
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.endif
|