diff options
author | Mark Murray <markm@FreeBSD.org> | 1997-09-28 09:31:43 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 1997-09-28 09:31:43 +0000 |
commit | 14710273ac2e673901c8594bc2ab498b6762613e (patch) | |
tree | c37f489249d7513e69bde188f86a7091e71ec6b3 /usr.sbin/sendmail | |
parent | 73357bc9b4eb121ce9946566356d01dedfa14433 (diff) | |
download | src-14710273ac2e673901c8594bc2ab498b6762613e.tar.gz src-14710273ac2e673901c8594bc2ab498b6762613e.zip |
Add (commented out) macros to make compiling with tcpwrappers easier.
Notes
Notes:
svn path=/head/; revision=29932
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r-- | usr.sbin/sendmail/src/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/Makefile b/usr.sbin/sendmail/src/Makefile index a634725802df..fa51a768bb96 100644 --- a/usr.sbin/sendmail/src/Makefile +++ b/usr.sbin/sendmail/src/Makefile @@ -21,7 +21,11 @@ DBMDEF= -DNEWDB # FreeBSD supports NIS NIS= -DNIS -CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} #-DNETISO +# If you want tcp wrapper support, uncomment the following two lines +#TCPWRAPPERSBASEDIR= /usr/local +#TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include + +CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} #-DNETISO SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \ @@ -30,6 +34,9 @@ SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \ usersmtp.c util.c version.c DPADD= ${LIBUTIL} LDADD= -lutil +.if defined(TCPWRAPPERS) +LDADD+= -L${TCPWRAPPERSBASEDIR}/lib -lwrap +.endif MAN1= mailq.1 newaliases.1 MAN5= aliases.5 MAN8= sendmail.8 |