1# @(#)Makefile 8.1 (Berkeley) 5/31/93
2# $FreeBSD: head/bin/rmail/Makefile 64567 2000-08-12 22:39:25Z gshapiro $
3
4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5.PATH: ${SENDMAIL_DIR}/rmail
6
7PROG= rmail
8SRCS= rmail.c
9MAN8= rmail.8
10CFLAGS+=-I${SENDMAIL_DIR}/include
11
12.if exists(${.OBJDIR}/../../lib/libsmutil)
13LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
14.else
15LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
16.endif
17LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
18
19DPADD+= ${LIBSMUTIL}
20LDADD+= ${LIBSMUTIL}
21
22# If you want to have your rmail queuing the mail only, uncomment the
23# following:
24# CFLAGS+= -DQUEUE_ONLY
25
26# Not much point this being static. It calls a shared sendmail...
27NOSHARED?= NO
28
29.include <bsd.prog.mk>
2# $FreeBSD: head/bin/rmail/Makefile 64567 2000-08-12 22:39:25Z gshapiro $
3
4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5.PATH: ${SENDMAIL_DIR}/rmail
6
7PROG= rmail
8SRCS= rmail.c
9MAN8= rmail.8
10CFLAGS+=-I${SENDMAIL_DIR}/include
11
12.if exists(${.OBJDIR}/../../lib/libsmutil)
13LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
14.else
15LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
16.endif
17LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
18
19DPADD+= ${LIBSMUTIL}
20LDADD+= ${LIBSMUTIL}
21
22# If you want to have your rmail queuing the mail only, uncomment the
23# following:
24# CFLAGS+= -DQUEUE_ONLY
25
26# Not much point this being static. It calls a shared sendmail...
27NOSHARED?= NO
28
29.include <bsd.prog.mk>