diff options
author | fenner <fenner@FreeBSD.org> | 2000-03-02 13:27:25 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2000-03-02 13:27:25 +0000 |
commit | c5911d1b71e44b3dfef687e70a8c08103bde8045 (patch) | |
tree | 6385fd56ccec9a824cb598bbddb5a5b3d2dbe89e /usr.sbin/tcpdump | |
parent | 3cbaf1b529cd5c536b4a6ec10557f2b5156b756a (diff) | |
download | FreeBSD-src-c5911d1b71e44b3dfef687e70a8c08103bde8045.zip FreeBSD-src-c5911d1b71e44b3dfef687e70a8c08103bde8045.tar.gz |
Make crypto part of tcpdump (print-esp.c) work.
Approved by: jkh
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index 4d00123..b0098bb 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -21,6 +21,11 @@ SRCS = version.c tcpdump.c \ CLEANFILES+= version.c DPADD+= ${LIBL} ${LIBPCAP} LDADD+= -ll -lpcap +.if exists(../../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL) +DPADD+= ${LIBCRYPTO} +LDADD+= -lcrypto +CFLAGS+= -I${DESTDIR}/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H +.endif TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump CFLAGS+= -I${TCPDUMP_DISTDIR}/lbl |