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