diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1998-10-12 05:26:14 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1998-10-12 05:26:14 +0000 |
commit | da777c9772fc6c372c72908f9fbed2da7a6b9b73 (patch) | |
tree | 5dcf01769893bf8b48ce26a32d4631b0b2e71d38 | |
parent | 72dfe69c46fb0ea4e34814f9221cd6a2622db624 (diff) |
*UNTESTED* Makefile and configure changes that may work with pmax and arc.
*These need to be tested by someone who has one!!*
-rw-r--r-- | lib/libssl/Makefile.bsd-wrapper | 8 | ||||
-rw-r--r-- | lib/libssl/crypto-patent/Makefile | 8 | ||||
-rw-r--r-- | lib/libssl/crypto/Makefile | 8 | ||||
-rw-r--r-- | lib/libssl/src/Configure | 2 | ||||
-rw-r--r-- | lib/libssl/ssl-patent/Makefile | 9 | ||||
-rw-r--r-- | lib/libssl/ssl/Makefile | 9 |
6 files changed, 44 insertions, 0 deletions
diff --git a/lib/libssl/Makefile.bsd-wrapper b/lib/libssl/Makefile.bsd-wrapper index 12347cbb975..b8189988cd1 100644 --- a/lib/libssl/Makefile.bsd-wrapper +++ b/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 <bsd.own.mk> diff --git a/lib/libssl/crypto-patent/Makefile b/lib/libssl/crypto-patent/Makefile index a52124b7fbc..b7ced9435a9 100644 --- a/lib/libssl/crypto-patent/Makefile +++ b/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/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile index 214c1e2350a..fc1a092225b 100644 --- a/lib/libssl/crypto/Makefile +++ b/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/lib/libssl/src/Configure b/lib/libssl/src/Configure index 1dc0ed320c2..8b9ecbcdef2 100644 --- a/lib/libssl/src/Configure +++ b/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/lib/libssl/ssl-patent/Makefile b/lib/libssl/ssl-patent/Makefile index 09e9de7fb47..0a4db989792 100644 --- a/lib/libssl/ssl-patent/Makefile +++ b/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/lib/libssl/ssl/Makefile b/lib/libssl/ssl/Makefile index facbfa9ca7a..6fffdd9ef22 100644 --- a/lib/libssl/ssl/Makefile +++ b/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} |