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 12LIB= smdb 13 14SRCS+= sm_os.h 15SRCS+= smdb.c smdb1.c smdb2.c smndbm.c 16CLEANFILES+=sm_os.h 17 18INTERNALLIB= 19 20sm_os.h: 21 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 22 23.include <bsd.lib.mk> 24