File:  [DragonFly] / src / usr.bin / vacation / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Sat Jan 31 06:56:44 2004 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
MAINTAINER lines in Makefile's are no longer applicable, remove them.

    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.3 2004/01/31 06:56:44 dillon Exp $
    3: 
    4: SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
    5: .PATH:	${SENDMAIL_DIR}/vacation
    6: 
    7: PROG=	vacation
    8: SRCS=	vacation.c
    9: CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
   10: CFLAGS+=-DNEWDB -DNOT_SENDMAIL
   11: CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
   12: 
   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
   19: 
   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
   26: 
   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
   33: 
   34: DPADD=	${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
   35: LDADD=	${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
   36: 
   37: SRCS+=	sm_os.h
   38: CLEANFILES+=sm_os.h
   39: 
   40: # User customizations to the sendmail build environment
   41: CFLAGS+=${SENDMAIL_CFLAGS}
   42: DPADD+=${SENDMAIL_DPADD}
   43: LDADD+=${SENDMAIL_LDADD}
   44: LDFLAGS+=${SENDMAIL_LDFLAGS}
   45: 
   46: sm_os.h:
   47: 	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
   48: 
   49: .include <bsd.prog.mk>