summaryrefslogtreecommitdiff
path: root/debugger
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-10-31 17:19:54 -0700
committerBen Widawsky <ben@bwidawsk.net>2011-10-31 17:34:16 -0700
commit7c8d41f4d959ee5f09c76272589f4e9b7872af52 (patch)
tree014850ea43e67099f8b121ea5713e1ffebaa0a2a /debugger
parent15830ea54be914b1f4005154b2dcba52fa6b6120 (diff)
i-g-t/debugger - make the debugger work with distcheck
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'debugger')
-rw-r--r--debugger/Makefile.am11
-rw-r--r--debugger/system_routine/GNUmakefile.in3
-rw-r--r--debugger/system_routine/Makefile4
3 files changed, 14 insertions, 4 deletions
diff --git a/debugger/Makefile.am b/debugger/Makefile.am
index eff4e2dbe..9c89a55bf 100644
--- a/debugger/Makefile.am
+++ b/debugger/Makefile.am
@@ -1,10 +1,17 @@
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 \
debug_rdata \
$(NULL)
-
+endif
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
diff --git a/debugger/system_routine/GNUmakefile.in b/debugger/system_routine/GNUmakefile.in
new file mode 100644
index 000000000..cd29cb529
--- /dev/null
+++ b/debugger/system_routine/GNUmakefile.in
@@ -0,0 +1,3 @@
+include Makefile
+srcdir = @srcdir@
+VPATH = @srcdir@
diff --git a/debugger/system_routine/Makefile b/debugger/system_routine/Makefile
index 8cb43c63a..981db4967 100644
--- a/debugger/system_routine/Makefile
+++ b/debugger/system_routine/Makefile
@@ -71,7 +71,7 @@ clean :
.PHONY : clean
distclean: clean
- $(RM) help*
+ $(RM) help* GNUmakefile
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-pdf installdirs check installcheck \
mostlyclean dvi pdf ps info html tags ctags \
- distcheck distdir
+ distdir
.PHONY: $(EMPTY_AUTOMAKE_TARGETS)
$(EMPTY_AUTOMAKE_TARGETS):