[GLP] Libdce linux implementation
[glsdk/libdce2.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
4 lib_LTLIBRARIES              = libdce.la
7 CE_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
18 libdce_la_SOURCES            = libdce.c memplugin_linux.c
19 libdce_la_CFLAGS             = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_CFLAGS) $(X11_CFLAGS) $(WAYLAND_CFLAGS)
20 libdce_la_LDFLAGS            = -no-undefined -version-info 1:0:0
21 libdce_la_LIBADD             = $(DRM_LIBS) $(X11_LIBS) $(WAYLAND_LIBS) $(MMRPC_LIBS)
23 if ENABLE_X11
24 libdce_la_SOURCES           += linux/libdce-x11.c
25 endif
26 if ENABLE_WAYLAND
27 libdce_la_SOURCES           += linux/libdce-wayland.c linux/wayland-drm-protocol.c
28 endif
30 libdce_la_includedir         = $(includedir)
31 libdce_la_include_HEADERS    = libdce.h
33 pkgconfig_DATA               = libdce.pc
34 pkgconfigdir                 = $(libdir)/pkgconfig