Makefile revision 90166
1#	@(#)Makefile	8.1 (Berkeley) 5/31/93
2# $FreeBSD: head/bin/rmail/Makefile 90166 2002-02-04 02:49:19Z kris $
3
4MAINTAINER=	gshapiro@FreeBSD.org
5
6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
7.PATH:	${SENDMAIL_DIR}/rmail
8
9PROG=	rmail
10SRCS=	rmail.c
11MAN=	rmail.8
12CFLAGS+=-I${SENDMAIL_DIR}/include
13WARNS=	0
14
15WFORMAT?=	0
16
17.if exists(${.OBJDIR}/../../lib/libsmutil)
18LIBSMUTILDIR:=	${.OBJDIR}/../../lib/libsmutil
19.else
20LIBSMUTILDIR!=	cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
21.endif
22LIBSMUTIL:=	${LIBSMUTILDIR}/libsmutil.a
23
24DPADD=	${LIBSMUTIL}
25LDADD=	${LIBSMUTIL}
26
27# User customizations to the sendmail build environment
28CFLAGS+=${SENDMAIL_CFLAGS}
29DPADD+=${SENDMAIL_DPADD}
30LDADD+=${SENDMAIL_LDADD}
31LDFLAGS+=${SENDMAIL_LDFLAGS}
32
33# If you want to have your rmail queuing the mail only, uncomment the
34# following:
35# CFLAGS+= -DQUEUE_ONLY
36
37# Not much point this being static. It calls a shared sendmail...
38NOSHARED?= NO
39
40.include <bsd.prog.mk>
41