1# @(#)Makefile 8.8 (Berkeley) 3/28/97 |
2# $FreeBSD: head/usr.sbin/sendmail/Makefile 267147 2014-06-06 04:09:07Z imp $ |
3 4.include <src.opts.mk> 5 6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 7SMDIR= ${SENDMAIL_DIR}/src 8.PATH: ${SMDIR} 9 10BINDIR= /usr/libexec/sendmail --- 44 unchanged lines hidden (view full) --- 55LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 56 57DPADD+= ${LIBSMUTIL} ${LIBSM} 58LDADD+= ${LIBSMUTIL} ${LIBSM} 59 60SRCS+= sm_os.h 61CLEANFILES+=sm_os.h 62 |
63.if ${MK_OPENSSL} != "no" |
64# STARTTLS support 65CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 66DPADD+= ${LIBSSL} ${LIBCRYPTO} 67LDADD+= -lssl -lcrypto 68.endif 69 70# User customizations to the sendmail build environment 71CFLAGS+=${SENDMAIL_CFLAGS} 72DPADD+=${SENDMAIL_DPADD} 73LDADD+=${SENDMAIL_LDADD} 74LDFLAGS+=${SENDMAIL_LDFLAGS} 75 76sm_os.h: 77 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 78 79.include <bsd.prog.mk> |