1 # @(#)Makefile 8.1 (Berkeley) 7/19/93
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5 .PATH: ${SENDMAIL_DIR}/mail.local
10 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
13 .if exists(${.OBJDIR}/../../lib/libsm)
14 LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
16 LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
18 LIBSM:= ${LIBSMDIR}/libsm.a
26 # User customizations to the sendmail build environment
27 CFLAGS+=${SENDMAIL_CFLAGS}
28 DPADD+=${SENDMAIL_DPADD}
29 LDADD+=${SENDMAIL_LDADD}
30 LDFLAGS+=${SENDMAIL_LDFLAGS}
33 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
35 .include <bsd.prog.mk>