summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaja <>1999-10-10 21:32:02 +0000
committermaja <>1999-10-10 21:32:02 +0000
commit3ef9529fbf0c1f8f1c9da1172e92ad3370d5fcfe (patch)
tree97cac549ef39188c62a8ed1b1d3fde4167da24af /src
parent9c54e5cc3e944cb8d9cf0c4728960bf5d60bf7ce (diff)
downloadopenbsd-3ef9529fbf0c1f8f1c9da1172e92ad3370d5fcfe.tar.gz
openbsd-3ef9529fbf0c1f8f1c9da1172e92ad3370d5fcfe.tar.bz2
openbsd-3ef9529fbf0c1f8f1c9da1172e92ad3370d5fcfe.zip
Make mips compile. -moj
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/Makefile.bsd-wrapper10
-rw-r--r--src/lib/libssl/crypto-patent/Makefile6
-rw-r--r--src/lib/libssl/crypto/Makefile6
-rw-r--r--src/lib/libssl/ssl-patent/Makefile6
-rw-r--r--src/lib/libssl/ssl/Makefile6
5 files changed, 7 insertions, 27 deletions
diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper
index de2b6c21d0..5a06d3eb4b 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.11 1999/09/29 07:30:08 beck Exp $ 2# $OpenBSD: Makefile.bsd-wrapper,v 1.12 1999/10/10 21:32:01 maja 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.
@@ -11,11 +11,8 @@ LNDIR= /usr/bin/lndir
11.if ${MACHINE_ARCH} == "i386" 11.if ${MACHINE_ARCH} == "i386"
12SSLCONF= --openssldir=/etc/ssl OpenBSD-x86 12SSLCONF= --openssldir=/etc/ssl OpenBSD-x86
13.else 13.else
14.if ${MACHINE} == "pmax" 14.if ${MACHINE_ARCH} == "mips"
15SSLCONF= --openssldir=/etc/ssl OpenBSD-pmax 15SSLCONF= --openssldir=/etc/ssl OpenBSD-mips
16.else
17.if ${MACHINE} == "arc"
18SSLCONF= --openssldir=/etc/ssl OpenBSD-arc
19.else 16.else
20.if ${MACHINE_ARCH} == "alpha" 17.if ${MACHINE_ARCH} == "alpha"
21SSLCONF= --openssldir=/etc/ssl OpenBSD-alpha 18SSLCONF= --openssldir=/etc/ssl OpenBSD-alpha
@@ -33,7 +30,6 @@ SSLCONF= --openssldir=/etc/ssl OpenBSD
33.endif 30.endif
34.endif 31.endif
35.endif 32.endif
36.endif
37 33
38MUNGEDFILES = ${.OBJDIR}/${SSL_SRC}/crypto/opensslconf.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h ${.OBJDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}/Makefile ${.OBJDIR}/${SSL_SRC}/apps/der_chop ${.OBJDIR}/${SSL_SRC}/tools/c_rehash 34MUNGEDFILES = ${.OBJDIR}/${SSL_SRC}/crypto/opensslconf.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h ${.OBJDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}/Makefile ${.OBJDIR}/${SSL_SRC}/apps/der_chop ${.OBJDIR}/${SSL_SRC}/tools/c_rehash
39 35
diff --git a/src/lib/libssl/crypto-patent/Makefile b/src/lib/libssl/crypto-patent/Makefile
index c5b0623b0b..3d792a5a52 100644
--- a/src/lib/libssl/crypto-patent/Makefile
+++ b/src/lib/libssl/crypto-patent/Makefile
@@ -9,10 +9,7 @@ LCRYPTO_INC= ${.CURDIR}/../${SSLEAYDIST}/include
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN -DBN_ASM 10CFLAGS+= -DL_ENDIAN -DBN_ASM
11.else 11.else
12.if ${MACHINE_ARCH} == "arc" 12.if ${MACHINE_ARCH} == "mips"
13CFLAGS+= -DL_ENDIAN
14.else
15.if ${MACHINE_ARCH} == "pmax"
16CFLAGS+= -DL_ENDIAN 13CFLAGS+= -DL_ENDIAN
17.else 14.else
18.if ${MACHINE_ARCH} == "alpha" 15.if ${MACHINE_ARCH} == "alpha"
@@ -22,7 +19,6 @@ CFLAGS+= -DB_ENDIAN
22.endif 19.endif
23.endif 20.endif
24.endif 21.endif
25.endif
26 22
27CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH 23CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH
28CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} 24CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile
index 2250c59621..1dea336f27 100644
--- a/src/lib/libssl/crypto/Makefile
+++ b/src/lib/libssl/crypto/Makefile
@@ -9,10 +9,7 @@ LCRYPTO_INC= ${.CURDIR}/../${SSLEAYDIST}/include
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN -DBN_ASM 10CFLAGS+= -DL_ENDIAN -DBN_ASM
11.else 11.else
12.if ${MACHINE_ARCH} == "arc" 12.if ${MACHINE_ARCH} == "mips"
13CFLAGS+= -DL_ENDIAN
14.else
15.if ${MACHINE_ARCH} == "pmax"
16CFLAGS+= -DL_ENDIAN 13CFLAGS+= -DL_ENDIAN
17.else 14.else
18.if ${MACHINE_ARCH} == "alpha" 15.if ${MACHINE_ARCH} == "alpha"
@@ -21,7 +18,6 @@ CFLAGS+= -DL_ENDIAN
21CFLAGS+= -DB_ENDIAN 18CFLAGS+= -DB_ENDIAN
22.endif 19.endif
23.endif 20.endif
24.endif
25.endif 21.endif
26 22
27CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH 23CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH
diff --git a/src/lib/libssl/ssl-patent/Makefile b/src/lib/libssl/ssl-patent/Makefile
index b3ab904298..78acd2183b 100644
--- a/src/lib/libssl/ssl-patent/Makefile
+++ b/src/lib/libssl/ssl-patent/Makefile
@@ -9,10 +9,7 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN -DBN_ASM 10CFLAGS+= -DL_ENDIAN -DBN_ASM
11.else 11.else
12.if ${MACHINE_ARCH} == "arc" 12.if ${MACHINE_ARCH} == "mips"
13CFLAGS+= -DL_ENDIAN
14.else
15.if ${MACHINE_ARCH} == "pmax"
16CFLAGS+= -DL_ENDIAN 13CFLAGS+= -DL_ENDIAN
17.else 14.else
18.if ${MACHINE_ARCH} == "alpha" 15.if ${MACHINE_ARCH} == "alpha"
@@ -21,7 +18,6 @@ CFLAGS+= -DL_ENDIAN
21CFLAGS+= -DB_ENDIAN 18CFLAGS+= -DB_ENDIAN
22.endif 19.endif
23.endif 20.endif
24.endif
25.endif 21.endif
26 22
27CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE 23CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE
diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile
index 8efe8fa3de..0f80ee5188 100644
--- a/src/lib/libssl/ssl/Makefile
+++ b/src/lib/libssl/ssl/Makefile
@@ -9,10 +9,7 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN -DBN_ASM 10CFLAGS+= -DL_ENDIAN -DBN_ASM
11.else 11.else
12.if ${MACHINE_ARCH} == "arc" 12.if ${MACHINE_ARCH} == "mips"
13CFLAGS+= -DL_ENDIAN
14.else
15.if ${MACHINE_ARCH} == "pmax"
16CFLAGS+= -DL_ENDIAN 13CFLAGS+= -DL_ENDIAN
17.else 14.else
18.if ${MACHINE_ARCH} == "alpha" 15.if ${MACHINE_ARCH} == "alpha"
@@ -21,7 +18,6 @@ CFLAGS+= -DL_ENDIAN
21CFLAGS+= -DB_ENDIAN 18CFLAGS+= -DB_ENDIAN
22.endif 19.endif
23.endif 20.endif
24.endif
25.endif 21.endif
26 22
27CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE 23CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE