1 # @(#)Makefile 8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/bin/rmail/Makefile,v 1.8.2.6 2002/03/25 21:31:30 gshapiro Exp $
3 # $DragonFly: src/bin/rmail/Makefile,v 1.10 2007/04/14 17:43:48 gshapiro Exp $
5 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
6 .PATH: ${SENDMAIL_DIR}/rmail
8 WARNS?= 0 # XXX Not yet.
13 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
15 .if exists(${.OBJDIR}/../../lib/libsm)
16 LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
18 LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
20 LIBSM:= ${LIBSMDIR}/libsm.a
28 # User customizations to the sendmail build environment
29 CFLAGS+=${SENDMAIL_CFLAGS}
30 DPADD+=${SENDMAIL_DPADD}
31 LDADD+=${SENDMAIL_LDADD}
32 LDFLAGS+=${SENDMAIL_LDFLAGS}
34 # If you want to have your rmail queuing the mail only, uncomment the
36 # CFLAGS+= -DQUEUE_ONLY
38 # Not much point this being static. It calls a shared sendmail...
42 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
44 .include <bsd.prog.mk>