SDOCM00115373 NameServer local get methods are missing on Linux
[ipc/ipcdev.git] / linux / src / transport / Makefile.am
index 656e009f8840f92cfd188b7b89886fd5e0b0bab0..32f004624c58cdb0bc14cc974da90e18bdc5bd89 100644 (file)
 ##
 
 # additional include paths necessary to compile the library
-AM_CFLAGS = -I$(top_srcdir)/linux/include -I$(top_srcdir)/hlos_common/include \
-        -I$(top_srcdir)/packages -I$(KERNEL_INSTALL_DIR)/include/generated/uapi\
-        -D_GNU_SOURCE -Wall @AM_CFLAGS@
+AM_CFLAGS = -I$(top_srcdir)/hlos_common/include -D_GNU_SOURCE -Wall
 
-#if DRA7XX
-#AM_CFLAGS += -DGATEMP_SUPPORT
-#endif
+if KERNEL_INSTALL_DIR
+AM_CFLAGS += -I$(KERNEL_INSTALL_DIR)/include/generated/uapi
+endif
+
+if AF_RPMSG
+AM_CFLAGS += -DAF_RPMSG=$(AF_RPMSG)
+endif
+
+AM_CFLAGS += -I$(top_srcdir)/linux/include -I$(top_srcdir)/packages @AM_CFLAGS@
 
 ###############################################################################
 # THE LIBRARIES TO BUILD
@@ -48,10 +52,11 @@ AM_CFLAGS = -I$(top_srcdir)/linux/include -I$(top_srcdir)/hlos_common/include \
 lib_LTLIBRARIES = libtitransportrpmsg.la
 
 # where to install the headers on the system
-libtitransportrpmsg_ladir = $(includedir)/ti/ipc
+libtitransportrpmsg_ladir = $(includedir)/ti/ipc/transports
 
 # the list of header files that belong to the library (to be installed later)
-libtitransportrpmsg_la_HEADERS = $(top_srcdir)/linux/include/ti/ipc/Std.h
+libtitransportrpmsg_la_HEADERS = \
+        $(top_srcdir)/linux/include/ti/ipc/transports/TransportRpmsg.h
 
 # the sources to add to the library and to add to the source distribution
 libtitransportrpmsg_la_SOURCES =    \