genode/repos/libports/recipes/src/stdcxx/content.mk
2017-12-22 11:43:39 +01:00

30 lines
685 B
Makefile

MIRROR_FROM_REP_DIR := lib/mk/stdcxx-c++98.mk \
lib/mk/stdcxx.mk \
lib/import/import-stdcxx.mk
content: $(MIRROR_FROM_REP_DIR) src/lib/stdcxx/target.mk
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
src/lib/stdcxx/target.mk:
mkdir -p $(dir $@)
echo "LIBS = stdcxx" > $@
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/stdcxx)
MIRROR_FROM_PORT_DIR := src/lib/stdcxx
content: $(MIRROR_FROM_PORT_DIR)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $(dir $@)
content: LICENSE
LICENSE:
( echo "GNU GPL version 3 with runtime library exception,"; \
echo "see src/lib/stdcxx/doc/html/manual/license.html" ) > $@