Collapse gd_astpending and gd_reqpri together into gd_reqflags. gd_reqflags
[dragonfly.git] / lib / libsmutil / Makefile
1 # $FreeBSD: src/lib/libsmutil/Makefile,v 1.1.2.5 2002/07/19 18:46:26 ru Exp $
2 # $DragonFly: src/lib/libsmutil/Makefile,v 1.2 2003/06/17 04:26:51 dillon Exp $
3
4 MAINTAINER=     gshapiro@FreeBSD.org
5
6 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
7 .PATH:  ${SENDMAIL_DIR}/libsmutil
8
9 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
10 CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
11
12 # User customizations to the sendmail build environment
13 CFLAGS+=${SENDMAIL_CFLAGS}
14
15 LIB=    smutil
16
17 SRCS+=  sm_os.h
18 SRCS+=  debug.c err.c lockfile.c safefile.c snprintf.c cf.c
19 CLEANFILES+=sm_os.h
20
21 INTERNALLIB=            true
22
23 sm_os.h:
24         ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
25
26 .include <bsd.lib.mk>