2018-11-15 17:46:33 +01:00
|
|
|
ADA_RT_DIR := $(call port_dir,$(GENODE_DIR)/repos/libports/ports/ada-runtime)
|
|
|
|
|
|
|
|
MIRROR_FROM_ADA_RT_DIR := \
|
2019-05-22 12:33:15 +02:00
|
|
|
$(addprefix ada-runtime/contrib/gcc-8.3.0/,\
|
2018-11-15 17:46:33 +01:00
|
|
|
ada.ads \
|
2019-07-26 13:59:00 +02:00
|
|
|
a-unccon.ads \
|
2018-11-15 17:46:33 +01:00
|
|
|
interfac.ads \
|
2019-07-26 13:59:00 +02:00
|
|
|
i-cexten.ads \
|
|
|
|
s-maccod.ads \
|
2018-11-15 17:46:33 +01:00
|
|
|
s-unstyp.ads \
|
2019-07-26 13:59:00 +02:00
|
|
|
) \
|
|
|
|
$(addprefix ada-runtime/src/minimal/,\
|
|
|
|
a-except.ads \
|
|
|
|
a-except.adb \
|
|
|
|
i-c.ads \
|
|
|
|
i-c.adb \
|
|
|
|
system.ads \
|
2019-02-25 16:44:45 +01:00
|
|
|
s-arit64.ads \
|
|
|
|
s-arit64.adb \
|
2019-07-26 13:59:00 +02:00
|
|
|
s-exctab.ads \
|
|
|
|
s-exctab.adb \
|
|
|
|
s-parame.ads \
|
|
|
|
s-parame.adb \
|
|
|
|
s-secsta.ads \
|
|
|
|
s-secsta.adb \
|
|
|
|
s-soflin.ads \
|
|
|
|
s-soflin.adb \
|
|
|
|
s-stalib.ads \
|
|
|
|
s-stalib.adb \
|
|
|
|
s-stoele.ads \
|
|
|
|
s-stoele.adb \
|
2018-11-15 17:46:33 +01:00
|
|
|
) \
|
2019-05-22 12:33:15 +02:00
|
|
|
$(addprefix ada-runtime/src/lib/,\
|
2019-07-26 13:59:00 +02:00
|
|
|
componolit.ads \
|
|
|
|
componolit-runtime.ads \
|
|
|
|
componolit-runtime-conversions.ads \
|
|
|
|
componolit-runtime-conversions.adb \
|
|
|
|
componolit-runtime-debug.ads \
|
|
|
|
componolit-runtime-debug.adb \
|
|
|
|
componolit-runtime-exceptions.ads \
|
|
|
|
componolit-runtime-platform.ads \
|
|
|
|
componolit-runtime-platform.adb \
|
|
|
|
componolit-runtime-strings.ads \
|
|
|
|
componolit-runtime-strings.adb \
|
2019-05-22 12:33:15 +02:00
|
|
|
init.c \
|
|
|
|
) \
|
2019-07-26 13:59:00 +02:00
|
|
|
ada-runtime/src/common/s-init.ads \
|
|
|
|
ada-runtime/src/common/s-init.adb \
|
|
|
|
ada-runtime/platform/genode/genode.cc \
|
|
|
|
ada-runtime/platform/componolit_runtime.h \
|
|
|
|
ada-runtime/platform/ada_exceptions.h \
|
|
|
|
ada-runtime/platform/gnat_helpers.h
|
2018-11-15 17:46:33 +01:00
|
|
|
|
|
|
|
content: $(MIRROR_FROM_ADA_RT_DIR)
|
|
|
|
|
|
|
|
$(MIRROR_FROM_ADA_RT_DIR):
|
2018-10-10 18:08:14 +02:00
|
|
|
mkdir -p $(dir $@)
|
2018-11-15 17:46:33 +01:00
|
|
|
cp -r $(ADA_RT_DIR)/$@ $@
|
2018-10-10 18:08:14 +02:00
|
|
|
|
|
|
|
MIRROR_FROM_REP_DIR := \
|
2019-01-29 18:01:47 +01:00
|
|
|
lib/mk/spark.mk \
|
|
|
|
lib/mk/spark.inc \
|
|
|
|
lib/import/import-spark.mk \
|
2018-10-10 18:08:14 +02:00
|
|
|
include/ada/exception.h
|
|
|
|
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
|
|
$(mirror_from_rep_dir)
|
|
|
|
|
2019-01-29 18:01:47 +01:00
|
|
|
content: src/lib/spark/target.mk
|
2018-10-10 18:08:14 +02:00
|
|
|
|
2019-01-29 18:01:47 +01:00
|
|
|
src/lib/spark/target.mk:
|
2018-11-15 17:46:33 +01:00
|
|
|
mkdir -p $(dir $@)
|
2019-01-29 18:01:47 +01:00
|
|
|
echo "LIBS = spark" > $@
|