Update llvm to trunk r256945.
[freebsd.git] / lib / libsmutil / Makefile
1 # $FreeBSD$
2
3 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
4 .PATH:  ${SENDMAIL_DIR}/libsmutil
5
6 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
7 CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
8
9 # User customizations to the sendmail build environment
10 CFLAGS+=${SENDMAIL_CFLAGS}
11
12 WARNS?= 2
13
14 LIB=    smutil
15
16 SRCS+=  sm_os.h
17 SRCS+=  debug.c err.c lockfile.c safefile.c snprintf.c cf.c
18 CLEANFILES+=sm_os.h
19
20 INTERNALLIB=
21
22 sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
23         ln -sf ${.ALLSRC} ${.TARGET}
24
25 .include <bsd.lib.mk>