[TRACE] Debug Log levels enabled
[glsdk/libdce2.git] / Makefile.am
index 93d14d426ead5e58982a341cca9b3fd7fd5ba0d8..f10122f21e772002019f388b50f0351816dc30fd 100644 (file)
@@ -1,33 +1,32 @@
 ## Process this file with automake to produce Makefile.in
 
+SUBDIRS                      = \
+                               packages/codec_engine \
+                               packages/ivahd_codecs \
+                               packages/xdais \
+                               packages/xdctools
+
 
 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 \
+                               -I$(top_srcdir)/packages/codec_engine \
+                               -I$(top_srcdir)/packages/ivahd_codecs \
+                               -I$(top_srcdir)/packages/xdais \
+                               -I$(top_srcdir)/packages/xdctools \
+                               -I$(IPC_HEADERS)/ \
+                              -DBUILDOS_LINUX=1 -DDCE_DEBUG_LEVEL=1 \
+                              -DDCE_DEBUG_ENABLE=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_SOURCES            = libdce.c memplugin_linux.c libdce_linux.c
+libdce_la_CFLAGS             = $(WARN_CFLAGS) $(CE_CFLAGS) $(DRM_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_LIBADD             = $(DRM_LIBS) -lmmrpc
 
-libdce_la_includedir         = $(includedir)
+libdce_la_includedir         = $(includedir)/dce
 libdce_la_include_HEADERS    = libdce.h
 
 pkgconfig_DATA               = libdce.pc