Makefile revision 270168
1# @(#)Makefile 8.1 (Berkeley) 7/2/95 2# $FreeBSD: head/libexec/smrsh/Makefile 270168 2014-08-19 15:04:32Z bdrewery $ 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 18WARNS?= 2 19 20SRCS+= sm_os.h 21CLEANFILES+=sm_os.h 22 23# User customizations to the sendmail build environment 24CFLAGS+=${SENDMAIL_CFLAGS} 25DPADD+=${SENDMAIL_DPADD} 26LDADD+=${SENDMAIL_LDADD} 27LDFLAGS+=${SENDMAIL_LDFLAGS} 28 29sm_os.h: 30 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 31 32.include <bsd.prog.mk> 33