Deleted Added
full compact
Makefile (270168) Makefile (275028)
1# @(#)Makefile 8.1 (Berkeley) 5/31/93
1# @(#)Makefile 8.1 (Berkeley) 5/31/93
2# $FreeBSD: head/bin/rmail/Makefile 270168 2014-08-19 15:04:32Z bdrewery $
2# $FreeBSD: head/bin/rmail/Makefile 275028 2014-11-25 11:15:40Z bapt $
3
4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5.PATH: ${SENDMAIL_DIR}/rmail
6
7# Not much point this being static. It calls a shared sendmail...
8NO_SHARED?= NO
9
10PROG= rmail
11SRCS= rmail.c
12MAN= rmail.8
13
14WARNS?= 2
15CFLAGS+=-I${SENDMAIL_DIR}/include -I.
16
3
4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5.PATH: ${SENDMAIL_DIR}/rmail
6
7# Not much point this being static. It calls a shared sendmail...
8NO_SHARED?= NO
9
10PROG= rmail
11SRCS= rmail.c
12MAN= rmail.8
13
14WARNS?= 2
15CFLAGS+=-I${SENDMAIL_DIR}/include -I.
16
17LIBSMDIR= ${.OBJDIR}/../../lib/libsm
18LIBSM= ${LIBSMDIR}/libsm.a
17LIBADD= sm
19
18
20DPADD= ${LIBSM}
21LDADD= ${LIBSM}
22
23SRCS+= sm_os.h
24CLEANFILES+=sm_os.h
25
26# User customizations to the sendmail build environment
27CFLAGS+=${SENDMAIL_CFLAGS}
28DPADD+=${SENDMAIL_DPADD}
29LDADD+=${SENDMAIL_LDADD}
30LDFLAGS+=${SENDMAIL_LDFLAGS}
31
32# If you want to have your rmail queuing the mail only, uncomment the
33# following:
34# CFLAGS+= -DQUEUE_ONLY
35
36sm_os.h:
37 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
38
39.include <bsd.prog.mk>
19SRCS+= sm_os.h
20CLEANFILES+=sm_os.h
21
22# User customizations to the sendmail build environment
23CFLAGS+=${SENDMAIL_CFLAGS}
24DPADD+=${SENDMAIL_DPADD}
25LDADD+=${SENDMAIL_LDADD}
26LDFLAGS+=${SENDMAIL_LDFLAGS}
27
28# If you want to have your rmail queuing the mail only, uncomment the
29# following:
30# CFLAGS+= -DQUEUE_ONLY
31
32sm_os.h:
33 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
34
35.include <bsd.prog.mk>