Make crypto part of tcpdump (print-esp.c) work.

Approved by:	jkh
This commit is contained in:
fenner 2000-03-02 13:27:25 +00:00
parent 820c52a7a7
commit 0701ab2819

View File

@ -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