1# $FreeBSD$ 2 3MAINTAINER= gshapiro@FreeBSD.org 4 5SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 6.PATH: ${SENDMAIL_DIR}/libsmutil 7 8CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 9CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL 10 11# User customizations to the sendmail build environment 12CFLAGS+=${SENDMAIL_CFLAGS} 13 14LIB= smutil 15 16SRCS+= sm_os.h 17SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c 18CLEANFILES+=sm_os.h 19 20INTERNALLIB= true 21 22sm_os.h: 23 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 24 25.include <bsd.lib.mk> 26