Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: brotli.mk,v 1.1 2023/01/29 07:54:11 mrg Exp $

# makefile fragment to build brotlidec for freetype2

.include "bsd.own.mk"

BROTLI_SRCS=	bit_reader.c decode.c huffman.c state.c
BROTLI_SRCS+=	constants.c context.c dictionary.c platform.c transform.c

SRCS+=		${BROTLI_SRCS}

.for _f in ${BROTLI_SRCS}
CFLAGS.${_f}+=	-fcommon
CPPFLAGS+${_f}=	-DBROTLIDEC_SHARED_COMPILATION \
		-DBROTLI_HAVE_LOG2=1 \
		-DBROTLI_SHARED_COMPILATION \
		-DNDEBUG \
		-I${X11SRCDIR.brotli}/c/include
.endfor

.include "brotli-rename.mk"

.PATH: ${X11SRCDIR.brotli}/c/dec
.PATH: ${X11SRCDIR.brotli}/c/common