Makefile revision 232263
136849Sdfr# $FreeBSD: head/usr.bin/vacation/Makefile 232263 2012-02-28 18:30:18Z dim $ 238357Sjdp 336849SdfrSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 436849Sdfr.PATH: ${SENDMAIL_DIR}/vacation 536849Sdfr 636849SdfrPROG= vacation 736849SdfrSRCS= vacation.c 836849SdfrCFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 936849SdfrCFLAGS+=-DNEWDB -DNOT_SENDMAIL 1036849SdfrCFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 1136849Sdfr 1236849SdfrWARNS?= 2 1336849Sdfr 1436849Sdfr# Unfortunately, clang gives warnings about sendmail code that cannot 1536849Sdfr# be turned off yet. Since this is contrib code, and we don't really 1636849Sdfr# care about the warnings, just make them non-fatal for now. 1736849SdfrNO_WERROR.clang= 1836849Sdfr 1936849SdfrLIBSMDIR= ${.OBJDIR}/../../lib/libsm 2036849SdfrLIBSM= ${LIBSMDIR}/libsm.a 2136849Sdfr 2236849SdfrLIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb 2336849SdfrLIBSMDB= ${LIBSMDBDIR}/libsmdb.a 2436849Sdfr 2536849SdfrLIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 2650477SpeterLIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 2736849Sdfr 2836849SdfrDPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 2936849SdfrLDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 3036849Sdfr 3136849SdfrSRCS+= sm_os.h 3238357SjdpCLEANFILES+=sm_os.h 3338357Sjdp 3436849Sdfr# User customizations to the sendmail build environment 3536849SdfrCFLAGS+=${SENDMAIL_CFLAGS} 3636849SdfrDPADD+=${SENDMAIL_DPADD} 3736849SdfrLDADD+=${SENDMAIL_LDADD} 38153504SmarcelLDFLAGS+=${SENDMAIL_LDFLAGS} 39153504Smarcel 40153504Smarcelsm_os.h: 41153504Smarcel ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 42153504Smarcel 43153504Smarcel.include <bsd.prog.mk> 44163016Sjb