index 656e009f8840f92cfd188b7b89886fd5e0b0bab0..b4d3078337577a763c928731d4f425c6a15eeb8e 100644 (file)
##
# additional include paths necessary to compile the library
##
# 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 -pthread
-#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
###############################################################################
# THE LIBRARIES TO BUILD
lib_LTLIBRARIES = libtitransportrpmsg.la
# where to install the headers on the system
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)
# 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 = \
# the sources to add to the library and to add to the source distribution
libtitransportrpmsg_la_SOURCES = \