1.include <src.opts.mk> 2 3PACKAGE=sendmail 4SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/libsm 6 7CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 8CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL 9CFLAGS+=-DHAVE_NANOSLEEP 10 11.if ${MK_INET6_SUPPORT} != "no" 12CFLAGS+=-DNETINET6 13.endif 14 15# User customizations to the sendmail build environment 16CFLAGS+=${SENDMAIL_CFLAGS} 17 18WARNS?= 2 19 20LIB= sm 21 22SRCS+= sm_os.h 23SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \ 24 strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \ 25 fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \ 26 fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \ 27 fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \ 28 smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \ 29 vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \ 30 wbuf.c wsetup.c string.c stringf.c \ 31 xtrap.c strto.c test.c strcasecmp.c strrevcmp.c \ 32 signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c ldap.c \ 33 niprop.c mpeix.c memstat.c util.c inet6_ntop.c notify.c \ 34 ilenx.c xleni.c utf8_valid.c uxtext_unquote.c lowercase.c strcaseeq.c 35CLEANFILES+=sm_os.h 36 37INTERNALLIB= 38 39sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 40 ln -sf ${.ALLSRC} ${.TARGET} 41 42.include <bsd.lib.mk> 43 44CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 45