Deleted Added
full compact
Makefile (64567) Makefile (65970)
1# @(#)Makefile 8.1 (Berkeley) 5/31/93
1# @(#)Makefile 8.1 (Berkeley) 5/31/93
2# $FreeBSD: head/bin/rmail/Makefile 64567 2000-08-12 22:39:25Z gshapiro $
2# $FreeBSD: head/bin/rmail/Makefile 65970 2000-09-17 00:41:33Z 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
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# User customizations to the sendmail build environment
23CFLAGS+=${SENDMAIL_CFLAGS}
24LDFLAGS+=${SENDMAIL_LDFLAGS}
25LDADD+=${SENDMAIL_LDADD}
26DPADD+=${SENDMAIL_DPADD}
27
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>
28# If you want to have your rmail queuing the mail only, uncomment the
29# following:
30# CFLAGS+= -DQUEUE_ONLY
31
32# Not much point this being static. It calls a shared sendmail...
33NOSHARED?= NO
34
35.include <bsd.prog.mk>