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 8b279383b3c95cee84d38fb1a99ac5bdd9a61b2b..c37da9864c4494b8faf98d765fee531c26b1b1fe 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)