Home | History | Annotate | Download | only in libloc_api-rpc-glue
      1 AM_CFLAGS = \
      2    -I../../../utils \
      3    -I../../../platform_lib_abstractions \
      4    -I./rpc_inc \
      5    -I../libloc_api-rpc-stub/inc \
      6    -I../../libloc_api_50001 \
      7    $(MSM7K_CFLAGS) \
      8    -DUSE_QCOM_AUTO_RPC
      9 
     10 requiredlibs = \
     11    ../../../utils/libgps_utils_so.la \
     12    $(MSM7K_LIBS)
     13 
     14 h_sources = \
     15     rpc_inc/loc_api_rpc_glue.h \
     16     rpc_inc/loc_api_fixup.h \
     17     rpc_inc/loc_api_sync_call.h \
     18     rpc_inc/loc_apicb_appinit.h \
     19 
     20 c_sources = \
     21     src/loc_api_rpc_glue.c \
     22     src/loc_api_sync_call.c \
     23     src/loc_apicb_appinit.c \
     24     src/loc_api_fixup.c \
     25     src/loc_api_log.c \
     26     src/LocApiRpcAdapter.cpp \
     27 
     28 
     29 library_includedir = $(pkgincludedir)/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc
     30 library_include_HEADERS = $(h_sources)
     31 libloc_api_rpc_qc_la_SOURCES = $(c_sources) $(h_sources)
     32 
     33 if USE_GLIB
     34 libloc_api_rpc_qc_la_CFLAGS = -DUSE_GLIB $(AM_CFLAGS) @GLIB_CFLAGS@
     35 libloc_api_rpc_qc_la_LDFLAGS = -lstdc++ -lpthread @GLIB_LIBS@ -shared -version-info 1:0:0
     36 libloc_api_rpc_qc_la_CPPFLAGS = -DUSE_GLIB $(AM_CFLAGS) $(AM_CPPFLAGS) @GLIB_CFLAGS@
     37 else
     38 libloc_api_rpc_qc_la_CFLAGS = $(AM_CFLAGS)
     39 libloc_api_rpc_qc_la_LDFLAGS = -lpthread -shared -version-info 1:0:0
     40 libloc_api_rpc_qc_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
     41 endif
     42 
     43 libloc_api_rpc_qc_la_LIBADD = $(requiredlibs) -lstdc++
     44 
     45 #Create and Install Libraries
     46 lib_LTLIBRARIES = libloc_api_rpc_qc.la
     47