2012-05-30 20:13:09 +02:00
|
|
|
#
|
|
|
|
# \brief The core of Genode
|
|
|
|
# \author Martin Stein
|
|
|
|
# \date 2011-12-16
|
|
|
|
#
|
|
|
|
|
|
|
|
# set program name
|
|
|
|
TARGET = core
|
|
|
|
|
|
|
|
# use core specific startup library
|
2012-10-23 17:12:09 +02:00
|
|
|
STARTUP_LIB = core_support
|
2012-05-30 20:13:09 +02:00
|
|
|
|
|
|
|
# add library dependencies
|
2012-10-23 17:12:09 +02:00
|
|
|
LIBS += cxx raw_ipc heap child process pager lock console signal raw_server \
|
|
|
|
syscall core_support
|
2012-05-30 20:13:09 +02:00
|
|
|
|
|
|
|
# add include paths
|
|
|
|
GEN_CORE_DIR = $(BASE_DIR)/src/core
|
2012-11-30 14:08:42 +01:00
|
|
|
INC_DIR += $(PRG_DIR) \
|
|
|
|
$(REP_DIR)/src/core \
|
|
|
|
$(REP_DIR)/src/core/include $(REP_DIR)/include \
|
2012-05-30 20:13:09 +02:00
|
|
|
$(REP_DIR)/src/platform $(GEN_CORE_DIR)/include \
|
|
|
|
$(BASE_DIR)/src/platform $(BASE_DIR)/src/core/include \
|
|
|
|
$(BASE_DIR)/include
|
|
|
|
|
|
|
|
# add C++ sources
|
2012-10-02 13:11:58 +02:00
|
|
|
SRC_CC += _main.cc \
|
|
|
|
console.cc \
|
|
|
|
cpu_session_component.cc \
|
|
|
|
cpu_session_support.cc \
|
|
|
|
dataspace_component.cc \
|
|
|
|
dump_alloc.cc \
|
|
|
|
io_mem_session_component.cc \
|
|
|
|
io_mem_session_support.cc \
|
|
|
|
irq_session_component.cc \
|
|
|
|
main.cc \
|
|
|
|
pd_session_component.cc \
|
|
|
|
platform.cc \
|
|
|
|
platform_pd.cc \
|
|
|
|
platform_thread.cc \
|
|
|
|
ram_session_component.cc \
|
|
|
|
ram_session_support.cc \
|
|
|
|
rm_session_component.cc \
|
|
|
|
rom_session_component.cc \
|
|
|
|
signal_session_component.cc \
|
|
|
|
thread.cc
|
2012-05-30 20:13:09 +02:00
|
|
|
|
|
|
|
# declare file locations
|
|
|
|
vpath _main.cc $(BASE_DIR)/src/platform
|
|
|
|
vpath cpu_session_component.cc $(GEN_CORE_DIR)
|
2012-10-02 13:11:58 +02:00
|
|
|
vpath dataspace_component.cc $(GEN_CORE_DIR)
|
2012-05-30 20:13:09 +02:00
|
|
|
vpath io_mem_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath io_mem_session_support.cc $(GEN_CORE_DIR)
|
2012-10-02 13:11:58 +02:00
|
|
|
vpath main.cc $(GEN_CORE_DIR)
|
|
|
|
vpath pd_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath ram_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath rm_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath rom_session_component.cc $(GEN_CORE_DIR)
|
2012-05-30 20:13:09 +02:00
|
|
|
vpath dump_alloc.cc $(GEN_CORE_DIR)
|
|
|
|
vpath console.cc $(REP_DIR)/src/base
|
|
|
|
vpath % $(REP_DIR)/src/core
|
|
|
|
|