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