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