OSDN Git Service

d3dadapter9: Add ddebug, rbug and trace support
authorAxel Davy <axel.davy@ens.fr>
Sun, 10 Apr 2016 21:55:19 +0000 (23:55 +0200)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
Add support for ddebug, rbug and trace

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/targets/d3dadapter9/Makefile.am

index 8b27938..c37da98 100644 (file)
@@ -34,6 +34,12 @@ AM_CFLAGS = \
        $(GALLIUM_TARGET_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
+AM_CPPFLAGS = \
+       $(DEFINES) \
+       -DGALLIUM_DDEBUG \
+       -DGALLIUM_RBUG \
+       -DGALLIUM_TRACE
+
 ninedir = $(D3D_DRIVER_INSTALL_DIR)
 nine_LTLIBRARIES = d3dadapter9.la
 
@@ -64,6 +70,9 @@ d3dadapter9_la_LIBADD = \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(top_builddir)/src/gallium/state_trackers/nine/libninetracker.la \
        $(top_builddir)/src/util/libmesautil.la \
+       $(top_builddir)/src/gallium/drivers/ddebug/libddebug.la \
+       $(top_builddir)/src/gallium/drivers/rbug/librbug.la \
+       $(top_builddir)/src/gallium/drivers/trace/libtrace.la \
        $(EXPAT_LIBS) \
        $(GALLIUM_COMMON_LIB_DEPS)