Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / bin / rmail / Makefile
blobbf65d1c1a5077fac97c3f1d4fca9d1c94c461382
1 # @(#)Makefile 8.1 (Berkeley) 5/31/93
2 # $FreeBSD$
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5 .PATH: ${SENDMAIL_DIR}/rmail
7 # Not much point this being static. It calls a shared sendmail...
8 NO_SHARED?= NO
10 PROG= rmail
11 SRCS= rmail.c
12 MAN= rmail.8
14 WARNS?= 0
15 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
17 LIBSMDIR= ${.OBJDIR}/../../lib/libsm
18 LIBSM= ${LIBSMDIR}/libsm.a
20 DPADD= ${LIBSM}
21 LDADD= ${LIBSM}
23 SRCS+= sm_os.h
24 CLEANFILES+=sm_os.h
26 # User customizations to the sendmail build environment
27 CFLAGS+=${SENDMAIL_CFLAGS}
28 DPADD+=${SENDMAIL_DPADD}
29 LDADD+=${SENDMAIL_LDADD}
30 LDFLAGS+=${SENDMAIL_LDFLAGS}
32 # If you want to have your rmail queuing the mail only, uncomment the
33 # following:
34 # CFLAGS+= -DQUEUE_ONLY
36 sm_os.h:
37 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
39 .include <bsd.prog.mk>