diff options
Diffstat (limited to 'lib/libsmdb')
-rw-r--r-- | lib/libsmdb/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile new file mode 100644 index 0000000..816a1ec --- /dev/null +++ b/lib/libsmdb/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +MAINTAINER= gshapiro@FreeBSD.org + +SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail +.PATH: ${SENDMAIL_DIR}/libsmdb + +CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. +CFLAGS+=-DNEWDB -DNOT_SENDMAIL + +# User customizations to the sendmail build environment +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> |