blob: a0223c5da5b8e57dac7fa03c98327111938bdd61 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001AUTOMAKE_OPTIONS=foreign subdir-objects
2bin_PROGRAMS = mnld_test fm_gnss
3
4
5AM_CFLAGS = -Imnld_client/inc \
6 -Imnld_fm/inc \
7 -I../gps_hal/inc \
8 -I../gps_hal/inc/hardware \
9 -DLIB_GNSS_HAL_DIR='"$(libdir)"'
10AM_CFLAGS+=$(DNS_FLAGS)
11
12mnld_test_SOURCES = mnld_client/src/mnld_client.c \
13 mnld_client/src/mnld_client_gps_cb.c
14
15mnld_test_LDADD = -lpthread -lrt -ldl -lgpshal
16
17fm_gnss_SOURCES = mnld_fm/src/mnld_fm.c \
18 mnld_fm/src/mnld_fm_gps_cb.c
19
20fm_gnss_LDADD = -lpthread -lrt -ldl -lgpshal
21
22DEFS+=-D__LINUX_OS__ -DMTK_GPS_DATA_PATH="\"/usr/share/gps/\""