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