From dfc8dc699c7537a774920541d1517de4a3d01502 Mon Sep 17 00:00:00 2001 From: beck <> Date: Mon, 12 Oct 1998 05:26:13 +0000 Subject: *UNTESTED* Makefile and configure changes that may work with pmax and arc. *These need to be tested by someone who has one!!* --- src/lib/libssl/Makefile.bsd-wrapper | 8 ++++++++ src/lib/libssl/crypto-patent/Makefile | 8 ++++++++ src/lib/libssl/crypto/Makefile | 8 ++++++++ src/lib/libssl/src/Configure | 2 ++ src/lib/libssl/ssl-patent/Makefile | 9 +++++++++ src/lib/libssl/ssl/Makefile | 9 +++++++++ 6 files changed, 44 insertions(+) diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper index 12347cbb97..b8189988cd 100644 --- a/src/lib/libssl/Makefile.bsd-wrapper +++ b/src/lib/libssl/Makefile.bsd-wrapper @@ -11,6 +11,12 @@ LNDIR= /usr/bin/lndir .if ${MACHINE_ARCH} == "i386" SSLCONF= OpenBSD-x86 .else +.if ${MACHINE_ARCH} == "pmax" +SSLCONF= OpenBSD-pmax +.else +.if ${MACHINE_ARCH} == "arc" +SSLCONF= OpenBSD-arc +.else .if ${MACHINE_ARCH} == "alpha" SSLCONF= OpenBSD-alpha .else @@ -22,6 +28,8 @@ SSLCONF= OpenBSD-bigendian .endif .endif .endif +.endif +.endif .include diff --git a/src/lib/libssl/crypto-patent/Makefile b/src/lib/libssl/crypto-patent/Makefile index a52124b7fb..b7ced9435a 100644 --- a/src/lib/libssl/crypto-patent/Makefile +++ b/src/lib/libssl/crypto-patent/Makefile @@ -8,12 +8,20 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto .if ${MACHINE_ARCH} == "i386" CFLAGS+= -DL_ENDIAN -DBN_ASM .else +.if ${MACHINE_ARCH} == "arc" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "pmax" +CFLAGS+= -DL_ENDIAN +.else .if ${MACHINE_ARCH} == "alpha" # no ENDIAN stuff defined for alpha .else CFLAGS+= -DB_ENDIAN .endif .endif +.endif +.endif CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile index 214c1e2350..fc1a092225 100644 --- a/src/lib/libssl/crypto/Makefile +++ b/src/lib/libssl/crypto/Makefile @@ -8,12 +8,20 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto .if ${MACHINE_ARCH} == "i386" CFLAGS+= -DL_ENDIAN -DBN_ASM .else +.if ${MACHINE_ARCH} == "arc" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "pmax" +CFLAGS+= -DL_ENDIAN +.else .if ${MACHINE_ARCH} == "alpha" # no ENDIAN stuff defined for alpha .else CFLAGS+= -DB_ENDIAN .endif .endif +.endif +.endif CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} diff --git a/src/lib/libssl/src/Configure b/src/lib/libssl/src/Configure index 1dc0ed320c..8b9ecbcdef 100644 --- a/src/lib/libssl/src/Configure +++ b/src/lib/libssl/src/Configure @@ -135,6 +135,8 @@ $x86_bsdi_asm="asm/bn86bsdi.o:asm/dx86bsdi.o asm/yx86bsdi.o:asm/bx86bsdi.o:asm/m "OpenBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::SIXTY_FOUR_BIT_LONGS DES_INT DES_PTR DES_RISC2:::", "OpenBSD-x86", "gcc:-DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm", "OpenBSD-bigendian", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::", +"OpenBSD-pmax", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DL_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::", +"OpenBSD-arc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DL_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::", "FreeBSD", "gcc:-DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm", #"bsdi-gcc", "gcc:-O3 -ffast-math -DBN_ASM -DL_ENDIAN -DPERL5 -m486::RSA_LLONG $x86_gc_des $x86_gcc_opts:$x86_bsdi_asm", "nextstep", "cc:-O3 -Wall -DBN_ASM::BN_LLONG $x86_gcc_des $x86_gcc_opts:::", diff --git a/src/lib/libssl/ssl-patent/Makefile b/src/lib/libssl/ssl-patent/Makefile index 09e9de7fb4..0a4db98979 100644 --- a/src/lib/libssl/ssl-patent/Makefile +++ b/src/lib/libssl/ssl-patent/Makefile @@ -9,12 +9,21 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto .if ${MACHINE_ARCH} == "i386" CFLAGS+= -DL_ENDIAN -DBN_ASM .else +.if ${MACHINE_ARCH} == "arc" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "pmax" +CFLAGS+= -DL_ENDIAN +.else .if ${MACHINE_ARCH} == "alpha" # no ENDIAN stuff defined for alpha .else CFLAGS+= -DB_ENDIAN .endif .endif +.endif +.endif + CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} CFLAGS+= -I${LSSL_SRC} -I${LCRYPTO_SRC} diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile index facbfa9ca7..6fffdd9ef2 100644 --- a/src/lib/libssl/ssl/Makefile +++ b/src/lib/libssl/ssl/Makefile @@ -9,12 +9,21 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto .if ${MACHINE_ARCH} == "i386" CFLAGS+= -DL_ENDIAN -DBN_ASM .else +.if ${MACHINE_ARCH} == "arc" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "pmax" +CFLAGS+= -DL_ENDIAN +.else .if ${MACHINE_ARCH} == "alpha" # no ENDIAN stuff defined for alpha .else CFLAGS+= -DB_ENDIAN .endif .endif +.endif +.endif + CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} CFLAGS+= -I${LSSL_SRC} -I${LCRYPTO_SRC} -- cgit v1.2.3-55-g6feb