freebsd-dev/bin/rmail/Makefile

30 lines
667 B
Makefile
Raw Normal View History

1994-05-26 06:18:55 +00:00
# @(#)Makefile 8.1 (Berkeley) 5/31/93
1999-08-27 23:15:48 +00:00
# $FreeBSD$
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/rmail
1994-05-26 06:18:55 +00:00
PROG= rmail
SRCS= rmail.c
1994-08-05 17:02:31 +00:00
MAN8= rmail.8
CFLAGS+=-I${SENDMAIL_DIR}/include
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
.else
LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
.endif
LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
DPADD+= ${LIBSMUTIL}
LDADD+= ${LIBSMUTIL}
1994-05-26 06:18:55 +00:00
# If you want to have your rmail queuing the mail only, uncomment the
# following:
# CFLAGS+= -DQUEUE_ONLY
# Not much point this being static. It calls a shared sendmail...
NOSHARED?= NO
1994-05-26 06:18:55 +00:00
.include <bsd.prog.mk>