2000-08-12 23:39:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
|
|
|
.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 23:39:25 +01:00
|
|
|
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
|
|
|
|
2000-09-17 01:41:33 +01:00
|
|
|
# User customizations to the sendmail build environment
|
|
|
|
CFLAGS+=${SENDMAIL_CFLAGS}
|
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2000-08-12 23:39:25 +01: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 23:39:25 +01:00
|
|
|
|
2004-10-24 16:33:08 +01:00
|
|
|
INTERNALLIB=
|
2000-08-12 23:39:25 +01:00
|
|
|
|
2002-02-17 22:05:07 +00:00
|
|
|
sm_os.h:
|
|
|
|
ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
|
|
|
|
|
2000-08-12 23:39:25 +01:00
|
|
|
.include <bsd.lib.mk>
|