1# $FreeBSD: releng/10.2/lib/libsmdb/Makefile 201381 2010-01-02 09:58:07Z ed $ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/libsmdb 5 6CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 7CFLAGS+=-DNEWDB -DNOT_SENDMAIL 8 9# User customizations to the sendmail build environment 10CFLAGS+=${SENDMAIL_CFLAGS} 11 12WARNS?= 3 13 14LIB= smdb 15 16SRCS+= sm_os.h 17SRCS+= smdb.c smdb1.c smdb2.c smndbm.c 18CLEANFILES+=sm_os.h 19 20INTERNALLIB= 21 22sm_os.h: 23 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 24 25.include <bsd.lib.mk> 26