2019-01-29 17:01:47 +00:00
|
|
|
include $(REP_DIR)/lib/mk/spark.inc
|
|
|
|
|
|
|
|
ADALIB = $(ADA_RTS)/adalib
|
|
|
|
ADAINCLUDE = $(ADA_RTS)/adainclude
|
|
|
|
|
2020-11-23 17:14:37 +00:00
|
|
|
SRC_ADS += \
|
|
|
|
system.ads \
|
|
|
|
s-soflin.ads \
|
|
|
|
s-unstyp.ads \
|
|
|
|
interfac.ads \
|
|
|
|
i-cexten.ads \
|
|
|
|
a-except.ads \
|
|
|
|
ada.ads
|
|
|
|
|
|
|
|
SRC_ADB += \
|
|
|
|
s-stalib.adb \
|
|
|
|
s-secsta.adb \
|
|
|
|
s-parame.adb \
|
|
|
|
i-c.adb \
|
|
|
|
s-arit64.adb \
|
|
|
|
s-expint.adb \
|
|
|
|
s-imenne.adb \
|
|
|
|
s-stoele.adb \
|
|
|
|
s-init.adb
|
|
|
|
|
2019-01-29 17:01:47 +00:00
|
|
|
CUSTOM_ADA_FLAGS = --RTS=$(ADA_RTS) -c -gnatg -gnatp -gnatpg -gnatn2
|
|
|
|
|
|
|
|
# C runtime glue code
|
|
|
|
SRC_CC += genode.cc
|
2019-02-25 11:39:37 +00:00
|
|
|
SRC_C += init.c
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
# Ada packages that implement runtime functionality
|
2019-07-26 11:59:00 +00:00
|
|
|
SRC_ADS += componolit.ads \
|
|
|
|
componolit-runtime.ads \
|
|
|
|
componolit-runtime-exceptions.ads
|
|
|
|
SRC_ADB += componolit-runtime-strings.adb \
|
|
|
|
componolit-runtime-debug.adb \
|
|
|
|
componolit-runtime-platform.adb \
|
|
|
|
componolit-runtime-conversions.adb
|
2019-01-29 17:01:47 +00:00
|
|
|
|
2019-07-26 11:59:00 +00:00
|
|
|
vpath %.cc $(ADA_RUNTIME_PLATFORM_DIR)/genode
|
2019-01-29 17:01:47 +00:00
|
|
|
|
|
|
|
vpath s-soflin.ads $(ADA_RUNTIME_DIR)
|
|
|
|
vpath a-except.ads $(ADA_RUNTIME_DIR)
|
|
|
|
|
|
|
|
vpath s-secsta.adb $(ADA_RUNTIME_DIR)
|
|
|
|
vpath s-soflin.adb $(ADA_RUNTIME_DIR)
|
|
|
|
vpath s-stalib.adb $(ADA_RUNTIME_DIR)
|
|
|
|
vpath s-parame.adb $(ADA_RUNTIME_DIR)
|
|
|
|
vpath a-except.adb $(ADA_RUNTIME_DIR)
|
2019-02-25 12:08:12 +00:00
|
|
|
vpath i-c.adb $(ADA_RUNTIME_DIR)
|
2019-07-26 11:59:00 +00:00
|
|
|
vpath s-arit64.adb $(ADA_RUNTIME_DIR)
|
2020-05-19 10:15:06 +00:00
|
|
|
vpath s-expint.adb $(ADA_RUNTIME_DIR)
|
2020-11-23 17:14:37 +00:00
|
|
|
vpath s-imenne.adb $(ADA_RUNTIME_DIR)
|
2019-07-26 11:59:00 +00:00
|
|
|
vpath system.ads $(ADA_RUNTIME_DIR)
|
|
|
|
vpath s-stoele.adb $(ADA_RUNTIME_DIR)
|
|
|
|
vpath s-init.adb $(ADA_RUNTIME_DIR)
|
2019-01-29 17:01:47 +00:00
|
|
|
|
2019-07-26 11:59:00 +00:00
|
|
|
vpath componolit% $(ADA_RUNTIME_LIB_DIR)
|
2019-02-25 11:39:37 +00:00
|
|
|
vpath init.c $(ADA_RUNTIME_LIB_DIR)
|
|
|
|
vpath s-init.adb $(ADA_RUNTIME_COMMON_DIR)
|
2019-01-29 17:01:47 +00:00
|
|
|
|
2019-07-26 11:59:00 +00:00
|
|
|
vpath %.ads $(ADA_RTS_SOURCE)
|
|
|
|
vpath %.adb $(ADA_RTS_SOURCE)
|
|
|
|
|
2019-01-29 17:01:47 +00:00
|
|
|
SHARED_LIB = yes
|