1 # @(#)Makefile 8.1 (Berkeley) 7/2/95
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5 .PATH: ${SENDMAIL_DIR}/smrsh
10 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
12 LIBSMDIR= ${.OBJDIR}/../../lib/libsm
13 LIBSM= ${LIBSMDIR}/libsm.a
20 # Unfortunately, clang gives warnings about sendmail code that cannot
21 # be turned off yet. Since this is contrib code, and we don't really
22 # care about the warnings, just make them non-fatal for now.
28 # User customizations to the sendmail build environment
29 CFLAGS+=${SENDMAIL_CFLAGS}
30 DPADD+=${SENDMAIL_DPADD}
31 LDADD+=${SENDMAIL_LDADD}
32 LDFLAGS+=${SENDMAIL_LDFLAGS}
35 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
37 .include <bsd.prog.mk>