aboutsummaryrefslogtreecommitdiffstats
blob: 93d14d426ead5e58982a341cca9b3fd7fd5ba0d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## Process this file with automake to produce Makefile.in


lib_LTLIBRARIES              = libdce.la


CE_CFLAGS                    = \
                               -I$(CODEC_ENGINE)/ \
                               -I$(FRAMEWORK_COMPONENTS) \
                               -I$(IVAHD_CODECS) \
                               -I$(XDAIAS) \
                               -I$(XDCTOOLS)/ \
                               -I$(IPC)/packages/ti/ipc/mm \
                               -DBUILDOS_LINUX=1 \
                               -Wno-pointer-to-int-cast


libdce_la_SOURCES            = libdce.c memplugin_linux.c
libdce_la_CFLAGS             = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS) $(X11_CFLAGS) $(WAYLAND_CFLAGS)
libdce_la_LDFLAGS            = -no-undefined -version-info 1:0:0
libdce_la_LIBADD             = $(DRM_LIBS) $(X11_LIBS) $(WAYLAND_LIBS) $(MMRPC_LIBS)

if ENABLE_X11
libdce_la_SOURCES           += linux/libdce-x11.c
endif
if ENABLE_WAYLAND
libdce_la_SOURCES           += linux/libdce-wayland.c linux/wayland-drm-protocol.c
endif

libdce_la_includedir         = $(includedir)
libdce_la_include_HEADERS    = libdce.h

pkgconfig_DATA               = libdce.pc
pkgconfigdir                 = $(libdir)/pkgconfig