Makefile revision 87323
1#	@(#)Makefile	8.1 (Berkeley) 5/31/93
2# $FreeBSD: head/bin/rmail/Makefile 87323 2001-12-04 01:57:47Z obrien $
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
15.if exists(${.OBJDIR}/../../lib/libsmutil)
16LIBSMUTILDIR:=	${.OBJDIR}/../../lib/libsmutil
17.else
18LIBSMUTILDIR!=	cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
19.endif
20LIBSMUTIL:=	${LIBSMUTILDIR}/libsmutil.a
21
22DPADD=	${LIBSMUTIL}
23LDADD=	${LIBSMUTIL}
24
25# User customizations to the sendmail build environment
26CFLAGS+=${SENDMAIL_CFLAGS}
27DPADD+=${SENDMAIL_DPADD}
28LDADD+=${SENDMAIL_LDADD}
29LDFLAGS+=${SENDMAIL_LDFLAGS}
30
31# If you want to have your rmail queuing the mail only, uncomment the
32# following:
33# CFLAGS+= -DQUEUE_ONLY
34
35# Not much point this being static. It calls a shared sendmail...
36NOSHARED?= NO
37
38.include <bsd.prog.mk>
39