2019-01-29 17:01:47 +00:00
|
|
|
ADA_RT_DIR := $(call port_dir,$(GENODE_DIR)/repos/libports/ports/ada-runtime)
|
|
|
|
ADA_ALI_DIR := $(call port_dir,$(GENODE_DIR)/repos/libports/ports/ada-runtime)/ada-runtime-alis/alis
|
|
|
|
|
|
|
|
MIRROR_FROM_ADA_RT_DIR := \
|
2019-05-22 10:33:15 +00:00
|
|
|
$(addprefix ada-runtime/contrib/gcc-8.3.0/,\
|
2019-01-29 17:01:47 +00:00
|
|
|
ada.ads \
|
|
|
|
a-unccon.ads \
|
2019-05-22 10:33:15 +00:00
|
|
|
interfac.ads \
|
|
|
|
i-cexten.ads \
|
2019-07-26 11:59:00 +00:00
|
|
|
s-maccod.ads \
|
2019-05-22 10:33:15 +00:00
|
|
|
s-unstyp.ads \
|
|
|
|
) \
|
2019-01-29 17:01:47 +00:00
|
|
|
$(addprefix ada-runtime/src/minimal/,\
|
|
|
|
a-except.ads \
|
2019-07-26 11:59:00 +00:00
|
|
|
i-c.ads \
|
|
|
|
system.ads \
|
|
|
|
s-arit64.ads \
|
2020-05-19 10:15:06 +00:00
|
|
|
s-expint.ads \
|
2019-07-26 11:59:00 +00:00
|
|
|
s-exctab.ads \
|
2019-01-29 17:01:47 +00:00
|
|
|
s-parame.ads \
|
2019-07-26 11:59:00 +00:00
|
|
|
s-secsta.ads \
|
2019-01-29 17:01:47 +00:00
|
|
|
s-soflin.ads \
|
2019-07-26 11:59:00 +00:00
|
|
|
s-stalib.ads \
|
|
|
|
s-stoele.ads \
|
2019-05-22 10:33:15 +00:00
|
|
|
) \
|
2019-01-29 17:01:47 +00:00
|
|
|
$(addprefix ada-runtime/src/lib/,\
|
2019-07-26 11:59:00 +00:00
|
|
|
componolit.ads \
|
|
|
|
componolit-runtime.ads \
|
|
|
|
componolit-runtime-conversions.ads \
|
|
|
|
componolit-runtime-debug.ads \
|
|
|
|
componolit-runtime-exceptions.ads \
|
|
|
|
componolit-runtime-platform.ads \
|
|
|
|
componolit-runtime-strings.ads \
|
|
|
|
) \
|
|
|
|
ada-runtime/src/common/s-init.ads
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
MIRROR_FROM_ADA_ALI_DIR := \
|
2019-07-26 11:59:00 +00:00
|
|
|
a-except.ali \
|
2019-01-29 17:01:47 +00:00
|
|
|
ada.ali \
|
2019-07-26 11:59:00 +00:00
|
|
|
componolit-runtime-conversions.ali \
|
|
|
|
componolit-runtime-debug.ali \
|
|
|
|
componolit-runtime-exceptions.ali \
|
|
|
|
componolit-runtime-platform.ali \
|
|
|
|
componolit-runtime-strings.ali \
|
|
|
|
componolit-runtime.ali \
|
|
|
|
componolit.ali \
|
2019-05-22 10:33:15 +00:00
|
|
|
i-c.ali \
|
|
|
|
i-cexten.ali \
|
2019-07-26 11:59:00 +00:00
|
|
|
interfac.ali \
|
2019-05-22 10:33:15 +00:00
|
|
|
s-arit64.ali \
|
2020-05-19 10:15:06 +00:00
|
|
|
s-expint.ali \
|
2019-05-22 10:33:15 +00:00
|
|
|
s-init.ali \
|
2019-01-29 17:01:47 +00:00
|
|
|
s-parame.ali \
|
|
|
|
s-secsta.ali \
|
|
|
|
s-soflin.ali \
|
|
|
|
s-stalib.ali \
|
|
|
|
s-stoele.ali \
|
2019-05-22 10:33:15 +00:00
|
|
|
s-unstyp.ali \
|
2019-07-26 11:59:00 +00:00
|
|
|
system.ali
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
content: $(MIRROR_FROM_ADA_RT_DIR) $(MIRROR_FROM_ADA_ALI_DIR)
|
|
|
|
|
|
|
|
$(MIRROR_FROM_ADA_RT_DIR):
|
|
|
|
mkdir -p include
|
2019-02-27 16:59:44 +00:00
|
|
|
cp -a $(ADA_RT_DIR)/$@ include/
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
$(MIRROR_FROM_ADA_ALI_DIR):
|
|
|
|
mkdir -p lib/ali/spark
|
2019-02-27 16:59:44 +00:00
|
|
|
cp -a $(ADA_ALI_DIR)/$@ lib/ali/spark/
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
MIRROR_FROM_REP_DIR := \
|
|
|
|
lib/import/import-spark.mk \
|
|
|
|
include/ada \
|
|
|
|
lib/symbols/spark \
|
|
|
|
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
|
|
$(mirror_from_rep_dir)
|
|
|
|
|
|
|
|
content: lib/mk/spark.mk
|
|
|
|
|
|
|
|
lib/mk/spark.mk:
|
|
|
|
mkdir -p $(dir $@)
|
2019-02-27 16:59:44 +00:00
|
|
|
cp -a $(REP_DIR)/lib/mk/spark.inc $@
|