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