2000-08-12 22:39:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2017-01-20 04:34:34 +00:00
|
|
|
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
2000-08-12 22:39:25 +00:00
|
|
|
.PATH: ${SENDMAIL_DIR}/libsmutil
|
|
|
|
|
2002-02-17 22:05:07 +00:00
|
|
|
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
2000-08-12 22:39:25 +00:00
|
|
|
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
|
|
|
|
2000-09-17 00:41:33 +00:00
|
|
|
# User customizations to the sendmail build environment
|
|
|
|
CFLAGS+=${SENDMAIL_CFLAGS}
|
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2000-08-12 22:39:25 +00:00
|
|
|
LIB= smutil
|
|
|
|
|
2002-02-17 22:05:07 +00:00
|
|
|
SRCS+= sm_os.h
|
|
|
|
SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
|
|
|
|
CLEANFILES+=sm_os.h
|
2000-08-12 22:39:25 +00:00
|
|
|
|
2004-10-24 15:33:08 +00:00
|
|
|
INTERNALLIB=
|
2000-08-12 22:39:25 +00:00
|
|
|
|
2015-11-25 19:44:43 +00:00
|
|
|
sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
|
|
|
|
ln -sf ${.ALLSRC} ${.TARGET}
|
2002-02-17 22:05:07 +00:00
|
|
|
|
2000-08-12 22:39:25 +00:00
|
|
|
.include <bsd.lib.mk>
|