1# $FreeBSD$ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/editmap 5 6PROG= editmap 7SRCS= editmap.c 8MAN= editmap.8 9 10CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 11CFLAGS+= -DNEWDB -DNOT_SENDMAIL 12 13WARNS?= 2 14 15LIBADD= smdb smutil sm 16 17SRCS+= sm_os.h 18CLEANFILES+=sm_os.h 19 20# User customizations to the sendmail build environment 21CFLAGS+=${SENDMAIL_CFLAGS} 22DPADD+=${SENDMAIL_DPADD} 23LDADD+=${SENDMAIL_LDADD} 24LDFLAGS+=${SENDMAIL_LDFLAGS} 25 26sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 27 ln -sf ${.ALLSRC} ${.TARGET} 28 29.include <bsd.prog.mk> 30