genode/repos/libports/recipes/api/libc/content.mk

35 lines
907 B
Makefile
Raw Normal View History

MIRROR_FROM_REP_DIR := lib/import/import-libc.mk \
lib/symbols/libc \
lib/symbols/libm \
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
2017-03-28 16:42:41 +00:00
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libc)
content: include
2017-03-28 16:42:41 +00:00
include:
mkdir $@
cp -r $(PORT_DIR)/include/* $@/
cp -r $(REP_DIR)/include/libc $@/
cp -r $(REP_DIR)/include/libc-genode $@/
cp $(REP_DIR)/src/lib/libc/internal/legacy.h $@/libc/
2017-03-28 16:42:41 +00:00
content: lib/mk/ldso_so_support.mk src/lib/ldso/so_support.c
lib/mk/ldso_so_support.mk src/lib/ldso/so_support.c:
mkdir -p $(dir $@)
cp $(GENODE_DIR)/repos/base/$@ $@
2017-03-28 16:42:41 +00:00
content: LICENSE
LICENSE:
(echo "Based on FreeBSD, which is BSD licensed:"; \
echo " http://www.freebsd.org/copyright/freebsd-license.html"; \
echo "Genode-specific adaptations are AGPLv3 licensed:"; \
echo " http://genode.org/about/licenses") > $@