2022-05-23 11:10:21 +00:00
|
|
|
LIBS += base net jitterentropy wireguard_lx_inc_dirs
|
|
|
|
|
2023-07-04 10:30:51 +00:00
|
|
|
#VIRT_LINUX_INCLUDE_DIR := $(call select_from_repositories,src/include/virt_linux)
|
|
|
|
|
|
|
|
DDE_LINUX_DIR := $(subst /src/include/lx_kit,,$(call select_from_repositories,src/include/lx_kit))
|
|
|
|
|
2023-01-27 15:04:29 +00:00
|
|
|
INC_DIR += $(REP_DIR)/src/app/wireguard
|
2023-07-04 10:30:51 +00:00
|
|
|
INC_DIR += $(DDE_LINUX_DIR)/src/include/virt_linux
|
|
|
|
INC_DIR += $(DDE_LINUX_DIR)/src/include
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
|
|
SPEC_ARCH := x86_64
|
|
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
|
|
SPEC_ARCH := arm_64
|
|
|
|
endif
|
|
|
|
|
|
|
|
INC_DIR += $(DDE_LINUX_DIR)/src/include/spec/$(SPEC_ARCH)
|
|
|
|
|
2022-05-23 11:10:21 +00:00
|
|
|
|
|
|
|
SRC_CC += arp_cache.cc
|
|
|
|
SRC_CC += arp_waiter.cc
|
|
|
|
SRC_CC += base64.cc
|
|
|
|
SRC_CC += config_model.cc
|
|
|
|
SRC_CC += dhcp_client.cc
|
|
|
|
SRC_CC += ipv4_address_prefix.cc
|
|
|
|
SRC_CC += ipv4_config.cc
|
2023-01-27 15:04:29 +00:00
|
|
|
SRC_CC += lx_emul/random.cc
|
2022-05-23 11:10:21 +00:00
|
|
|
SRC_CC += main.cc
|
|
|
|
SRC_CC += nic_connection.cc
|
|
|
|
SRC_CC += uplink_connection.cc
|
|
|
|
|
|
|
|
vpath %.cc $(REP_DIR)/src/app/wireguard
|
2023-07-04 10:30:51 +00:00
|
|
|
vpath %.cc $(DDE_LINUX_DIR)/src/lib
|