HAMMER - Stabilize and refactor volume removal
[dragonfly.git] / lib / libsmdb / Makefile
blob9fffad3775bb019e1a0ec62299ea00038c627531
1 # $FreeBSD: src/lib/libsmdb/Makefile,v 1.1.2.5 2002/07/19 18:46:26 ru Exp $
2 # $DragonFly: src/lib/libsmdb/Makefile,v 1.9 2007/04/14 17:43:48 gshapiro Exp $
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
5 .PATH: ${SENDMAIL_DIR}/libsmdb
7 CFLAGS+=-I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
8 CFLAGS+=-DNEWDB -DNOT_SENDMAIL
10 # User customizations to the sendmail build environment
11 CFLAGS+=${SENDMAIL_CFLAGS}
13 LIB= smdb
15 SRCS+= sm_os.h
16 SRCS+= smdb.c smdb1.c smdb2.c smndbm.c
17 CLEANFILES+=sm_os.h
18 WARNS?= 3
20 INTERNALLIB= true
22 sm_os.h:
23 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
25 .include <bsd.lib.mk>