summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in91
1 files changed, 58 insertions, 33 deletions
diff --git a/Makefile.in b/Makefile.in
index dc039c3f..0e2cc2fa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.10 from Makefile.am.
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -331,16 +331,30 @@ EXTRA_DIST = auto_free.h buildrun.h elaborate.h loc2c.h session.h \
dwarf_wrappers.h \
git_version.h git_version.sh
-EXAMPLE_DEST_DIR = $(distdir)/examples
-SAMPLE_DEST_DIR = $(EXAMPLE_DEST_DIR)/samples
-EXAMPLE_SRC = $(srcdir)/testsuite/systemtap.examples
-SAMPLE_SRC = $(srcdir)/testsuite/systemtap.samples/iotask.stp \
- $(srcdir)/testsuite/systemtap.samples/kmalloc-stacks.stp \
- $(srcdir)/testsuite/systemtap.samples/kmalloc-top \
- $(srcdir)/testsuite/systemtap.samples/pfaults.stp \
- $(srcdir)/testsuite/systemtap.samples/profile.stp \
- $(srcdir)/testsuite/systemtap.samples/tcp_connections.stp \
- $(srcdir)/testsuite/systemtap.samples/topsys.stp
+EXAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples
+EXAMPLE_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/examples
+DEMO_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples/small_demos
+DEMO_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/examples/small_demos
+SAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.samples
+SAMPLE_INSTALL_DIR = $(EXAMPLE_INSTALL_DIR)/samples
+EXAMPLE_SRC = $(EXAMPLE_SOURCE_DIR)/ChangeLog \
+ $(EXAMPLE_SOURCE_DIR)/README \
+ $(EXAMPLE_SOURCE_DIR)/*.stp \
+ $(EXAMPLE_SOURCE_DIR)/*.txt \
+ $(EXAMPLE_SOURCE_DIR)/*.meta
+
+DEMO_SRC = \
+ $(EXAMPLE_SOURCE_DIR)/small_demos/*.stp \
+ $(EXAMPLE_SOURCE_DIR)/small_demos/*.txt \
+ $(EXAMPLE_SOURCE_DIR)/small_demos/*.wav
+
+SAMPLE_SRC = $(SAMPLE_SOURCE_DIR)/iotask.stp \
+ $(SAMPLE_SOURCE_DIR)/kmalloc-stacks.stp \
+ $(SAMPLE_SOURCE_DIR)/kmalloc-top \
+ $(SAMPLE_SOURCE_DIR)/pfaults.stp \
+ $(SAMPLE_SOURCE_DIR)/profile.stp \
+ $(SAMPLE_SOURCE_DIR)/tcp_connections.stp \
+ $(SAMPLE_SOURCE_DIR)/topsys.stp
TEST_COV_DIR = coverage
# XXX: leaves behind man pages
@@ -1150,8 +1164,8 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
@@ -1176,8 +1190,8 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
@@ -1187,13 +1201,12 @@ ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
- here=`pwd`; \
list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
@@ -1266,6 +1279,10 @@ dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
+dist-lzma: distdir
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+ $(am__remove_distdir)
+
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
@@ -1293,6 +1310,8 @@ distcheck: dist
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lzma*) \
+ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
@@ -1462,7 +1481,7 @@ uninstall-man: uninstall-man1 uninstall-man5 uninstall-man8
clean-binPROGRAMS clean-generic clean-local \
clean-noinstPROGRAMS clean-pkglibexecPROGRAMS ctags \
ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
- dist-shar dist-tarZ dist-zip distcheck distclean \
+ dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-compile distclean-generic distclean-hdr \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
@@ -1537,19 +1556,7 @@ install-exec-hook:
@BUILD_CRASHMOD_TRUE@ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
@BUILD_CRASHMOD_TRUE@ $(INSTALL) $(STAPLOG) $(DESTDIR)$(pkglibdir)
-dist-add-examples: $(EXAMPLE_SRC)
- rm -rf $(EXAMPLE_DEST_DIR)
- mkdir -p $(EXAMPLE_DEST_DIR)
- cp -a $(EXAMPLE_SRC)/* $(EXAMPLE_DEST_DIR)/.
-
-# Copy some of the testsuite sample scripts to the distdir
-# 'examples/samples' directory.
-dist-add-samples: $(SAMPLE_SRC) dist-add-examples
- rm -rf $(SAMPLE_DEST_DIR)
- mkdir -p $(SAMPLE_DEST_DIR)
- cp $(SAMPLE_SRC) $(SAMPLE_DEST_DIR)
-
-dist-hook: dist-add-samples dist-gitversion
+dist-hook: dist-gitversion
find $(distdir) -name CVS -o -name '*~' -o -name '.#*' | xargs rm -rf
find $(distdir) -name '*.o' -o -name '*.ko' -o -name '*.cmd' -o -name '*.mod.c' -o -name '.??*' | xargs rm -rf
find $(distdir) -name 'stap' -o -name '*.log' -o -name '*.sum' -o -name 'site.exp' | xargs rm -rf
@@ -1564,6 +1571,12 @@ install-data-local:
do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/uprobes/$$f; done)
(cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name README \) -print \
| while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/tapset/$$f; done)
+ $(MKDIR_P) $(EXAMPLE_INSTALL_DIR)
+ $(INSTALL_DATA) $(EXAMPLE_SRC) $(EXAMPLE_INSTALL_DIR)
+ $(MKDIR_P) $(DEMO_INSTALL_DIR)
+ $(INSTALL_DATA) $(DEMO_SRC) $(DEMO_INSTALL_DIR)
+ $(MKDIR_P) $(SAMPLE_INSTALL_DIR)
+ $(INSTALL_DATA) $(SAMPLE_SRC) $(SAMPLE_INSTALL_DIR)
gcov:
@-$(MAKE) clean CXXFLAGS="-g -fprofile-arcs -ftest-coverage" all check
@@ -1589,6 +1602,18 @@ uninstall-local:
rm -rf $(DESTDIR)$(libexecdir)/$(PACKAGE)
rm -rf $(DESTDIR)$(libdir)/$(PACKAGE)
-rm -rf $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)
+ @list='$(EXAMPLE_SRC)'; for f in $$list; do p=`basename $$f`; \
+ echo " rm -f '$(EXAMPLE_INSTALL_DIR)/$$p'"; \
+ rm -f "$(EXAMPLE_INSTALL_DIR)/$$p"; \
+ done
+ @list='$(DEMO_SRC)'; for f in $$list; do p=`basename $$f`; \
+ echo " rm -f '$(DEMO_INSTALL_DIR)/$$p'"; \
+ rm -f "$(DEMO_INSTALL_DIR)/$$p"; \
+ done
+ @list='$(SAMPLE_SRC)'; for f in $$list; do p=`basename $$f`; \
+ echo " rm -f '$(SAMPLE_INSTALL_DIR)/$$p'"; \
+ rm -f "$(SAMPLE_INSTALL_DIR)/$$p"; \
+ done
check:
SRCDIR=`cd $(srcdir); pwd`; \