aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSathishkumar2013-09-05 06:34:31 -0500
committerSaurabh Bipin Chandra2013-09-05 11:09:16 -0500
commite08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e (patch)
tree45c3aee6f4fd8f47c7596534d48b7ffa065dcc0f /Makefile.am
parentbdc17c43679f649cd46fec22f9dafc1c13130acc (diff)
downloadrepo-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.gz
repo-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.xz
repo-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.zip
[LINUX] Fix for make install
This patch fixes make install. All the required headers are copied to $(includedir)/dce on make install. Unused variables(X11 and WAYLAND) are removed in Makefile.am and pkg-config on libmmrpc is removed as no libmmrpc.pc is available. xdc_target_types__=gnu/targets/std.h is added to libdce.h, so that applications need not do it when using libdce.h. Change-Id: I8cc70aa2102becdbdc4c6b1e38e2aaa91739c4cc Signed-off-by: Sathishkumar <x0203598@ti.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am25
1 files changed, 15 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 0a0a6b9..356c4cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,26 +1,31 @@
1## Process this file with automake to produce Makefile.in 1## Process this file with automake to produce Makefile.in
2 2
3SUBDIRS = \
4 packages/codec_engine \
5 packages/ivahd_codecs \
6 packages/xdais \
7 packages/xdctools
8
3 9
4lib_LTLIBRARIES = libdce.la 10lib_LTLIBRARIES = libdce.la
5 11
6 12
7CE_CFLAGS = \ 13CE_CFLAGS = \
8 -I$(CODEC_ENGINE)/ \ 14 -I$(top_srcdir)/packages/codec_engine \
9 -I$(FRAMEWORK_COMPONENTS) \ 15 -I$(top_srcdir)/packages/ivahd_codecs \
10 -I$(IVAHD_CODECS) \ 16 -I$(top_srcdir)/packages/xdais \
11 -I$(XDAIAS) \ 17 -I$(top_srcdir)/packages/xdctools \
12 -I$(XDCTOOLS)/ \ 18 -I$(IPC_HEADERS)/ \
13 -I$(IPC)/packages/ti/ipc/mm \ 19 -DBUILDOS_LINUX=1 \
14 -DBUILDOS_LINUX=1 \
15 -Wno-pointer-to-int-cast 20 -Wno-pointer-to-int-cast
16 21
17 22
18libdce_la_SOURCES = libdce.c memplugin_linux.c libdce_linux.c 23libdce_la_SOURCES = libdce.c memplugin_linux.c libdce_linux.c
19libdce_la_CFLAGS = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS) $(X11_CFLAGS) $(WAYLAND_CFLAGS) 24libdce_la_CFLAGS = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS)
20libdce_la_LDFLAGS = -no-undefined -version-info 1:0:0 25libdce_la_LDFLAGS = -no-undefined -version-info 1:0:0
21libdce_la_LIBADD = $(DRM_LIBS) $(X11_LIBS) $(WAYLAND_LIBS) $(MMRPC_LIBS) 26libdce_la_LIBADD = $(DRM_LIBS) -lmmrpc
22 27
23libdce_la_includedir = $(includedir) 28libdce_la_includedir = $(includedir)/dce
24libdce_la_include_HEADERS = libdce.h 29libdce_la_include_HEADERS = libdce.h
25 30
26pkgconfig_DATA = libdce.pc 31pkgconfig_DATA = libdce.pc