Makefile (71bf1c4cc5b21e7e5740514c1bc6ad751f312eea) | Makefile (20adba8bc1beb125d5e5ed8f12e747ae79ca6a10) |
---|---|
1# $FreeBSD$ 2 3SHLIBDIR?= /lib 4 5.include <src.opts.mk> 6.include <bsd.compiler.mk> 7 8PACKAGE= runtime --- 89 unchanged lines hidden (view full) --- 98CFLAGS+= -I${SRCTOP}/sys/crypto/skein 99CFLAGS+= -DWEAK_REFS 100# unroll the 256 and 512 loops, half unroll the 1024 101CFLAGS.skein_block.c+= -DSKEIN_LOOP=995 102.PATH: ${.CURDIR}/${MACHINE_ARCH} ${SRCTOP}/sys/crypto/sha2 103.PATH: ${SRCTOP}/sys/crypto/skein ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH} 104 105USE_ASM_SOURCES?=1 | 1# $FreeBSD$ 2 3SHLIBDIR?= /lib 4 5.include <src.opts.mk> 6.include <bsd.compiler.mk> 7 8PACKAGE= runtime --- 89 unchanged lines hidden (view full) --- 98CFLAGS+= -I${SRCTOP}/sys/crypto/skein 99CFLAGS+= -DWEAK_REFS 100# unroll the 256 and 512 loops, half unroll the 1024 101CFLAGS.skein_block.c+= -DSKEIN_LOOP=995 102.PATH: ${.CURDIR}/${MACHINE_ARCH} ${SRCTOP}/sys/crypto/sha2 103.PATH: ${SRCTOP}/sys/crypto/skein ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH} 104 105USE_ASM_SOURCES?=1 |
106.if defined(BOOTSTRAPPING) | 106.if defined(BOOTSTRAPPING) || ${MK_MACHDEP_OPTIMIZATIONS} == no |
107# Don't build ASM sources when bootstrapping to avoid toolchain dependencies 108USE_ASM_SOURCES:=0 109.endif 110 111.if ${USE_ASM_SOURCES} != 0 112.if exists(${MACHINE_ARCH}/sha.S) 113SRCS+= sha.S 114CFLAGS+= -DSHA1_ASM --- 336 unchanged lines hidden --- | 107# Don't build ASM sources when bootstrapping to avoid toolchain dependencies 108USE_ASM_SOURCES:=0 109.endif 110 111.if ${USE_ASM_SOURCES} != 0 112.if exists(${MACHINE_ARCH}/sha.S) 113SRCS+= sha.S 114CFLAGS+= -DSHA1_ASM --- 336 unchanged lines hidden --- |