xref: /freebsd/usr.bin/vacation/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1a35f04fbSWarner LoshSENDMAIL_DIR=${SRCTOP}/contrib/sendmail
28108227dSGregory Neil Shapiro.PATH:	${SENDMAIL_DIR}/vacation
38108227dSGregory Neil Shapiro
49b50d902SRodney W. GrimesPROG=	vacation
5095dae9dSGregory Neil ShapiroSRCS=	vacation.c
6095dae9dSGregory Neil ShapiroCFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
78108227dSGregory Neil ShapiroCFLAGS+=-DNEWDB -DNOT_SENDMAIL
88108227dSGregory Neil ShapiroCFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
98108227dSGregory Neil Shapiro
10b7946da9SEd SchoutenWARNS?=	2
11b7946da9SEd Schouten
123e11bd9eSBaptiste DaroussinLIBADD=	smdb smutil sm
13095dae9dSGregory Neil Shapiro
14095dae9dSGregory Neil ShapiroSRCS+=	sm_os.h
15095dae9dSGregory Neil ShapiroCLEANFILES+=sm_os.h
168108227dSGregory Neil Shapiro
178108227dSGregory Neil Shapiro# User customizations to the sendmail build environment
188108227dSGregory Neil ShapiroCFLAGS+=${SENDMAIL_CFLAGS}
198108227dSGregory Neil ShapiroDPADD+=${SENDMAIL_DPADD}
203866ec80SGregory Neil ShapiroLDADD+=${SENDMAIL_LDADD}
213866ec80SGregory Neil ShapiroLDFLAGS+=${SENDMAIL_LDFLAGS}
2269f82554SJoerg Wunsch
23b791fbe6SBryan Drewerysm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
24b791fbe6SBryan Drewery	ln -sf ${.ALLSRC} ${.TARGET}
25095dae9dSGregory Neil Shapiro
269b50d902SRodney W. Grimes.include <bsd.prog.mk>
27*525438eaSJohn Baldwin
28*525438eaSJohn BaldwinCWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}
29