aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..93d14d4
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,34 @@
1## Process this file with automake to produce Makefile.in
2
3
4lib_LTLIBRARIES = libdce.la
5
6
7CE_CFLAGS = \
8 -I$(CODEC_ENGINE)/ \
9 -I$(FRAMEWORK_COMPONENTS) \
10 -I$(IVAHD_CODECS) \
11 -I$(XDAIAS) \
12 -I$(XDCTOOLS)/ \
13 -I$(IPC)/packages/ti/ipc/mm \
14 -DBUILDOS_LINUX=1 \
15 -Wno-pointer-to-int-cast
16
17
18libdce_la_SOURCES = libdce.c memplugin_linux.c
19libdce_la_CFLAGS = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS) $(X11_CFLAGS) $(WAYLAND_CFLAGS)
20libdce_la_LDFLAGS = -no-undefined -version-info 1:0:0
21libdce_la_LIBADD = $(DRM_LIBS) $(X11_LIBS) $(WAYLAND_LIBS) $(MMRPC_LIBS)
22
23if ENABLE_X11
24libdce_la_SOURCES += linux/libdce-x11.c
25endif
26if ENABLE_WAYLAND
27libdce_la_SOURCES += linux/libdce-wayland.c linux/wayland-drm-protocol.c
28endif
29
30libdce_la_includedir = $(includedir)
31libdce_la_include_HEADERS = libdce.h
32
33pkgconfig_DATA = libdce.pc
34pkgconfigdir = $(libdir)/pkgconfig