diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2002-02-17 22:05:07 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2002-02-17 22:05:07 +0000 |
commit | 730b12a9a97574dedbbaf4b030508d12e352a2dd (patch) | |
tree | 588b0c80154fe0800ed93be988c1076a84c146b5 /lib | |
parent | 1e52eaa8307b970ecf1ca3fb19ca0c75f43765bb (diff) | |
download | FreeBSD-src-730b12a9a97574dedbbaf4b030508d12e352a2dd.zip FreeBSD-src-730b12a9a97574dedbbaf4b030508d12e352a2dd.tar.gz |
Update build infrastructure for sendmail 8.12.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsmdb/Makefile | 7 | ||||
-rw-r--r-- | lib/libsmutil/Makefile | 9 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile index 271dc67..816a1ec 100644 --- a/lib/libsmdb/Makefile +++ b/lib/libsmdb/Makefile @@ -5,7 +5,7 @@ MAINTAINER= gshapiro@FreeBSD.org SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail .PATH: ${SENDMAIL_DIR}/libsmdb -CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include +CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+=-DNEWDB -DNOT_SENDMAIL # User customizations to the sendmail build environment @@ -13,10 +13,15 @@ CFLAGS+=${SENDMAIL_CFLAGS} LIB= smdb +SRCS+= sm_os.h SRCS+= smdb.c smdb1.c smdb2.c smndbm.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> diff --git a/lib/libsmutil/Makefile b/lib/libsmutil/Makefile index 54560b7..fe65a06 100644 --- a/lib/libsmutil/Makefile +++ b/lib/libsmutil/Makefile @@ -5,7 +5,7 @@ MAINTAINER= gshapiro@FreeBSD.org SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail .PATH: ${SENDMAIL_DIR}/libsmutil -CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include +CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL # User customizations to the sendmail build environment @@ -13,10 +13,15 @@ CFLAGS+=${SENDMAIL_CFLAGS} LIB= smutil -SRCS+= debug.c errstring.c lockfile.c safefile.c snprintf.c strl.c +SRCS+= sm_os.h +SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.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> |