aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPradeep Venkatasubbarao2014-01-06 03:03:01 -0600
committerPradeep Venkatasubbarao2014-07-16 22:19:52 -0500
commit90e1c9a144eb372bc359cb3a1a6748a509505961 (patch)
treef29744e80a4dde74cd611445abb0030c767b7ecb /Makefile.am
parentb27bd8a7eb9232ff6fe88eb095470a285125189c (diff)
downloadrepo-libdce-90e1c9a144eb372bc359cb3a1a6748a509505961.tar.gz
repo-libdce-90e1c9a144eb372bc359cb3a1a6748a509505961.tar.xz
repo-libdce-90e1c9a144eb372bc359cb3a1a6748a509505961.zip
[Linux] Add automatic search path for IPC headers
Adds the automatic search header mechanism using pkg-config for libmmrpc. Change-Id: If4aa61cb598567455a1342be358338e4adfcc3e0 Signed-off-by: Pradeep Venkatasubbarao <pradeepv@ti.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index dfac4f5..abf9424 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@ CE_CFLAGS = \
17 -I$(top_srcdir)/packages/xdais \ 17 -I$(top_srcdir)/packages/xdais \
18 -I$(top_srcdir)/packages/xdctools \ 18 -I$(top_srcdir)/packages/xdctools \
19 -I$(top_srcdir)/packages/framework_components \ 19 -I$(top_srcdir)/packages/framework_components \
20 -I$(IPC_HEADERS)/ \ 20 `pkg-config --cflags libmmrpc` \
21 -DBUILDOS_LINUX=1 -DDCE_DEBUG_LEVEL=1 \ 21 -DBUILDOS_LINUX=1 -DDCE_DEBUG_LEVEL=1 \
22 -DDCE_DEBUG_ENABLE=1 \ 22 -DDCE_DEBUG_ENABLE=1 \
23 -Wno-pointer-to-int-cast 23 -Wno-pointer-to-int-cast
@@ -25,8 +25,8 @@ CE_CFLAGS = \
25 25
26libdce_la_SOURCES = libdce.c memplugin_linux.c libdce_linux.c 26libdce_la_SOURCES = libdce.c memplugin_linux.c libdce_linux.c
27libdce_la_CFLAGS = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS) 27libdce_la_CFLAGS = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS)
28libdce_la_LDFLAGS = -no-undefined -version-info 1:0:0 28libdce_la_LDFLAGS = -no-undefined -version-info 1:0:0 `pkg-config --libs libmmrpc`
29libdce_la_LIBADD = $(DRM_LIBS) -lmmrpc 29libdce_la_LIBADD = $(DRM_LIBS)
30 30
31libdce_la_includedir = $(includedir)/dce 31libdce_la_includedir = $(includedir)/dce
32libdce_la_include_HEADERS = libdce.h 32libdce_la_include_HEADERS = libdce.h