X-Git-Url: https://git.ti.com/gitweb?p=ipc%2Fipcdev.git;a=blobdiff_plain;f=linux%2Fsrc%2Ftransport%2FMakefile.am;h=b4d3078337577a763c928731d4f425c6a15eeb8e;hp=121bdc3606bc7eef9601f8d0b12465d60bd45247;hb=c3056c6ffd44af96892238b73f472b966b5da1fd;hpb=6277fe026f8073103804be8b59b4f582512db39d diff --git a/linux/src/transport/Makefile.am b/linux/src/transport/Makefile.am index 121bdc3..b4d3078 100644 --- a/linux/src/transport/Makefile.am +++ b/linux/src/transport/Makefile.am @@ -1,5 +1,5 @@ ## -## Copyright (c) 2013-2014, Texas Instruments Incorporated +## Copyright (c) 2013-2015 Texas Instruments Incorporated - http://www.ti.com ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions @@ -32,33 +32,38 @@ ## # 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 library names to build (note we are building shared libs) -lib_LTLIBRARIES = libtransport.la +lib_LTLIBRARIES = libtitransportrpmsg.la # where to install the headers on the system -libtransport_ladir = $(includedir)/ti/ipc +libtitransportrpmsg_ladir = $(includedir)/ti/ipc/transports # the list of header files that belong to the library (to be installed later) -libtransport_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 -libtransport_la_SOURCES = \ +libtitransportrpmsg_la_SOURCES = \ TransportRpmsg.c # Add version info to the shared library -libtransport_la_LDFLAGS = -version-info 1:0:0 +libtitransportrpmsg_la_LDFLAGS = -version-info 1:0:0 #pkgconfig_DATA = libtiipc.pc #pkgconfigdir = $(libdir)/pkgconfig