Changeset View
Changeset View
Standalone View
Standalone View
lib/libmd/Makefile
| Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
| USE_ASM_SOURCES?=1 | USE_ASM_SOURCES?=1 | ||||
| .if defined(BOOTSTRAPPING) || ${MK_MACHDEP_OPTIMIZATIONS} == no | .if defined(BOOTSTRAPPING) || ${MK_MACHDEP_OPTIMIZATIONS} == no | ||||
| # Don't build ASM sources when bootstrapping to avoid toolchain dependencies | # Don't build ASM sources when bootstrapping to avoid toolchain dependencies | ||||
| USE_ASM_SOURCES:=0 | USE_ASM_SOURCES:=0 | ||||
| .endif | .endif | ||||
| .if ${USE_ASM_SOURCES} != 0 | .if ${USE_ASM_SOURCES} != 0 | ||||
| .if exists(${MACHINE_ARCH}/md5block.S) | |||||
| SRCS+= md5block.S | |||||
| CFLAGS+= -DMD5_ASM | |||||
| .if exists(${MACHINE_ARCH}/md5dispatch.c) | |||||
| SRCS+= md5dispatch.c | |||||
| .endif | |||||
| .endif | |||||
| .if exists(${MACHINE_ARCH}/sha1block.S) | .if exists(${MACHINE_ARCH}/sha1block.S) | ||||
| SRCS+= sha1block.S | SRCS+= sha1block.S | ||||
| CFLAGS+= -DSHA1_ASM | CFLAGS+= -DSHA1_ASM | ||||
| .if exists(${MACHINE_ARCH}/sha1dispatch.c) | .if exists(${MACHINE_ARCH}/sha1dispatch.c) | ||||
| SRCS+= sha1dispatch.c | SRCS+= sha1dispatch.c | ||||
| .endif | .endif | ||||
| .endif | .endif | ||||
| .if exists(${MACHINE_ARCH}/rmd160.S) | .if exists(${MACHINE_ARCH}/rmd160.S) | ||||
| ▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines | |||||