aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-06-16 19:32:15 +0000
committerIan Lance Taylor <ian@airs.com>1997-06-16 19:32:15 +0000
commit3b66bca3ba1b8d1c86db94f99c356243940da12d (patch)
treefca8fef781f81a03d7b0dfd0be09e9255ab59a07 /gprof
parent90d7b9b9dd4830ba33c60a2a46482f24e8bc31d8 (diff)
downloadgdb-3b66bca3ba1b8d1c86db94f99c356243940da12d.zip
gdb-3b66bca3ba1b8d1c86db94f99c356243940da12d.tar.gz
gdb-3b66bca3ba1b8d1c86db94f99c356243940da12d.tar.bz2
* Makefile.am (INCLUDES): Add -DDEBUG.
* Makefile.in: Rebuild.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/Makefile.am2
-rw-r--r--gprof/Makefile.in68
3 files changed, 44 insertions, 31 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index a345471..6ed62b4 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 16 15:31:39 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.am (INCLUDES): Add -DDEBUG.
+ * Makefile.in: Rebuild.
+
Tue Apr 15 14:19:30 1997 Ian Lance Taylor <ian@cygnus.com>
Change to use automake:
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index c4d8e7e..2898986 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = foreign
SUFFIXES = .m
-INCLUDES = -D_GNU_SOURCE -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
+INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index 59156d5..efabebf 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.1n from Makefile.am
+# Makefile.in generated automatically by automake 1.1p from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@@ -55,12 +55,17 @@ host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
BFDLIB = @BFDLIB@
CC = @CC@
EXEEXT = @EXEEXT@
HLDENV = @HLDENV@
HLDFLAGS = @HLDFLAGS@
MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
@@ -68,7 +73,7 @@ AUTOMAKE_OPTIONS = foreign
SUFFIXES = .m
-INCLUDES = -D_GNU_SOURCE -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
+INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
@@ -113,7 +118,6 @@ search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
fsf_callg_bl.o
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
INFO_DEPS = gprof.info
@@ -138,20 +142,20 @@ OBJECTS = $(gprof_OBJECTS)
default: all
.SUFFIXES:
-.SUFFIXES: .c .o .texi .texinfo .info .dvi .ps .m
+.SUFFIXES: .c .dvi .info .m .o .ps .texi .texinfo
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-$(srcdir)/aclocal.m4: @MAINT@ configure.in
+$(ACLOCAL_M4): @MAINT@ configure.in
cd $(srcdir) && $(ACLOCAL)
-config.status: configure
+config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
-$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
mostlyclean-binPROGRAMS:
@@ -206,6 +210,7 @@ gprof.dvi: gprof.texi
DVIPS = dvips
.texi.info:
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
$(MAKEINFO) -I $(srcdir) $<
.texi.dvi:
@@ -213,12 +218,15 @@ DVIPS = dvips
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
.texi:
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
$(MAKEINFO) -I $(srcdir) $<
.texinfo.info:
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
$(MAKEINFO) $<
.texinfo:
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
$(MAKEINFO) $<
.texinfo.dvi:
@@ -240,7 +248,7 @@ install-info-am: $(INFO_DEPS)
done; \
done
@$(POST_INSTALL)
- @if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
for file in $(INFO_DEPS); do \
echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
install-info --info-dir=$(infodir) $(infodir)/$$file; :;\
@@ -249,7 +257,7 @@ install-info-am: $(INFO_DEPS)
uninstall-info:
$(PRE_UNINSTALL)
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
ii=yes; \
else ii=; fi; \
for file in $(INFO_DEPS); do \
@@ -270,17 +278,18 @@ dist-info: $(INFO_DEPS)
done; \
done
-mostlyclean-info:
+mostlyclean-aminfo:
rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
-clean-info:
+clean-aminfo:
-distclean-info:
+distclean-aminfo:
-maintainer-clean-info:
+maintainer-clean-aminfo:
for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
+clean-info: mostlyclean-aminfo
install-man: $(MANS)
$(NORMAL_INSTALL)
$(mkinstalldirs) $(mandir)/man1
@@ -305,9 +314,6 @@ ID: $(HEADERS) $(SOURCES)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
tags=; \
here=`pwd`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
- done; \
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
@@ -321,6 +327,8 @@ distclean-tags:
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
@@ -353,14 +361,14 @@ dist-all: distdir
distdir: $(DISTFILES)
rm -rf $(distdir)
mkdir $(distdir)
- -chmod 755 $(distdir)
+ -chmod 777 $(distdir)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \
done
- $(MAKE) distdir="$(distdir)" dist-info
+ $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
info: $(INFO_DEPS)
dvi: $(DVIS)
check: all
@@ -378,7 +386,7 @@ install: install-exec install-data all
uninstall: uninstall-binPROGRAMS uninstall-man
-all: $(PROGRAMS) $(MANS) $(HEADERS) Makefile
+all: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
@@ -394,24 +402,24 @@ clean-generic:
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log stamp-h
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
- mostlyclean-info mostlyclean-tags mostlyclean-generic
+ mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
-clean: clean-binPROGRAMS clean-compile clean-info clean-tags \
+clean: clean-binPROGRAMS clean-compile clean-aminfo clean-tags \
clean-generic mostlyclean
-distclean: distclean-binPROGRAMS distclean-compile distclean-info \
+distclean: distclean-binPROGRAMS distclean-compile distclean-aminfo \
distclean-tags distclean-generic clean
rm -f config.status
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
- maintainer-clean-info maintainer-clean-tags \
+ maintainer-clean-aminfo maintainer-clean-tags \
maintainer-clean-generic distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
@@ -421,11 +429,11 @@ maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-info-am uninstall-info \
-mostlyclean-info distclean-info clean-info maintainer-clean-info \
-install-man uninstall-man tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags distdir info dvi installcheck \
-install-info install-exec install-data install uninstall all \
-installdirs mostlyclean-generic distclean-generic clean-generic \
+mostlyclean-aminfo distclean-aminfo clean-aminfo \
+maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
+installcheck install-info install-exec install-data install uninstall \
+all installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean