Makefile revision 303975
1# $FreeBSD: releng/11.0/lib/libsmutil/Makefile 298107 2016-04-16 07:45:30Z gjb $ 2 3PACKAGE=lib${LIB} 4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 5.PATH: ${SENDMAIL_DIR}/libsmutil 6 7CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 8CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL 9 10# User customizations to the sendmail build environment 11CFLAGS+=${SENDMAIL_CFLAGS} 12 13WARNS?= 2 14 15LIB= smutil 16 17SRCS+= sm_os.h 18SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c 19CLEANFILES+=sm_os.h 20 21INTERNALLIB= 22 23sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 24 ln -sf ${.ALLSRC} ${.TARGET} 25 26.include <bsd.lib.mk> 27