Makefile revision 291320
1#	@(#)Makefile	8.1 (Berkeley) 7/2/95
2# $FreeBSD: head/libexec/smrsh/Makefile 291320 2015-11-25 19:44:43Z 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
12LIBADD=	sm
13
14WARNS?=	2
15
16SRCS+=	sm_os.h
17CLEANFILES+=sm_os.h
18
19# User customizations to the sendmail build environment
20CFLAGS+=${SENDMAIL_CFLAGS}
21DPADD+=${SENDMAIL_DPADD}
22LDADD+=${SENDMAIL_LDADD}
23LDFLAGS+=${SENDMAIL_LDFLAGS}
24
25sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
26	ln -sf ${.ALLSRC} ${.TARGET}
27
28.include <bsd.prog.mk>
29