genode/repos/libports/lib/mk/libpcg_random.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

21 lines
495 B
Makefile

include $(REP_DIR)/lib/import/import-libpcg_random.mk
PCG_SRC_DIR = $(call select_from_ports,pcg-c)/src/lib/pcg-c/src
CC_OPT += -std=c99
pcg_srcs = $(notdir $(wildcard $(PCG_SRC_DIR)/*-$(1).c))
SRC_C += $(call pcg_srcs,8)
SRC_C += $(call pcg_srcs,16)
SRC_C += $(call pcg_srcs,32)
SRC_C += $(call pcg_srcs,64)
# 128bit state generators only available on 64bit platforms
ifeq ($(filter-out $(SPECS),64bit),)
SRC_C += $(call pcg_srcs,128)
endif
vpath %.c $(PCG_SRC_DIR)
CC_CXX_WARN_STRICT =