1# @(#)Makefile 8.1 (Berkeley) 7/19/93
| 1# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
2# $FreeBSD: stable/9/libexec/mail.local/Makefile 232930 2012-03-13 18:39:57Z dim $
| 2# $FreeBSD: stable/9/libexec/mail.local/Makefile 247333 2013-02-26 18:31:03Z dim $
|
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
| 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
|
15# Unfortunately, clang gives warnings about sendmail code that cannot 16# be turned off yet. Since this is contrib code, and we don't really 17# care about the warnings, just make them non-fatal for now. 18NO_WERROR.clang= 19
| |
20LIBSMDIR= ${.OBJDIR}/../../lib/libsm 21LIBSM= ${LIBSMDIR}/libsm.a 22 23DPADD= ${LIBSM} 24LDADD= ${LIBSM} 25 26SRCS+= sm_os.h 27CLEANFILES+=sm_os.h 28 29# User customizations to the sendmail build environment 30CFLAGS+=${SENDMAIL_CFLAGS} 31DPADD+=${SENDMAIL_DPADD} 32LDADD+=${SENDMAIL_LDADD} 33LDFLAGS+=${SENDMAIL_LDFLAGS} 34 35sm_os.h: 36 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 37 38.include <bsd.prog.mk>
| 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>
|