amd64 - mpt(4) should use {,u}int32_t for S32/U32
[dragonfly.git] / libexec / mail.local / Makefile
... / ...
CommitLineData
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 $
4
5SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
6.PATH: ${SENDMAIL_DIR}/mail.local
7
8PROG= mail.local
9SRCS= mail.local.c
10MAN= mail.local.8
11CFLAGS+=-I${SENDMAIL_DIR}/include -I.
12WARNS?= 2
13
14.if exists(${.OBJDIR}/../../lib/libsm)
15LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
16.else
17LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
18.endif
19LIBSM:= ${LIBSMDIR}/libsm.a
20
21DPADD= ${LIBSM}
22LDADD= ${LIBSM}
23
24SRCS+= sm_os.h
25CLEANFILES+=sm_os.h
26
27# User customizations to the sendmail build environment
28CFLAGS+=${SENDMAIL_CFLAGS}
29DPADD+=${SENDMAIL_DPADD}
30LDADD+=${SENDMAIL_LDADD}
31LDFLAGS+=${SENDMAIL_LDFLAGS}
32
33sm_os.h:
34 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
35
36.include <bsd.prog.mk>