xref: /freebsd/bin/rmail/Makefile (revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
1#	@(#)Makefile	8.1 (Berkeley) 5/31/93
2# $FreeBSD$
3
4PACKAGE=sendmail
5SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
6.PATH:	${SENDMAIL_DIR}/rmail
7
8# Not much point this being static. It calls a shared sendmail...
9NO_SHARED?= NO
10
11PROG=	rmail
12SRCS=	rmail.c
13MAN=	rmail.8
14
15WARNS?=	2
16CFLAGS+=-I${SENDMAIL_DIR}/include -I.
17
18LIBADD=	sm
19
20SRCS+=	sm_os.h
21CLEANFILES+=sm_os.h
22
23# User customizations to the sendmail build environment
24CFLAGS+=${SENDMAIL_CFLAGS}
25DPADD+=${SENDMAIL_DPADD}
26LDADD+=${SENDMAIL_LDADD}
27LDFLAGS+=${SENDMAIL_LDFLAGS}
28
29# If you want to have your rmail queuing the mail only, uncomment the
30# following:
31# CFLAGS+= -DQUEUE_ONLY
32
33sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
34	ln -sf ${.ALLSRC} ${.TARGET}
35
36.include <bsd.prog.mk>
37