Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / usr.sbin / mailstats / Makefile
blob86137b09c6978dde6e242102df403e77a15f6d16
1 # @(#)Makefile 8.2 (Berkeley) 9/21/96
2 # $FreeBSD$
4 SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
5 .PATH: ${SENDMAIL_DIR}/mailstats
7 PROG= mailstats
8 SRCS= mailstats.c
9 MAN= mailstats.8
11 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
12 CFLAGS+= -DNOT_SENDMAIL
14 LIBSMDIR= ${.OBJDIR}/../../lib/libsm
15 LIBSM= ${LIBSMDIR}/libsm.a
17 LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
18 LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
20 DPADD= ${LIBSMUTIL} ${LIBSM}
21 LDADD= ${LIBSMUTIL} ${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 sm_os.h:
33 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
35 .include <bsd.prog.mk>