2011-12-22 16:19:25 +01:00
|
|
|
TARGET = vancouver
|
|
|
|
|
2012-10-02 14:53:27 +02:00
|
|
|
CONTRIB_DIR = $(REP_DIR)/contrib/vancouver-git
|
2011-12-22 16:19:25 +01:00
|
|
|
VANCOUVER_DIR = $(CONTRIB_DIR)/vancouver
|
2012-10-02 14:53:27 +02:00
|
|
|
NOVA_INCLUDE_DIR = $(REP_DIR)/contrib/vancouver-git/base/include
|
2011-12-22 16:19:25 +01:00
|
|
|
|
2012-06-06 10:19:48 +02:00
|
|
|
REQUIRES = nova x86_32
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
ifeq ($(wildcard $(VANCOUVER_DIR)),)
|
|
|
|
REQUIRES += prepare_ports_vancouver
|
|
|
|
endif
|
|
|
|
|
2012-08-09 10:51:09 +02:00
|
|
|
LIBS += cxx env thread server
|
2011-12-22 16:19:25 +01:00
|
|
|
SRC_CC = main.cc nova_user_env.cc device_model_registry.cc
|
|
|
|
|
|
|
|
#
|
|
|
|
# '82576vfmmio.inc' is apparently missing from the NOVA userland distribution.
|
|
|
|
# So let's skip building the 82576vf device model for now.
|
|
|
|
#
|
|
|
|
FILTER_OUT = model/82576vf.cc
|
|
|
|
|
|
|
|
MODEL_SRC_CC += $(notdir $(wildcard $(VANCOUVER_DIR)/model/*.cc))
|
|
|
|
EXECUTOR_SRC_CC += $(notdir $(wildcard $(VANCOUVER_DIR)/executor/*.cc))
|
|
|
|
SERVICE_SRC_CC += hostsink.cc
|
|
|
|
|
|
|
|
SRC_CC += $(filter-out $(FILTER_OUT),$(addprefix model/,$(MODEL_SRC_CC)))
|
|
|
|
SRC_CC += $(filter-out $(FILTER_OUT),$(addprefix executor/,$(EXECUTOR_SRC_CC)))
|
2012-10-02 14:53:27 +02:00
|
|
|
SRC_CC += base/service/hostsink.cc base/lib/runtime/string.cc
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
INC_DIR += $(PRG_DIR)
|
|
|
|
INC_DIR += $(VANCOUVER_DIR)/model
|
|
|
|
INC_DIR += $(VANCOUVER_DIR)/executor
|
|
|
|
INC_DIR += $(VANCOUVER_DIR)/include
|
|
|
|
INC_DIR += $(NOVA_INCLUDE_DIR)
|
|
|
|
|
|
|
|
CC_WARN += -Wno-parentheses
|
|
|
|
|
2012-09-06 14:26:45 +02:00
|
|
|
LD_TEXT_ADDR = 0xb0000000
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
vpath %.cc $(VANCOUVER_DIR)
|
|
|
|
vpath %.cc $(CONTRIB_DIR)
|