genode/repos/libports/lib/mk/libbz2.mk
Emery Hemingway b5f1af6af0 libports: libbz2 (Bzip2)
Issue #1357
2015-01-20 11:23:52 +01:00

13 lines
321 B
Makefile

LIBBZ2_DIR := $(call select_from_ports,bzip2)/src/lib/libbz2
LIBS += libc
BIGFILES = -D_FILE_OFFSET_BITS=64
CC_DEF += -Winline $(BIGFILES)
SRC_C = blocksort.c huffman.c crctable.c randtable.c \
compress.c decompress.c bzlib.c
vpath %.c $(LIBBZ2_DIR)
# Bzip2 upstream recommends using a static library.