1TARGET = libservices.a
2MODULE = services
3
4MOD_SOURCES += \
5		app_mgr/app_message.c \
6		app_mgr/app_mgr.c \
7		app_mgr/app_management_center.c \
8		app_mgr/app_upgrade.c
9
10MOD_SOURCES += \
11		board_mgr/board_info.c \
12		board_mgr/board_mgr.c
13
14MOD_SOURCES += \
15		recovery/recovery.c \
16		recovery/ymodem.c
17
18MOD_SOURCES += \
19		amp_utils/amp_utils.c \
20
21MOD_INCLUDES := \
22		../main \
23		../adapter/include \
24		../adapter/include/peripheral \
25		../adapter/platform/linux \
26		../utils/mbedtls/include \
27		../utils/mbedtls/platform/include \
28		../utils/mbedtls/platform/amp/include \
29		../utils/cJSON \
30		../components/linksdk/components/bootstrap \
31		../components/linksdk/components/das \
32		../components/linksdk/components/data-model \
33		../components/linksdk/components/devinfo \
34		../components/linksdk/components/diag \
35		../components/linksdk/components/dynreg \
36		../components/linksdk/components/ntp \
37		../components/linksdk/components/subdev \
38		../components/linksdk/core \
39		../components/linksdk/core/sysdep \
40		../components/linksdk/core/utils \
41		../components/ulog \
42		../components/das/include \
43		../components/ota/include \
44		amp_utils \
45		app_mgr \
46		board_mgr \
47		recovery
48
49ifeq ($(ADDON), ui)
50MOD_INCLUDES += \
51		../ui/render/include \
52		../ui/aui/ \
53		../ui/aui/aui_core \
54		../ui/aui/aui_draw \
55		../ui/aui/aui_fonts \
56		../ui/aui/aui_hal \
57		../ui/aui/aui_misc \
58		../ui/aui/aui_objx \
59		../ui/aui/aui_themes \
60		../ui/aui/libs \
61		../ui/aui/libs/lvgl \
62		../ui/aui/libs/lvgl/src\
63		../ui/aui/libs/lvgl/src/lv_misc \
64		../ui/aui/libs/lvgl/src/lv_font \
65		../ui/aui/libs/lvgl/src/lv_core \
66		../ui/aui/libs/lvgl/src/lv_draw \
67		../ui/aui/libs/lvgl/src/lv_hal \
68		../ui/aui/libs/lvgl/src/lv_objx \
69		../ui/aui/libs/lvgl/src/lv_themes \
70		../utils/ezxml \
71		../utils/lexbor \
72		../utils/lexbor/css \
73		../adapter/include \
74		../components/linkkit \
75		../components/linkkit/infra \
76		../main \
77		../utils/mbedtls/include \
78		../components/ulog \
79		../engine/duktape_engine \
80		../adapter/platform/linux
81
82endif
83
84include $(TOOLS_DIR)/rules.mk
85