19cb5d94eSGlen BarberPACKAGE=sendmail 2a251f9dcSEnji CooperSENDMAIL_DIR=${SRCTOP}/contrib/sendmail 388c75941SGregory Neil Shapiro.PATH: ${SENDMAIL_DIR}/smrsh 431655e8aSPeter Wemm 531655e8aSPeter WemmPROG= smrsh 688c75941SGregory Neil ShapiroSRCS= smrsh.c 7e5b5c66bSRuslan ErmilovMAN= smrsh.8 8095dae9dSGregory Neil ShapiroCFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 988c75941SGregory Neil Shapiro 10ee5a34ecSBaptiste DaroussinLIBADD= sm 11095dae9dSGregory Neil Shapiro 121100c001SEd SchoutenWARNS?= 2 131100c001SEd Schouten 14095dae9dSGregory Neil ShapiroSRCS+= sm_os.h 15095dae9dSGregory Neil ShapiroCLEANFILES+=sm_os.h 1631655e8aSPeter Wemm 17cf1fec42SGregory Neil Shapiro# User customizations to the sendmail build environment 18cf1fec42SGregory Neil ShapiroCFLAGS+=${SENDMAIL_CFLAGS} 19cf1fec42SGregory Neil ShapiroDPADD+=${SENDMAIL_DPADD} 20c6cc6025SGregory Neil ShapiroLDADD+=${SENDMAIL_LDADD} 21c6cc6025SGregory Neil ShapiroLDFLAGS+=${SENDMAIL_LDFLAGS} 22cf1fec42SGregory Neil Shapiro 23b791fbe6SBryan Drewerysm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 24b791fbe6SBryan Drewery ln -sf ${.ALLSRC} ${.TARGET} 25095dae9dSGregory Neil Shapiro 2631655e8aSPeter Wemm.include <bsd.prog.mk> 27*525438eaSJohn Baldwin 28*525438eaSJohn BaldwinCWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 29