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