mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-03 20:44:11 +00:00
0423eb4499
fixes #2649
27 lines
679 B
Makefile
27 lines
679 B
Makefile
MIRROR_FROM_REP_DIR := lib/mk/stdcxx-c++98.mk \
|
|
lib/mk/stdcxx.mk \
|
|
lib/import/import-stdcxx.mk
|
|
|
|
MIRROR_FROM_PORT_DIR := src/lib/stdcxx
|
|
|
|
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR) src/lib/stdcxx/target.mk
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
src/lib/stdcxx/target.mk: $(MIRROR_FROM_PORT_DIR)
|
|
echo "LIBS = stdcxx" > $@
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/stdcxx)
|
|
|
|
$(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" ) > $@
|
|
|