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