Makefile revision 90798
138096Speter# @(#)Makefile 8.2 (Berkeley) 9/21/96 264567Sgshapiro# $FreeBSD: head/usr.sbin/praliases/Makefile 90798 2002-02-17 22:05:07Z gshapiro $ 338096Speter 467660SgshapiroMAINTAINER= gshapiro@FreeBSD.org 567660Sgshapiro 680029SobrienSENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail 780029Sobrien.PATH: ${SENDMAIL_DIR}/praliases 838096Speter 938096SpeterPROG= praliases 1090798SgshapiroSRCS= praliases.c 1174816SruMAN= praliases.8 1238096Speter 1390798SgshapiroCFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 1480029SobrienCFLAGS+= -DNEWDB -DNOT_SENDMAIL 1580029Sobrien 1690798Sgshapiro.if exists(${.OBJDIR}/../../lib/libsm) 1790798SgshapiroLIBSMDIR:= ${.OBJDIR}/../../lib/libsm 1890798Sgshapiro.else 1990798SgshapiroLIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR 2090798Sgshapiro.endif 2190798SgshapiroLIBSM:= ${LIBSMDIR}/libsm.a 2290798Sgshapiro 2364567Sgshapiro.if exists(${.OBJDIR}/../../lib/libsmdb) 2464567SgshapiroLIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb 2564567Sgshapiro.else 2664567SgshapiroLIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR 2764567Sgshapiro.endif 2864567SgshapiroLIBSMDB:= ${LIBSMDBDIR}/libsmdb.a 2964567Sgshapiro 3064567Sgshapiro.if exists(${.OBJDIR}/../../lib/libsmutil) 3164567SgshapiroLIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil 3264567Sgshapiro.else 3364567SgshapiroLIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR 3464567Sgshapiro.endif 3564567SgshapiroLIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a 3664567Sgshapiro 3790798SgshapiroDPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 3890798SgshapiroLDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 3964567Sgshapiro 4090798SgshapiroSRCS+= sm_os.h 4190798SgshapiroCLEANFILES+=sm_os.h 4290798Sgshapiro 4365970Sgshapiro# User customizations to the sendmail build environment 4480029SobrienCFLAGS+= ${SENDMAIL_CFLAGS} 4565970SgshapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 4680029SobrienDPADD+= ${SENDMAIL_DPADD} 4780029SobrienLDADD+= ${SENDMAIL_LDADD} 4865970Sgshapiro 4990798Sgshapirosm_os.h: 5090798Sgshapiro ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 5190798Sgshapiro 5238096Speter.include <bsd.prog.mk> 53