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