freebsd-src/libexec/smrsh/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
572 B
Makefile
Raw Permalink Normal View History

PACKAGE=sendmail
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/smrsh
1998-08-04 16:31:31 +01:00
PROG= smrsh
SRCS= smrsh.c
MAN= smrsh.8
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
2014-11-25 21:18:18 +00:00
LIBADD= sm
WARNS?= 2
SRCS+= sm_os.h
CLEANFILES+=sm_os.h
1998-08-04 16:31:31 +01:00
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
DPADD+=${SENDMAIL_DPADD}
2000-10-11 06:04:21 +01:00
LDADD+=${SENDMAIL_LDADD}
LDFLAGS+=${SENDMAIL_LDFLAGS}
sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
ln -sf ${.ALLSRC} ${.TARGET}
1998-08-04 16:31:31 +01:00
.include <bsd.prog.mk>
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}