diff options
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r-- | gprof/Makefile.in | 506 |
1 files changed, 410 insertions, 96 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 69d5ea7..59156d5 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -1,135 +1,445 @@ -# @(#)Makefile 5.17 (Berkeley) 5/11/90 +# Makefile.in generated automatically by automake 1.1n from Makefile.am -.SUFFIXES : .m +# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + + +SHELL = /bin/sh -VPATH = @srcdir@ srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ prefix = @prefix@ +exec_prefix = @exec_prefix@ -exec_prefix = @exec_prefix@ -program_transform_name = @program_transform_name@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = true +PRE_INSTALL = true +POST_INSTALL = true +NORMAL_UNINSTALL = true +PRE_UNINSTALL = true +POST_UNINSTALL = true +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BFDLIB = @BFDLIB@ +CC = @CC@ +EXEEXT = @EXEEXT@ +HLDENV = @HLDENV@ +HLDFLAGS = @HLDFLAGS@ +MAINT = @MAINT@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ -bindir = @bindir@ -libdir = @libdir@ -tooldir = $(libdir) -mandir = @mandir@ -man1dir = $(mandir)/man1 +AUTOMAKE_OPTIONS = foreign -infodir = @infodir@ -datadir = @datadir@ +SUFFIXES = .m -SHELL = /bin/sh +INCLUDES = -D_GNU_SOURCE -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -INSTALL = `cd $(srcdir); pwd`/../install.sh -c -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)' -INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1 -MAKEINFO = makeinfo -TEX = tex -TEXINDEX = texindex +LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@ -# this is the directory we look in to find Texinfo -texidir = $(srcdir)/../texinfo +MY_TARGET = @MY_TARGET@ -MY_TARGET= @MY_TARGET@ +bin_PROGRAMS = gprof -PROG= gprof -SRCS= $(MY_TARGET).c basic_blocks.c call_graph.c \ - cg_arcs.c cg_dfn.c cg_print.c core.c \ - gmon_io.c gprof.c hertz.c hist.c source.c search_list.c symtab.c \ - sym_ids.c utils.c +gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ + cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \ + search_list.c symtab.c sym_ids.c utils.c \ + flat_bl.c bsd_callg_bl.c fsf_callg_bl.c +gprof_LDFLAGS = $(HLDFLAGS) +gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.a ../libiberty/libiberty.a +gprof_LDADD = $(MY_TARGET).o @BFDLIB@ ../libiberty/libiberty.a -LIBDEPS = ../bfd/libbfd.a ../libiberty/libiberty.a -LIBS = @BFDLIB@ ../libiberty/libiberty.a +noinst_HEADERS = \ + alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \ + basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ + core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + search_list.h source.h sparc.h sym_ids.h symtab.h utils.h -OBJS= $(MY_TARGET).o basic_blocks.o bsd_callg_bl.o call_graph.o \ - cg_arcs.o cg_dfn.o cg_print.o core.o flat_bl.o fsf_callg_bl.o \ - gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o \ - sym_ids.o utils.o +EXTRA_DIST = \ + alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \ + flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \ +BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c -# Files that can be generated, but should be included in distribution. -GEN_FILES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c +info_TEXINFOS = gprof.texi +man_MANS = gprof.1 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = @DEFS@ -I. -I$(srcdir) +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \ +cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \ +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 +DVIS = gprof.dvi +TEXINFOS = gprof.texi +MANS = gprof.1 + +NROFF = nroff +HEADERS = $(noinst_HEADERS) + +DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO aclocal.m4 \ +configure configure.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP = --best +SOURCES = $(gprof_SOURCES) +OBJECTS = $(gprof_OBJECTS) + +default: all + +.SUFFIXES: +.SUFFIXES: .c .o .texi .texinfo .info .dvi .ps .m +$(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) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(srcdir)/aclocal.m4: @MAINT@ configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: configure + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $$p $$p$(EXEEXT); \ + done + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT)"; \ + $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + $(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \ + done -CFLAGS=-g -DDEBUG -LDFLAGS= -HLDFLAGS = @HLDFLAGS@ -HLDENV = @HLDENV@ .c.o: - $(CC) -c -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd @DEFS@ -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" $(TCFLAGS) $(HCFLAGS) $(CFLAGS) $< + $(COMPILE) -c $< -all: $(GEN_FILES) $(PROG) +mostlyclean-compile: + rm -f *.o core -.PHONY: check installcheck info install-info -.SUFFIXES: .m +clean-compile: -.m.c: - awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ - FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ - FILE=$*.m $(srcdir)/$*.m +distclean-compile: + rm -f *.tab.c -diststuff: $(GEN_FILES) info +maintainer-clean-compile: -gprof.info: gprof.texi - $(MAKEINFO) -o gprof.info $(srcdir)/gprof.texi +gprof: $(gprof_OBJECTS) $(gprof_DEPENDENCIES) + @rm -f gprof$(EXEEXT) + $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS) + @test -z "$(EXEEXT)" || echo timestamp > gprof +gprof.info: gprof.texi gprof.dvi: gprof.texi - TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) $(srcdir)/gprof.texi - $(TEXINDEX) gprof.?? - TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) $(srcdir)/gprof.texi -info: gprof.info -dvi: gprof.dvi +DVIPS = dvips -check: -installcheck: +.texi.info: + $(MAKEINFO) -I $(srcdir) $< + +.texi.dvi: + TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ + MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< + +.texi: + $(MAKEINFO) -I $(srcdir) $< + +.texinfo.info: + $(MAKEINFO) $< + +.texinfo: + $(MAKEINFO) $< + +.texinfo.dvi: + TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ + MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< +.dvi.ps: + $(DVIPS) $< -o $@ + +install-info-am: $(INFO_DEPS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(infodir) + @for file in $(INFO_DEPS); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ + if test -f $$d/$$ifile; then \ + echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \ + $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \ + else : ; fi; \ + done; \ + done + @$(POST_INSTALL) + @if $(SHELL) -c 'install-info --version' >/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; :;\ + done; \ + else : ; fi + +uninstall-info: + $(PRE_UNINSTALL) + if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ + ii=yes; \ + else ii=; fi; \ + for file in $(INFO_DEPS); do \ + test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \ + done + $(NORMAL_UNINSTALL) + for file in $(INFO_DEPS); do \ + (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ + done + +dist-info: $(INFO_DEPS) + for base in $(INFO_DEPS); do \ + if test -f $$base; then d=.; else d=$(srcdir); fi; \ + for file in `cd $$d && eval echo $$base*`; do \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file; \ + done; \ + done -TAGS: - etags $(srcdir)/*.[ch] -tags: TAGS - -install-info: gprof.info - if [ -r gprof.info ]; then \ - dir=. ; \ - else \ - dir=$(srcdir) ; \ - fi ; \ - for i in `cd $$dir; echo gprof.info*` ; do \ - $(INSTALL_DATA) $$dir/$$i $(infodir)/$$i ; \ +mostlyclean-info: + 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: + +distclean-info: + +maintainer-clean-info: + for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done +install-man: $(MANS) + $(NORMAL_INSTALL) + $(mkinstalldirs) $(mandir)/man1 + @sect=1; \ + inst=`echo "gprof" | sed '$(transform)'`.1; \ + if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \ + else file=gprof.1; fi; \ + echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \ + $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst + +uninstall-man: + $(NORMAL_UNINSTALL) + inst=`echo "gprof" | sed '$(transform)'`.1; \ + rm -f $(mandir)/man1/$$inst + + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) + here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) + +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) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + rm -rf $(distdir) + GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) \ + && $(MAKE) dvi \ + && $(MAKE) check \ + && $(MAKE) install \ + && $(MAKE) installcheck \ + && $(MAKE) dist + rm -rf $(distdir) + @echo "========================"; \ + echo "$(distdir).tar.gz is ready for distribution"; \ + echo "========================" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) + rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) + rm -rf $(distdir) +distdir: $(DISTFILES) + rm -rf $(distdir) + mkdir $(distdir) + -chmod 755 $(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 +info: $(INFO_DEPS) +dvi: $(DVIS) +check: all + $(MAKE) +installcheck: +install-info: install-info-am +install-exec: install-binPROGRAMS + @$(NORMAL_INSTALL) -install: all - $(INSTALL_XFORM) gprof $(bindir)/gprof - $(INSTALL_XFORM1) $(srcdir)/gprof.1 $(man1dir)/gprof.1 +install-data: install-man + @$(NORMAL_INSTALL) -gprof: $(OBJS) $(LIBDEPS) - $(HLDENV) $(CC) -o $(PROG) $(HLDFLAGS) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LIBS) +install: install-exec install-data all + @: -mostlyclean: - -rm -f *.o core gprof nohup.out \ - gprof.cps gprof.fns gprof.log gprof.ps gprof.tps\ - gprof.aux gprof.dvi gprof.ky gprof.pg gprof.toc gprof.vr\ - gprof.cp gprof.fn gprof.kys gprof.pgs gprof.tp gprof.vrs -clean: mostlyclean - -rm -f gprof -distclean: clean - -rm -f config.cache config.log config.status Makefile -maintainer-clean realclean: distclean - -rm -f $(GEN_FILES) *.info* +uninstall: uninstall-binPROGRAMS uninstall-man -Makefile: Makefile.in config.status - $(SHELL) config.status +all: $(PROGRAMS) $(MANS) $(HEADERS) Makefile -config.status: configure - $(SHELL) config.status --recheck +install-strip: + $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install +installdirs: + $(mkinstalldirs) $(bindir) $(mandir)/man1 + + +mostlyclean-generic: + test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + +clean-generic: + test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + rm -f Makefile $(DISTCLEANFILES) + rm -f config.cache config.log stamp-h + 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 + +clean: clean-binPROGRAMS clean-compile clean-info clean-tags \ + clean-generic mostlyclean -$(OBJS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h core.h gmon_io.h \ - gmon_out.h gprof.h hertz.h hist.h search_list.h source.h sym_ids.h \ - symtab.h utils.h $(srcdir)/../include/libiberty.h \ - $(srcdir)/../bfd/sysdep.h $(MY_TARGET).h +distclean: distclean-binPROGRAMS distclean-compile distclean-info \ + distclean-tags distclean-generic clean + rm -f config.status -# These get around a bug in Sun Make in SunOS 4.1.1 and Solaris 2 +maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \ + maintainer-clean-info 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." + rm -f config.status + +.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \ +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 \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +.m.c: + awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ + FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ + FILE=$*.m $(srcdir)/$*.m + +# Dependencies. +$(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ + core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + search_list.h source.h sym_ids.h symtab.h utils.h \ + $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ + $(MY_TARGET).h $(MY_TARGET).o: $(MY_TARGET).c basic_blocks.o: basic_blocks.c bsd_call_bl.o: bsd_call_bl.c @@ -149,3 +459,7 @@ source.o: source.c symtab.o: symtab.c sym_ids.o: sym_ids.c utils.o: utils.c + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: |