From 72fcd22c7073550a91fcda13371a7938abfdede8 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 26 Aug 1999 22:32:04 +0000 Subject: Merge with EOM 1.10 author: niklas Recognize systems without dlopen(3). Enable keynote. author: angelos I shouldn't turn KeyNote on by default for everyone -- that's someone else's decision (although we should, as soon as I've tested the X509 case). author: angelos Complete policy work; tested for the shared-key case. Documentation needed. author: niklas Add support for dynamic loading of optional facilities, libcrypto first. --- sbin/isakmpd/sysdep/openbsd/Makefile.sysdep | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'sbin/isakmpd/sysdep') diff --git a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep index 9323a6d5e41..b8c64ab49c1 100644 --- a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep +++ b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile.sysdep,v 1.6 1999/07/17 22:07:31 niklas Exp $ -# $EOM: Makefile.sysdep,v 1.6 1999/07/17 22:10:49 niklas Exp $ +# $OpenBSD: Makefile.sysdep,v 1.7 1999/08/26 22:32:03 niklas Exp $ +# $EOM: Makefile.sysdep,v 1.10 1999/08/26 11:40:48 niklas Exp $ # # Copyright (c) 1999 Niklas Hallqvist. All rights reserved. @@ -34,19 +34,22 @@ # This code was written under funding by Ericsson Radio Systems. # -LDADD+= -lgmp -lcrypto -DPADD+= ${LIBGMP} ${LIBCRYPTO} +LDADD+= -lgmp +DPADD+= ${LIBGMP} -SRCS+= pf_key_v2.c -CFLAGS+= -DUSE_PF_KEY_V2 +IPSEC_SRCS= pf_key_v2.c +IPSEC_CFLAGS= -DUSE_PF_KEY_V2 -USE_KEYNOTE= yes +# Some OpenBSD systems do not provide dlopen(3). +.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "vax" +HAVE_DLOPEN= defined +CFLAGS+= -DSYMBOL_PREFIX='"_"' +.endif -.ifdef USE_KEYNOTE -LDADD+= -lkeynote -lcrypto -lm -#DPADD+= +USE_LIBCRYPTO= defined +USE_KEYNOTE= defined -SRCS+= policy.c -CFLAGS+= -DUSE_KEYNOTE +.ifndef USE_LIBCRYPTO +DESLIB= -ldes +DESLIBDEP= ${LIBDES} .endif - -- cgit v1.2.3