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-10-11 11:04:37 +02:00
|
|
|
LIBS += cxx env blit thread alarm signal server
|
2011-12-22 16:19:25 +01:00
|
|
|
SRC_CC = main.cc nova_user_env.cc device_model_registry.cc
|
2012-10-11 16:41:02 +02:00
|
|
|
SRC_CC += console.cc keyboard.cc network.cc disk.cc
|
2012-10-11 11:04:37 +02:00
|
|
|
SRC_BIN = mono.tff
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
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)))
|
2012-10-11 14:41:29 +02:00
|
|
|
SRC_CC += $(CONTRIB_DIR)/julian/model/82576vf.cc
|
2011-12-22 16:19:25 +01:00
|
|
|
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)
|
2012-10-11 14:41:29 +02:00
|
|
|
INC_DIR += $(CONTRIB_DIR)/julian/model
|
|
|
|
INC_DIR += $(CONTRIB_DIR)/julian/include
|
2011-12-22 16:19:25 +01:00
|
|
|
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-11-26 13:04:56 +01:00
|
|
|
CC_CXX_OPT += -std=gnu++11
|
2011-12-22 16:19:25 +01:00
|
|
|
|
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)
|