genode/repos/libports/recipes/api/jitterentropy/content.mk
2024-02-26 08:59:10 +01:00

26 lines
959 B
Makefile

MIRROR_FROM_REP_DIR := lib/mk/jitterentropy.inc \
lib/import/import-jitterentropy.mk \
$(foreach SPEC,arm_v6 arm_v7 arm_v8 x86_32 x86_64,\
lib/mk/spec/$(SPEC)/jitterentropy.mk) \
src/lib/jitterentropy
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/jitterentropy)
MIRROR_FROM_PORT_DIR := src/lib/jitterentropy/src \
include/jitterentropy/jitterentropy.h
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) LICENSE
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $@
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
LICENSE:
( echo "The contrib sources"; \
echo " include/jitterentropy/jitterentropy.h"; \
echo " src/lib/jitterentropy/jitterentropy-base.c"; \
echo "by Stephan Mueller are licensed under a BSD-style license (please"; \
echo "see the corresponding copyright header in the files)." ) > $@