Clarify that the argument to -t is in seconds.
[dragonfly/netmp.git] / usr.sbin / mailstats / Makefile
blob16a0893266f53b01e8a0ebed2eb43ce8fd4fc366
1 # @(#)Makefile 8.2 (Berkeley) 9/21/96
2 # $FreeBSD: src/usr.sbin/mailstats/Makefile,v 1.1.6.6 2002/03/25 21:31:43 gshapiro Exp $
3 # $DragonFly: src/usr.sbin/mailstats/Makefile,v 1.9 2007/04/14 17:43:48 gshapiro Exp $
5 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
6 .PATH: ${SENDMAIL_DIR}/mailstats
8 PROG= mailstats
9 SRCS= mailstats.c
10 MAN= mailstats.8
12 CFLAGS+= -I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
13 CFLAGS+= -DNOT_SENDMAIL
15 .if exists(${.OBJDIR}/../../lib/libsm)
16 LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
17 .else
18 LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
19 .endif
20 LIBSM:= ${LIBSMDIR}/libsm.a
22 .if exists(${.OBJDIR}/../../lib/libsmutil)
23 LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
24 .else
25 LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
26 .endif
27 LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
29 DPADD= ${LIBSMUTIL} ${LIBSM}
30 LDADD= ${LIBSMUTIL} ${LIBSM}
32 SRCS+= sm_os.h
33 CLEANFILES+=sm_os.h
35 # User customizations to the sendmail build environment
36 CFLAGS+=${SENDMAIL_CFLAGS}
37 DPADD+=${SENDMAIL_DPADD}
38 LDADD+=${SENDMAIL_LDADD}
39 LDFLAGS+=${SENDMAIL_LDFLAGS}
41 sm_os.h:
42 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
44 .include <bsd.prog.mk>