dmsg - Formalize most of the debugging output, cleanup, fix uninit bug
[dragonfly.git] / lib / libsmdb / Makefile
1 # $FreeBSD: src/lib/libsmdb/Makefile,v 1.1.2.5 2002/07/19 18:46:26 ru Exp $
2
3 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
4 .PATH:  ${SENDMAIL_DIR}/libsmdb
5
6 CFLAGS+=-I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
7 CFLAGS+=-DNEWDB -DNOT_SENDMAIL
8
9 # User customizations to the sendmail build environment
10 CFLAGS+=${SENDMAIL_CFLAGS}
11
12 LIB=    smdb
13
14 SRCS+=  sm_os.h
15 SRCS+=  smdb.c smdb1.c smdb2.c smndbm.c
16 CLEANFILES+=sm_os.h
17 WARNS?= 2
18
19 INTERNALLIB=            true
20
21 sm_os.h:
22         ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
23
24 .include <bsd.lib.mk>