]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libsmdb/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libsmdb / Makefile
1 # $FreeBSD$
2
3 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
4 .PATH:  ${SENDMAIL_DIR}/libsmdb
5
6 CFLAGS+=-I${SENDMAIL_DIR}/src -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 WARNS?= 3
13
14 LIB=    smdb
15
16 SRCS+=  sm_os.h
17 SRCS+=  smdb.c smdb1.c smdb2.c smndbm.c
18 CLEANFILES+=sm_os.h
19
20 INTERNALLIB=
21
22 sm_os.h:
23         ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
24
25 .include <bsd.lib.mk>