Remove more unused variables in userland.
[dragonfly.git] / libexec / mail.local / Makefile
blob1661e8b3e421303733fa330f05687cbc8d1a8d3a
1 # @(#)Makefile 8.1 (Berkeley) 7/19/93
2 # $FreeBSD: src/libexec/mail.local/Makefile,v 1.10.2.7 2002/03/25 21:31:38 gshapiro Exp $
3 # $DragonFly: src/libexec/mail.local/Makefile,v 1.9 2007/04/14 17:43:48 gshapiro Exp $
5 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
6 .PATH: ${SENDMAIL_DIR}/mail.local
8 PROG= mail.local
9 SRCS= mail.local.c
10 MAN= mail.local.8
11 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
12 WARNS?= 2
14 .if exists(${.OBJDIR}/../../lib/libsm)
15 LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
16 .else
17 LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
18 .endif
19 LIBSM:= ${LIBSMDIR}/libsm.a
21 DPADD= ${LIBSM}
22 LDADD= ${LIBSM}
24 SRCS+= sm_os.h
25 CLEANFILES+=sm_os.h
27 # User customizations to the sendmail build environment
28 CFLAGS+=${SENDMAIL_CFLAGS}
29 DPADD+=${SENDMAIL_DPADD}
30 LDADD+=${SENDMAIL_LDADD}
31 LDFLAGS+=${SENDMAIL_LDFLAGS}
33 sm_os.h:
34 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
36 .include <bsd.prog.mk>