1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=lib${LIB} 6SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/libsmutil 8 9CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 10CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL 11 12.if ${MK_OPENSSL} != "no" 13# STARTTLS support 14CFLAGS+=-DSTARTTLS 15.endif 16 17# User customizations to the sendmail build environment 18CFLAGS+=${SENDMAIL_CFLAGS} 19 20WARNS?= 2 21 22LIB= smutil 23 24SRCS+= sm_os.h 25SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c 26CLEANFILES+=sm_os.h 27 28INTERNALLIB= 29 30sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 31 ln -sf ${.ALLSRC} ${.TARGET} 32 33.include <bsd.lib.mk> 34