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. 11 12WARNS?= 2 13WFORMAT=0 14 15LIBSMDIR= ${.OBJDIR}/../../lib/libsm 16LIBSM= ${LIBSMDIR}/libsm.a 17 18DPADD= ${LIBSM} 19LDADD= ${LIBSM} 20 21SRCS+= sm_os.h 22CLEANFILES+=sm_os.h 23 24# User customizations to the sendmail build environment 25CFLAGS+=${SENDMAIL_CFLAGS} 26DPADD+=${SENDMAIL_DPADD} 27LDADD+=${SENDMAIL_LDADD} 28LDFLAGS+=${SENDMAIL_LDFLAGS} 29 30sm_os.h: 31 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 32 33.include <bsd.prog.mk> 34