summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/Makefile.bsd-wrapper37
1 files changed, 14 insertions, 23 deletions
diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper
index ab8ae82533..4997d0ce74 100644
--- a/src/lib/libssl/Makefile.bsd-wrapper
+++ b/src/lib/libssl/Makefile.bsd-wrapper
@@ -1,5 +1,5 @@
1# Build wrapper for OpenSSL 1# Build wrapper for OpenSSL
2# $OpenBSD: Makefile.bsd-wrapper,v 1.30 2001/02/05 22:03:06 todd Exp $ 2# $OpenBSD: Makefile.bsd-wrapper,v 1.31 2001/02/09 17:27:47 brad Exp $
3 3
4# Our lndir is hacked; specify a full path to avoid potential conflicts 4# Our lndir is hacked; specify a full path to avoid potential conflicts
5# with the one installed with X11. 5# with the one installed with X11.
@@ -8,33 +8,25 @@ LNDIR= /usr/bin/lndir
8# Figure out what flag we use to OpenSSL's configure. This 8# Figure out what flag we use to OpenSSL's configure. This
9# needs to be tested on all architectures. 9# needs to be tested on all architectures.
10 10
11.if ${MACHINE_ARCH} == "i386" 11OPENSSLDIR= /etc/ssl
12SSLCONF= --openssldir=/etc/ssl OpenBSD-x86 12
13.else
14.if ${MACHINE_ARCH} == "mips"
15SSLCONF= --openssldir=/etc/ssl OpenBSD-mips
16.else
17.if ${MACHINE_ARCH} == "alpha" 13.if ${MACHINE_ARCH} == "alpha"
18SSLCONF= --openssldir=/etc/ssl OpenBSD-alpha 14SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD-alpha
15.elif ${MACHINE_ARCH} == "i386"
16SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD-x86
17.elif ${MACHINE_ARCH} == "mips"
18SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD-mips
19.elif ${MACHINE_ARCH} == "vax"
20SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD-vax
19.else 21.else
20.if ${MACHINE_ARCH} == "vax" 22.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m88k" ||
21SSLCONF= --openssldir=/etc/ssl OpenBSD-vax 23${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc"
22.else 24SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD
23.if ${MACHINE_ARCH} == "sparc"
24SSLCONF= --openssldir=/etc/ssl OpenBSD
25.else
26.if ${MACHINE_ARCH} == "m88k"
27SSLCONF= --openssldir=/etc/ssl OpenBSD
28.else 25.else
29##UNTESTED! 26##UNTESTED!
30SSLCONF= --openssldir=/etc/ssl OpenBSD 27SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD
31.endif
32.endif 28.endif
33.endif 29.endif
34.endif
35.endif
36.endif
37
38MUNGEDFILES= \ 30MUNGEDFILES= \
39 ${.OBJDIR}/${SSL_SRC}/crypto/opensslconf.h \ 31 ${.OBJDIR}/${SSL_SRC}/crypto/opensslconf.h \
40 ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h \ 32 ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h \
@@ -54,7 +46,6 @@ MUNGEDFILES= \
54 ${.OBJDIR}/RIPEMD160.pm \ 46 ${.OBJDIR}/RIPEMD160.pm \
55 ${.OBJDIR}/CRYPTO_set_locking_callback.pm 47 ${.OBJDIR}/CRYPTO_set_locking_callback.pm
56 48
57
58.include <bsd.own.mk> # for NOMAN 49.include <bsd.own.mk> # for NOMAN
59 50
60.ifndef NOMAN 51.ifndef NOMAN