genode/repos/libports/lib/mk/mupdf_host_tools.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

18 lines
511 B
Makefile

#
# Compile host tools used to create generated header files
#
MUPDF_FONTDUMP := $(BUILD_BASE_DIR)/tool/mupdf/fontdump
MUPDF_CMAPDUMP := $(BUILD_BASE_DIR)/tool/mupdf/cmapdump
HOST_TOOLS += $(MUPDF_FONTDUMP) $(MUPDF_CMAPDUMP)
MUPDF_DIR := $(call select_from_ports,mupdf)/src/lib/mupdf
$(MUPDF_FONTDUMP) $(MUPDF_CMAPDUMP): $(MUPDF_DIR)
$(MSG_BUILD)$(notdir $@)
$(VERBOSE)mkdir -p $(dir $@)
$(VERBOSE)gcc $(addprefix -I$(MUPDF_DIR)/,fitz pdf) $(MUPDF_DIR)/scripts/$(notdir $@).c -o $@
CC_CXX_WARN_STRICT =