summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorfche <fche>2005-07-28 18:07:02 +0000
committerfche <fche>2005-07-28 18:07:02 +0000
commit24cb178fd82936f55d254ebd0cd79802da21134a (patch)
treed9fbde4a94c16abf37a994c7d3ae147d04b77919 /Makefile.am
parentb290c791d701b5841ed824fddfce3f949b0a7b61 (diff)
downloadsystemtap-steved-24cb178fd82936f55d254ebd0cd79802da21134a.tar.gz
systemtap-steved-24cb178fd82936f55d254ebd0cd79802da21134a.tar.xz
systemtap-steved-24cb178fd82936f55d254ebd0cd79802da21134a.zip
2005-07-28 Frank Ch. Eigler <fche@redhat.com>
translator/1120 * main.cxx (main): Preset -R and -I options from environment variables (if set). Pass guru mode flags to parser. * parse.cxx (privileged): New parser operation flag. Update callers. (parse_embeddedcode): Throw an error if !privileged. (parse_functiondecl): Change signature. Prevent duplicates. (parse_globals): Ditto. * parse.h: Corresponding changes. * tapset/*.stp: Beginnings of real tapset library, to replace previous builtins. * tapsets.cxx: Greatly reduce verbose mode output. * Makefile.am: Install & dist it. * runtest.sh: Refer to it. * Makefile.in, aclocal.m4: Regenerated. * testsuite/*/*.stp: Set guru mode via /bin/sh if needed. * testusite/*/*ko.stp: Homogenize shell scripts.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e3262f68..327bdbaf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,18 +10,20 @@ bin_PROGRAMS = stap
stap_SOURCES = main.cxx \
parse.cxx staptree.cxx elaborate.cxx translate.cxx \
tapsets.cxx buildrun.cxx
+stap_CXXFLAGS = -Werror $(AM_CXXFLAGS)
libexec_PROGRAMS = stpd
stpd_SOURCES = runtime/stpd/stpd.c runtime/stpd/librelay.c
stpd_LDADD = -lpthread
# automake doesn't get rpath right unless we do this
stpd_LDFLAGS = -Wl,-rpath '$(libdir)/systemtap'
+
AM_CXXFLAGS = -Wall
# Get extra libs as needed
LDADD =
-EXTRA_DIST=testsuite runtime $(wildcard $(srcdir)/*.h) systemtap.spec
+EXTRA_DIST=testsuite runtime tapset $(wildcard $(srcdir)/*.h) systemtap.spec
dist-hook:
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
@@ -36,6 +38,8 @@ install-data-local:
tar -f - -c --exclude=CVS --exclude='*~' --exclude='.#*' \
-C $(srcdir)/runtime transport \
| (cd $(DESTDIR)$(pkgdatadir)/runtime && tar xpf -)
+ -mkdir $(DESTDIR)$(pkgdatadir)/tapset
+ (cd $(srcdir)/tapset ; find . -name '*.stp' | cpio -pdmv $(DESTDIR)$(pkgdatadir)/tapset)
p=$(srcdir)/testsuite/parse
s=$(srcdir)/testsuite/sem