M7350/hardware/qcom/gps/loc_api/loc_api_v02/Makefile.am
2024-09-09 08:52:07 +00:00

43 lines
1.2 KiB
Makefile
Executable File

AM_CFLAGS = \
${QMIF_CFLAGS} \
-I../../utils \
-I../../platform_lib_abstractions \
-I../libloc_api_50001
requiredlibs = \
${QMIF_LIBS} \
../libloc_api_50001/libloc_adapter_so.la \
../../utils/libgps_utils_so.la
h_sources = LocApiV02Adapter.h \
loc_util_log.h \
location_service_v02.h \
loc_api_sync_req.h \
loc_api_v02_client.h \
loc_api_v02_log.h
c_sources = LocApiV02Adapter.cpp \
loc_api_v02_log.c \
loc_api_v02_client.c \
loc_api_sync_req.c \
location_service_v02.c
library_includedir = $(pkgincludedir)
library_include_HEADERS = $(h_sources)
libloc_api_la_SOURCES = $(c_sources) $(h_sources)
if USE_GLIB
libloc_api_la_CFLAGS = -DUSE_GLIB $(AM_CFLAGS) @GLIB_CFLAGS@
libloc_api_la_LDFLAGS = -lstdc++ -lpthread @GLIB_LIBS@ -shared -version-info 1:0:0
libloc_api_la_CPPFLAGS = -DUSE_GLIB $(AM_CFLAGS) $(AM_CPPFLAGS) @GLIB_CFLAGS@
else
libloc_api_la_CFLAGS = $(AM_CFLAGS)
libloc_api_la_LDFLAGS = -shared -version-info 1:0:0
libloc_api_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
endif
libloc_api_la_LIBADD = $(requiredlibs) -lstdc++
lib_LTLIBRARIES = libloc_api.la