9fa5f5fd96
Reorganize and unify libcrypto's interface so that the RSA implementation is chosen at runtime via dlopen(). This is a checkpoint and may require more tweaks still.
17 lines
400 B
Makefile
17 lines
400 B
Makefile
# $FreeBSD$
|
|
|
|
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
|
|
CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_IDEA -I${LCRYPTO_SRC} -I${.OBJDIR}
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CFLAGS+= -DL_ENDIAN
|
|
# -DBN_ASM -DSHA1_ASM -DMD5_ASM -DRMD160_ASM - XXX notyet
|
|
CFLAGS+= -DDEVRANDOM=\"/dev/urandom\"
|
|
.else
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
# no ENDIAN stuff defined for alpha (64-bit)
|
|
.endif
|
|
.endif
|
|
|
|
WITH_RSA?= YES
|