Merge from vendor branch GPERF:
[games.git] / lib / libsmutil / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/lib/libsmutil/Makefile,v 1.1.2.5 2002/07/19 18:46:26 ru Exp $
28c7b939 2# $DragonFly: src/lib/libsmutil/Makefile,v 1.3 2004/01/31 06:56:39 dillon Exp $
984263bc
MD
3
4SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
5.PATH: ${SENDMAIL_DIR}/libsmutil
6
7CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
8CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
9
10# User customizations to the sendmail build environment
11CFLAGS+=${SENDMAIL_CFLAGS}
12
13LIB= smutil
14
15SRCS+= sm_os.h
16SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
17CLEANFILES+=sm_os.h
18
19INTERNALLIB= true
20
21sm_os.h:
22 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
23
24.include <bsd.lib.mk>