summaryrefslogtreecommitdiffstats
path: root/lib/libsmdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsmdb/Makefile')
-rw-r--r--lib/libsmdb/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile
new file mode 100644
index 0000000..1b4c33e
--- /dev/null
+++ b/lib/libsmdb/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
+.PATH: ${SENDMAIL_DIR}/libsmdb
+
+CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include
+CFLAGS+=-DNEWDB -DNOT_SENDMAIL
+
+LIB= smdb
+
+SRCS+= smdb.c smdb1.c smdb2.c smndbm.c
+
+INTERNALLIB= true
+NOPIC= true
+INTERNALSTATICLIB= true
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud