1# $FreeBSD$ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/libsmdb 5 6CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 7CFLAGS+=-DNEWDB -DNOT_SENDMAIL 8 9# User customizations to the sendmail build environment 10CFLAGS+=${SENDMAIL_CFLAGS} 11 12WARNS?= 3 13 14LIB= smdb 15 16SRCS+= sm_os.h 17SRCS+= smdb.c smdb1.c smdb2.c smndbm.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