freebsd-dev/secure/lib/libcrypto/Makefile.inc

26 lines
549 B
PHP
Raw Normal View History

2000-01-14 05:49:29 +00:00
# $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
2000-01-16 05:19:27 +00:00
LOCALBASE?= /usr/local
.if !exists(${LOCALBASE}/lib/librsaref.a)
2000-01-14 05:49:29 +00:00
CFLAGS+= -DNO_RSA -DNO_SSL2
WITH_RSA= NO
.else
CFLAGS+= -DRSAref
RSAREF= YES
2000-01-16 05:19:27 +00:00
WITH_RSA= YES
2000-01-14 05:49:29 +00:00
.endif