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