2000-08-12 22:39:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-10-26 23:02:36 +00:00
|
|
|
MAINTAINER= gshapiro@FreeBSD.org
|
|
|
|
|
2000-08-12 22:39:25 +00:00
|
|
|
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
|
|
|
.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}
|
|
|
|
|
2000-08-12 22:39:25 +00:00
|
|
|
LIB= smdb
|
|
|
|
|
2002-02-17 22:05:07 +00:00
|
|
|
SRCS+= sm_os.h
|
2000-08-12 22:39:25 +00:00
|
|
|
SRCS+= smdb.c smdb1.c smdb2.c smndbm.c
|
2002-02-17 22:05:07 +00:00
|
|
|
CLEANFILES+=sm_os.h
|
2000-08-12 22:39:25 +00:00
|
|
|
|
|
|
|
INTERNALLIB= true
|
|
|
|
|
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>
|