Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/libcryptoboot/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
.include <src.opts.mk> | |||||
LIB= cryptoboot | |||||
INTERNALLIB= | |||||
WARNS?= 6 | |||||
CWARNFLAGS.skein.c += -Wno-cast-align | |||||
CWARNFLAGS.skein.c += -Wno-missing-variable-declarations | |||||
CWARNFLAGS.md5c.c += -Wno-missing-prototypes | |||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | |||||
CFLAGS+= -march=i386 | |||||
.endif | |||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64" | |||||
CFLAGS+= -m32 | |||||
.endif | |||||
SRCS= skein.c skein_block.c sha256c.c sha512c.c md5c.c | |||||
.PATH: ${.CURDIR}/../../crypto/skein | |||||
.PATH: ${.CURDIR}/../../crypto/sha2 | |||||
.PATH: ${.CURDIR}/../../../lib/libmd | |||||
.if ${MACHINE_CPUARCH} == "aarch64" | |||||
CFLAGS+= -msoft-float -mgeneral-regs-only | |||||
.endif | |||||
.if ${MACHINE_ARCH} == "amd64" | |||||
CFLAGS+= -fPIC -mno-red-zone | |||||
.endif | |||||
.include <bsd.stand.mk> | |||||
.include <bsd.lib.mk> |