diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2000-08-12 22:39:25 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2000-08-12 22:39:25 +0000 |
commit | 002ef51d6eb85e40acd7d5111adaccddc33e3880 (patch) | |
tree | 372ed1ec3b3cdaae188c1397c5724ee2a49a924c /lib | |
parent | b107abc272e6f4eb2fa7e8fd4e2008fb91cd2914 (diff) | |
download | FreeBSD-src-002ef51d6eb85e40acd7d5111adaccddc33e3880.zip FreeBSD-src-002ef51d6eb85e40acd7d5111adaccddc33e3880.tar.gz |
The rest of the changes needed to support the new version of sendmail (8.11.0).
Beyond changes to the build system, this includes fixing up the sample
freebsd.mc configuration for changes in defaults and syntax, removing
outdated documentation, and updating the release notes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 7 | ||||
-rw-r--r-- | lib/libsmdb/Makefile | 17 | ||||
-rw-r--r-- | lib/libsmutil/Makefile | 17 |
3 files changed, 40 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 2a2876c..e24a75e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -26,7 +26,7 @@ SUBDIR= ${_csu} libcom_err ${_libcrypt} msun libmd \ libftpio libgnumalloc ${_libio} libipsec libipx libkvm libmenu \ ${_libncp} \ libnetgraph libopie libpam libpanel libpcap \ - libposix1e libresolv librpcsvc libss \ + libposix1e libresolv librpcsvc ${_libsmdb} libss ${_libsmutil} \ libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT}) @@ -43,6 +43,11 @@ _libc_r= libc_r _libbind= libbind .endif +.if !defined(NO_SENDMAIL) +_libsmdb= libsmdb +_libsmutil= libsmutil +.endif + _libcrypt= libcrypt .if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT) && !defined(NO_DESCRYPT) # Build both libraries. They have different names, so no harm, 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> 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> |