2000-08-12 22:39:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2017-01-20 04:35:18 +00:00
|
|
|
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
2000-08-12 22:39:25 +00:00
|
|
|
.PATH: ${SENDMAIL_DIR}/libsmdb
|
|
|
|
|
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 -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?= 3
|
|
|
|
|
2000-08-12 22:39:25 +00:00
|
|
|
LIB= smdb
|
|
|
|
|
2002-02-17 22:05:07 +00:00
|
|
|
SRCS+= sm_os.h
|
2020-07-15 18:28:54 +00:00
|
|
|
SRCS+= smdb.c smdb1.c smdb2.c smndbm.c smcdb.c
|
2002-02-17 22:05:07 +00:00
|
|
|
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>
|