1# @(#)Makefile 8.1 (Berkeley) 7/2/95 2# $FreeBSD$ 3 4PACKAGE=sendmail 5SENDMAIL_DIR=${SRCTOP}/contrib/sendmail 6.PATH: ${SENDMAIL_DIR}/smrsh 7 8PROG= smrsh 9SRCS= smrsh.c 10MAN= smrsh.8 11CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. 12 13LIBADD= sm 14 15WARNS?= 2 16 17SRCS+= sm_os.h 18CLEANFILES+=sm_os.h 19 20# User customizations to the sendmail build environment 21CFLAGS+=${SENDMAIL_CFLAGS} 22DPADD+=${SENDMAIL_DPADD} 23LDADD+=${SENDMAIL_LDADD} 24LDFLAGS+=${SENDMAIL_LDFLAGS} 25 26sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA 27 ln -sf ${.ALLSRC} ${.TARGET} 28 29.include <bsd.prog.mk> 30 31CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} 32