# $FreeBSD$ SENDMAIL_DIR = ${BSDSRCTOP}/contrib/sendmail .PATH: ${SENDMAIL_DIR}/libsm CFLAGS += -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS += -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL CFLAGS += -DNETINET6 # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} LIB = sm INTERNALLIB = SRCS += \ assert.c \ cf.c \ clock.c \ clrerr.c \ config.c \ debug.c \ errstring.c \ exc.c \ fclose.c \ feof.c \ ferror.c \ fflush.c \ fget.c \ findfp.c \ flags.c \ fopen.c \ fpos.c \ fprintf.c \ fpurge.c \ fput.c \ fread.c \ fscanf.c \ fseek.c \ fvwrite.c \ fwalk.c \ fwrite.c \ get.c \ heap.c \ ldap.c \ makebuf.c \ match.c \ mbdb.c \ memstat.c \ mpeix.c \ niprop.c \ path.c \ put.c \ refill.c \ rewind.c \ rpool.c \ sem.c \ setvbuf.c \ shm.c \ signal.c \ smstdio.c \ snprintf.c \ sscanf.c \ stdio.c \ strcasecmp.c \ strdup.c \ strerror.c \ strexit.c \ string.c \ stringf.c \ strio.c \ strl.c \ strrevcmp.c \ strto.c \ test.c \ ungetc.c \ util.c \ vasprintf.c \ vfprintf.c \ vfscanf.c \ vprintf.c \ vsnprintf.c \ wbuf.c \ wsetup.c \ xtrap.c BUILTFILES += sm_os.h sm_os.h: cp ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h ${.TARGET} .include