2000-08-12 22:39:25 +00: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 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}
|
|
|
|
|
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
|
|
|
|
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 22:39:25 +00:00
|
|
|
.include <bsd.lib.mk>
|