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
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
16 LIBSMDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libsm
; make
-V .OBJDIR
18 LIBSM
:= ${LIBSMDIR}/libsm.a
20 .if exists
(${.OBJDIR
}/..
/..
/lib
/libsmdb
)
21 LIBSMDBDIR
:= ${.OBJDIR
}/..
/..
/lib
/libsmdb
23 LIBSMDBDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libsmdb
; make
-V .OBJDIR
25 LIBSMDB
:= ${LIBSMDBDIR}/libsmdb.a
27 .if exists
(${.OBJDIR
}/..
/..
/lib
/libsmutil
)
28 LIBSMUTILDIR
:= ${.OBJDIR
}/..
/..
/lib
/libsmutil
30 LIBSMUTILDIR
!= cd
${.CURDIR
}/..
/..
/lib
/libsmutil
; make
-V .OBJDIR
32 LIBSMUTIL
:= ${LIBSMUTILDIR}/libsmutil.a
34 DPADD
= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
35 LDADD
= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
40 # User customizations to the sendmail build environment
41 CFLAGS
+=${SENDMAIL_CFLAGS}
42 DPADD
+=${SENDMAIL_DPADD}
43 LDADD
+=${SENDMAIL_LDADD}
44 LDFLAGS
+=${SENDMAIL_LDFLAGS}
47 ${LN} -sf
${SENDMAIL_DIR}/include/sm
/os
/sm_os_dragonfly.h sm_os.h
49 .
include <bsd.prog.mk
>