kern_recvmsg() may not return a valid(non-NULL) pointer to `sa'
[dragonfly.git] / usr.bin / vacation / Makefile
blobaaf8618e32df18e80ae599b49413b6643bf0035d
1 # $FreeBSD: src/usr.bin/vacation/Makefile,v 1.6.2.3 2002/03/25 21:31:50 gshapiro Exp $
2 # $DragonFly: src/usr.bin/vacation/Makefile,v 1.9 2006/08/18 03:06:59 gshapiro Exp $
4 SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.13.8
5 .PATH: ${SENDMAIL_DIR}/vacation
7 PROG= vacation
8 SRCS= vacation.c
9 CFLAGS+=-I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
10 CFLAGS+=-DNEWDB -DNOT_SENDMAIL
11 CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
13 .if exists(${.OBJDIR}/../../lib/libsm)
14 LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
15 .else
16 LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
17 .endif
18 LIBSM:= ${LIBSMDIR}/libsm.a
20 .if exists(${.OBJDIR}/../../lib/libsmdb)
21 LIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb
22 .else
23 LIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR
24 .endif
25 LIBSMDB:= ${LIBSMDBDIR}/libsmdb.a
27 .if exists(${.OBJDIR}/../../lib/libsmutil)
28 LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
29 .else
30 LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
31 .endif
32 LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
34 DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
35 LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
37 SRCS+= sm_os.h
38 CLEANFILES+=sm_os.h
40 # User customizations to the sendmail build environment
41 CFLAGS+=${SENDMAIL_CFLAGS}
42 DPADD+=${SENDMAIL_DPADD}
43 LDADD+=${SENDMAIL_LDADD}
44 LDFLAGS+=${SENDMAIL_LDFLAGS}
46 sm_os.h:
47 ${LN} -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_dragonfly.h sm_os.h
49 .include <bsd.prog.mk>