blob: 4569718732fed277db2ff9fc002a724c18cda154 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001AUTOMAKE_OPTIONS=foreign subdir-objects
2bin_PROGRAMS = mnld0
3
4mnld0_SOURCES = \
5 mnld_entity/src/mnl2hal_interface.c \
6 utility/src/data_coder.c \
7 utility/src/mtk_lbs_utility.c \
8 utility/src/mtk_socket_data_coder.c \
9 utility/src/mtk_socket_utils.c \
10 mnl_agps_interface/src/mnl_agps_interface.c \
11 mnl_agps_interface/src/mnl2agps_interface.c \
12 mnl_agps_interface/src/agps2mnl_interface.c \
13 mnl_flp_interface/src/mtk_flp_controller.c \
14 mnl_flp_interface/src/mtk_flp_main.c \
15 mnl_flp_interface/src/mtk_flp_mnl_interface.c \
16 mnl_flp_interface/src/mtk_flp_screen_monitor.c \
17 mnl_flp_interface/src/mnl_flp_test_interface.c \
18 mnl_geofence_interface/src/mtk_geofence_controller.c \
19 mnl_geofence_interface/src/mtk_geofence_main.c \
20 mnl_nlp_interface/src/Mnld2NlpUtilsInterface.c \
21 mnl_meta_interface/src/Meta2MnldInterface.c \
22 mnl_debug_interface/src/Debug2MnldInterface.c \
23 mnl_debug_interface/src/Mnld2DebugInterface.c \
24 mnl_at_cmd_interface/src/mnl_at_interface.c \
25 mnld_entity/src/mnld.c \
26 mnld_entity/src/mnld_uti.c \
27 mnld_entity/src/gps_controller.c \
28 mnld_entity/src/nmea_parser.c \
29 mnld_entity/src/epo.c \
30 mnld_entity/src/qepo.c \
31 mnld_entity/src/mtknav.c \
32 mnld_entity/src/mnl_common.c \
33 mnld_entity/src/op01_log.c \
34 mnld_entity/src/gps_dbg_log.c \
35 mnl/src/pseudo_mnl.c \
36 utility/src/mtk_auto_log.c \
37 mnld_entity/src/mpe.c \
38 mnl_mpe_interface/src/mpe_main.c \
39 mnl_mpe_interface/src/mpe_logger.c \
40 mnld_entity/src/mt3333_controller.c \
41 mnld_entity/src/flashdownload/flashtool.c \
42 mnld_entity/src/flashdownload/brom_base.c \
43 mnld_entity/src/flashdownload/brom_mt3301.c \
44 mnld_entity/src/flashdownload/da_cmd.c \
45 mnld_entity/src/flashdownload/gps_uart.c
46
47AM_CFLAGS = \
48 -Iutility/inc \
49 -Imnl_agps_interface/inc \
50 -Imnl_at_cmd_interface/inc \
51 -Imnl_flp_interface/inc \
52 -Imnl_mpe_interface/inc \
53 -Imnl_nlp_interface/inc \
54 -Imnl_meta_interface/inc \
55 -Imnl_debug_interface/inc \
56 -Imnl_geofence_interface/inc \
57 -Imnld_entity/inc \
58 -Imnld_entity/hardware \
59 -Imnld_entity/src/flashdownload \
60 -Imnl/inc \
61 -Icurl/inc \
62 -Imnl_mpe_interface/inc \
63 -D__LINUX_OS__ \
64 -DMTK_GPS_DATA_PATH="\"/usr/share/gps/\""
65
66AM_CFLAGS+=$(DNS_FLAGS)
67
68mnld0_LDADD = mnl/libs/linux/${PACKAGE_ARCH}/libmnl_gnss.so \
69 mnl/libs/linux/${PACKAGE_ARCH}/libhotstill.a \
70 mnl/libs/linux/${PACKAGE_ARCH}/libsupl.a \
71 -lm -lrt -lpthread -lz -lssl -lcrypto -lcurl
72
73include_HEADERS = mnl/inc/mtk_gps_type.h