i-g-t/debugger - make the debugger work with distcheck

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky 2011-10-31 17:19:54 -07:00
parent 15830ea54b
commit 7c8d41f4d9
4 changed files with 15 additions and 4 deletions

View File

@ -97,6 +97,7 @@ if test "x$SHADER_DEBUGGER" = xyes; then
if test -z "$GEN4ASM"; then if test -z "$GEN4ASM"; then
AC_MSG_ERROR([Cannot find intel-gen4asm in your path; please set GEN4ASM env variable]) AC_MSG_ERROR([Cannot find intel-gen4asm in your path; please set GEN4ASM env variable])
else else
AC_CONFIG_FILES([debugger/system_routine/GNUmakefile])
AC_DEFINE(HAVE_SHADER_DEBUGGER, 1, [Have shader debugging support]) AC_DEFINE(HAVE_SHADER_DEBUGGER, 1, [Have shader debugging support])
fi fi
fi fi

View File

@ -1,10 +1,17 @@
SUBDIRS=system_routine SUBDIRS=system_routine
bin_PROGRAMS = \ bin_PROGRAMS = #
if HAVE_SHADER_DEBUGGER
##needed by distcheck
DIST_SUBDIRS=system_routine
EXTRA_DIST=system_routine/
bin_PROGRAMS += \
eudb \ eudb \
debug_rdata \ debug_rdata \
$(NULL) $(NULL)
endif
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \ AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \

View File

@ -0,0 +1,3 @@
include Makefile
srcdir = @srcdir@
VPATH = @srcdir@

View File

@ -71,7 +71,7 @@ clean :
.PHONY : clean .PHONY : clean
distclean: clean distclean: clean
$(RM) help* $(RM) help* GNUmakefile
maintainer-clean: clean maintainer-clean: clean
@ -79,6 +79,6 @@ EMPTY_AUTOMAKE_TARGETS = install install-data install-exec uninstall \
install-dvi install-html install-info install-ps \ install-dvi install-html install-info install-ps \
install-pdf installdirs check installcheck \ install-pdf installdirs check installcheck \
mostlyclean dvi pdf ps info html tags ctags \ mostlyclean dvi pdf ps info html tags ctags \
distcheck distdir distdir
.PHONY: $(EMPTY_AUTOMAKE_TARGETS) .PHONY: $(EMPTY_AUTOMAKE_TARGETS)
$(EMPTY_AUTOMAKE_TARGETS): $(EMPTY_AUTOMAKE_TARGETS):