summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:32:04 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:32:04 +0000
commit72fcd22c7073550a91fcda13371a7938abfdede8 (patch)
treee5f42656e1613fd96a8ea1e03f69ce4b10ae3788 /sbin
parentd9200515b421179cdd7c5ee29d77d2c97bc79104 (diff)
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.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/sysdep/openbsd/Makefile.sysdep29
1 files changed, 16 insertions, 13 deletions
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
-