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