summaryrefslogtreecommitdiffstats
path: root/lib/libsm
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 22:01:40 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 22:01:40 +0000
commitecfa0fa2567dcb7f59f437d0077cb852a7b4122f (patch)
tree0a42c2b46e76959dc789f2f6e6af730ad4499c0b /lib/libsm
parentabfa0083ecf0cbde95c81f59afd36870955aeb56 (diff)
downloadFreeBSD-src-ecfa0fa2567dcb7f59f437d0077cb852a7b4122f.zip
FreeBSD-src-ecfa0fa2567dcb7f59f437d0077cb852a7b4122f.tar.gz
Add two new libraries which are part of sendmail 8.12. libsm is used only
for building sendmail and the associated utilities. libmilter is a new mail filtering API for sendmail.
Diffstat (limited to 'lib/libsm')
-rw-r--r--lib/libsm/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
new file mode 100644
index 0000000..b3b74d8
--- /dev/null
+++ b/lib/libsm/Makefile
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+MAINTAINER= gshapiro@FreeBSD.org
+
+SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
+.PATH: ${SENDMAIL_DIR}/libsm
+
+CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
+CFLAGS+=-DNETINET6 -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
+
+# User customizations to the sendmail build environment
+CFLAGS+=${SENDMAIL_CFLAGS}
+
+LIB= sm
+
+SRCS+= sm_os.h
+SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
+ strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \
+ fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
+ fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \
+ fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \
+ smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \
+ vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \
+ vsprintf.c vsscanf.c wbuf.c wsetup.c string.c stringf.c \
+ xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c \
+ signal.c clock.c config.c shm.c mbdb.c strexit.c cf.c ldap.c \
+ niprop.c mpeix.c
+CLEANFILES+=sm_os.h
+
+INTERNALLIB= true
+NOPIC= true
+INTERNALSTATICLIB= true
+
+sm_os.h:
+ ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud