Makefile revision 267233
1# $FreeBSD: head/usr.bin/vacation/Makefile 267233 2014-06-08 17:29:31Z bdrewery $ 2 3SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 4.PATH: ${SENDMAIL_DIR}/vacation 5 6PROG= vacation 7SRCS= vacation.c 8CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 9CFLAGS+=-DNEWDB -DNOT_SENDMAIL 10CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG 11 12WARNS?= 2 13 14LIBSMDIR= ${.OBJDIR}/../../lib/libsm 15LIBSM= ${LIBSMDIR}/libsm.a 16 17LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb 18LIBSMDB= ${LIBSMDBDIR}/libsmdb.a 19 20LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil 21LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a 22 23DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 24LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM} 25 26SRCS+= sm_os.h 27CLEANFILES+=sm_os.h 28 29# User customizations to the sendmail build environment 30CFLAGS+=${SENDMAIL_CFLAGS} 31DPADD+=${SENDMAIL_DPADD} 32LDADD+=${SENDMAIL_LDADD} 33LDFLAGS+=${SENDMAIL_LDFLAGS} 34 35NO_PIE= yes 36 37sm_os.h: 38 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 39 40.include <bsd.prog.mk> 41