1 # Makefile.in generated by automake 1.8.5 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 SOURCES = $(gprof_SOURCES)
21 top_srcdir = @top_srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
41 bin_PROGRAMS = gprof$(EXEEXT)
42 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub README \
43 ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
44 $(top_srcdir)/configure $(am__configure_deps) \
45 $(srcdir)/gconfig.in $(srcdir)/../mkinstalldirs \
46 $(top_srcdir)/po/Make-in $(srcdir)/../ltmain.sh \
47 $(srcdir)/../config.guess $(srcdir)/../config.sub \
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
52 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../gettext.m4 \
53 $(top_srcdir)/configure.in
54 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
56 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
57 configure.lineno configure.status.lineno
58 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
59 CONFIG_HEADER = gconfig.h
60 CONFIG_CLEAN_FILES = po/Makefile.in
61 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
62 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
63 PROGRAMS = $(bin_PROGRAMS)
64 am__objects_1 = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
65 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
66 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) \
67 hertz.$(OBJEXT) hist.$(OBJEXT) source.$(OBJEXT) \
68 search_list.$(OBJEXT) symtab.$(OBJEXT) sym_ids.$(OBJEXT) \
69 utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) vax.$(OBJEXT) \
70 tahoe.$(OBJEXT) sparc.$(OBJEXT) mips.$(OBJEXT)
71 am_gprof_OBJECTS = $(am__objects_1) flat_bl.$(OBJEXT) \
72 bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
73 gprof_OBJECTS = $(am_gprof_OBJECTS)
75 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
78 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
79 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
80 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
81 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
82 $(AM_CFLAGS) $(CFLAGS)
84 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
85 $(AM_LDFLAGS) $(LDFLAGS) -o $@
86 SOURCES = $(gprof_SOURCES)
87 DIST_SOURCES = $(gprof_SOURCES)
88 INFO_DEPS = $(srcdir)/gprof.info
89 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
90 am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
96 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then \
97 echo $(top_srcdir)/../texinfo/util/texi2dvi; \
101 TEXI2PDF = $(TEXI2DVI) --pdf --batch
102 MAKEINFOHTML = $(MAKEINFO) --html
103 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
105 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
106 html-recursive info-recursive install-data-recursive \
107 install-exec-recursive install-info-recursive \
108 install-recursive installcheck-recursive installdirs-recursive \
109 pdf-recursive ps-recursive uninstall-info-recursive \
111 man1dir = $(mandir)/man1
114 HEADERS = $(noinst_HEADERS)
117 DIST_SUBDIRS = $(SUBDIRS)
120 AMDEP_FALSE = @AMDEP_FALSE@
121 AMDEP_TRUE = @AMDEP_TRUE@
123 AUTOCONF = @AUTOCONF@
124 AUTOHEADER = @AUTOHEADER@
125 AUTOMAKE = @AUTOMAKE@
127 CATALOGS = @CATALOGS@
128 CATOBJEXT = @CATOBJEXT@
130 CCDEPMODE = @CCDEPMODE@
133 CPPFLAGS = @CPPFLAGS@
134 CYGPATH_W = @CYGPATH_W@
135 DATADIRNAME = @DATADIRNAME@
143 GMOFILES = @GMOFILES@
147 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
148 INSTALL_DATA = @INSTALL_DATA@
149 INSTALL_PROGRAM = @INSTALL_PROGRAM@
150 INSTALL_SCRIPT = @INSTALL_SCRIPT@
151 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
152 INSTOBJEXT = @INSTOBJEXT@
153 INTLDEPS = @INTLDEPS@
154 INTLLIBS = @INTLLIBS@
155 INTLOBJS = @INTLOBJS@
161 LTLIBOBJS = @LTLIBOBJS@
163 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
164 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
165 MAKEINFO = @MAKEINFO@
166 MKINSTALLDIRS = @MKINSTALLDIRS@
170 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
171 PACKAGE_NAME = @PACKAGE_NAME@
172 PACKAGE_STRING = @PACKAGE_STRING@
173 PACKAGE_TARNAME = @PACKAGE_TARNAME@
174 PACKAGE_VERSION = @PACKAGE_VERSION@
175 PATH_SEPARATOR = @PATH_SEPARATOR@
179 SET_MAKE = @SET_MAKE@
182 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
185 WARN_CFLAGS = @WARN_CFLAGS@
186 XGETTEXT = @XGETTEXT@
187 ac_ct_CC = @ac_ct_CC@
188 ac_ct_RANLIB = @ac_ct_RANLIB@
189 ac_ct_STRIP = @ac_ct_STRIP@
190 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
191 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
192 am__include = @am__include@
193 am__leading_dot = @am__leading_dot@
194 am__quote = @am__quote@
197 build_alias = @build_alias@
198 build_cpu = @build_cpu@
199 build_os = @build_os@
200 build_vendor = @build_vendor@
202 exec_prefix = @exec_prefix@
204 host_alias = @host_alias@
205 host_cpu = @host_cpu@
207 host_vendor = @host_vendor@
208 includedir = @includedir@
210 install_sh = @install_sh@
213 libexecdir = @libexecdir@
214 localstatedir = @localstatedir@
217 oldincludedir = @oldincludedir@
219 program_transform_name = @program_transform_name@
221 sharedstatedir = @sharedstatedir@
222 sysconfdir = @sysconfdir@
224 target_alias = @target_alias@
225 target_cpu = @target_cpu@
226 target_os = @target_os@
227 target_vendor = @target_vendor@
228 AUTOMAKE_OPTIONS = cygnus
231 BASEDIR = $(srcdir)/..
232 BFDDIR = $(BASEDIR)/bfd
233 INCDIR = $(BASEDIR)/include
234 AM_CFLAGS = $(WARN_CFLAGS)
236 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""
237 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
238 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
239 search_list.c symtab.c sym_ids.c utils.c \
240 i386.c alpha.c vax.c tahoe.c sparc.c mips.c
242 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
243 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
244 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
246 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
247 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
248 search_list.h source.h sym_ids.h symtab.h utils.h
250 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
251 EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
252 POTFILES = $(sources) $(noinst_HEADERS)
254 TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
255 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
256 info_TEXINFOS = gprof.texi
258 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
259 all: $(BUILT_SOURCES) gconfig.h
260 $(MAKE) $(AM_MAKEFLAGS) all-recursive
263 .SUFFIXES: .m .c .dvi .html .info .lo .o .obj .pdf .ps .texi
266 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
268 case '$(am__configure_deps)' in \
270 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
271 cd $(srcdir) && $(AUTOMAKE) --foreign \
276 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
277 cd $(top_srcdir) && \
278 $(AUTOMAKE) --foreign Makefile
281 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
282 $(SHELL) ./config.status --recheck
284 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
285 cd $(srcdir) && $(AUTOCONF)
286 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
287 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
290 @if test ! -f $@; then \
295 stamp-h1: $(srcdir)/gconfig.in $(top_builddir)/config.status
297 cd $(top_builddir) && $(SHELL) ./config.status gconfig.h
298 $(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
299 cd $(top_srcdir) && $(AUTOHEADER)
304 -rm -f gconfig.h stamp-h1
305 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
306 cd $(top_builddir) && $(SHELL) ./config.status $@
307 install-binPROGRAMS: $(bin_PROGRAMS)
309 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
310 @list='$(bin_PROGRAMS)'; for p in $$list; do \
311 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
315 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
316 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
317 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
321 uninstall-binPROGRAMS:
323 @list='$(bin_PROGRAMS)'; for p in $$list; do \
324 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
325 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
326 rm -f "$(DESTDIR)$(bindir)/$$f"; \
330 @list='$(bin_PROGRAMS)'; for p in $$list; do \
331 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
332 echo " rm -f $$p $$f"; \
335 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
336 @rm -f gprof$(EXEEXT)
337 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
349 $(COMPILE) -c `$(CYGPATH_W) '$<'`
352 $(LTCOMPILE) -c -o $@ $<
365 backupdir="$(am__leading_dot)am$$$$" && \
366 am__cwd=`pwd` && cd $(srcdir) && \
367 rm -rf $$backupdir && mkdir $$backupdir && \
368 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
369 if test -f $$f; then \
370 mv $$f $$backupdir; \
375 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
383 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
385 rm -rf $$backupdir; \
389 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
390 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
394 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
395 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
399 $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
401 if test ! -d $@ && test -d $(@:.html=); then \
402 mv $(@:.html=) $@; else :; fi
403 $(srcdir)/gprof.info: gprof.texi
404 gprof.dvi: gprof.texi
405 gprof.pdf: gprof.texi
406 gprof.html: gprof.texi
412 @if (install-info --version && \
413 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
414 list='$(INFO_DEPS)'; \
415 for file in $$list; do \
416 relfile=`echo "$$file" | sed 's|^.*/||'`; \
417 echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
418 install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
422 @list='$(INFO_DEPS)'; \
423 for file in $$list; do \
424 relfile=`echo "$$file" | sed 's|^.*/||'`; \
425 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
426 (if cd "$(DESTDIR)$(infodir)"; then \
427 echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
428 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
432 dist-info: $(INFO_DEPS)
433 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
434 list='$(INFO_DEPS)'; \
435 for base in $$list; do \
437 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
439 if test -f $$base; then d=.; else d=$(srcdir); fi; \
440 for file in $$d/$$base*; do \
441 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
442 test -f $(distdir)/$$relfile || \
443 cp -p $$file $(distdir)/$$relfile; \
448 -rm -rf gprof.aux gprof.cp gprof.cps gprof.fn gprof.fns gprof.ky gprof.kys \
449 gprof.log gprof.pg gprof.pgs gprof.tmp gprof.toc gprof.tp \
450 gprof.tps gprof.vr gprof.vrs gprof.dvi gprof.pdf gprof.ps \
453 maintainer-clean-aminfo:
454 @list='$(INFO_DEPS)'; for i in $$list; do \
455 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
456 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
457 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
460 clean-info: mostlyclean-aminfo
461 install-man1: $(man1_MANS) $(man_MANS)
463 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
464 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
465 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
468 *.1*) list="$$list $$i" ;; \
471 for i in $$list; do \
472 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
474 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
479 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
480 inst=`echo $$inst | sed -e 's/^.*\///'`; \
481 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
482 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
483 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
487 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
488 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
491 *.1*) list="$$list $$i" ;; \
494 for i in $$list; do \
495 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
500 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
501 inst=`echo $$inst | sed -e 's/^.*\///'`; \
502 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
503 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
504 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
507 # This directory's subdirectories are mostly independent; you can cd
508 # into them and run `make' without going through this Makefile.
509 # To change the values of `make' variables: instead of editing Makefiles,
510 # (1) if the variable is set in `config.status', edit `config.status'
511 # (which will cause the Makefiles to be regenerated when you run `make');
512 # (2) otherwise, pass the desired values on the `make' command line.
513 $(RECURSIVE_TARGETS):
514 @set fnord $$MAKEFLAGS; amf=$$2; \
516 target=`echo $@ | sed s/-recursive//`; \
517 list='$(SUBDIRS)'; for subdir in $$list; do \
518 echo "Making $$target in $$subdir"; \
519 if test "$$subdir" = "."; then \
521 local_target="$$target-am"; \
523 local_target="$$target"; \
525 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
526 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
528 if test "$$dot_seen" = "no"; then \
529 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
532 mostlyclean-recursive clean-recursive distclean-recursive \
533 maintainer-clean-recursive:
534 @set fnord $$MAKEFLAGS; amf=$$2; \
537 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
538 *) list='$(SUBDIRS)' ;; \
540 rev=''; for subdir in $$list; do \
541 if test "$$subdir" = "."; then :; else \
542 rev="$$subdir $$rev"; \
546 target=`echo $@ | sed s/-recursive//`; \
547 for subdir in $$rev; do \
548 echo "Making $$target in $$subdir"; \
549 if test "$$subdir" = "."; then \
550 local_target="$$target-am"; \
552 local_target="$$target"; \
554 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
555 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
556 done && test -z "$$fail"
558 list='$(SUBDIRS)'; for subdir in $$list; do \
559 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
562 list='$(SUBDIRS)'; for subdir in $$list; do \
563 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
566 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
567 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
568 unique=`for i in $$list; do \
569 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
571 $(AWK) ' { files[$$0] = 1; } \
572 END { for (i in files) print i; }'`; \
576 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
577 $(TAGS_FILES) $(LISP)
580 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
581 include_option=--etags-include; \
584 include_option=--include; \
587 list='$(SUBDIRS)'; for subdir in $$list; do \
588 if test "$$subdir" = .; then :; else \
589 test ! -f $$subdir/TAGS || \
590 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
593 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
594 unique=`for i in $$list; do \
595 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
597 $(AWK) ' { files[$$0] = 1; } \
598 END { for (i in files) print i; }'`; \
599 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
600 test -n "$$unique" || unique=$$empty_fix; \
601 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
605 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
606 $(TAGS_FILES) $(LISP)
609 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
610 unique=`for i in $$list; do \
611 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
613 $(AWK) ' { files[$$0] = 1; } \
614 END { for (i in files) print i; }'`; \
615 test -z "$(CTAGS_ARGS)$$tags$$unique" \
616 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
620 here=`$(am__cd) $(top_builddir) && pwd` \
621 && cd $(top_srcdir) \
622 && gtags -i $(GTAGS_ARGS) $$here
625 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
627 check: $(BUILT_SOURCES)
628 $(MAKE) $(AM_MAKEFLAGS) check-recursive
629 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
630 installdirs: installdirs-recursive
632 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
633 test -z "$$dir" || $(mkdir_p) "$$dir"; \
635 install: $(BUILT_SOURCES)
636 $(MAKE) $(AM_MAKEFLAGS) install-recursive
637 install-exec: install-exec-recursive
638 install-data: install-data-recursive
639 uninstall: uninstall-recursive
642 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
644 installcheck: installcheck-recursive
646 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
647 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
648 `test -z '$(STRIP)' || \
649 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
653 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
656 -rm -f $(CONFIG_CLEAN_FILES)
658 maintainer-clean-generic:
659 @echo "This command is intended for maintainers to use"
660 @echo "it deletes files that may require special tools to rebuild."
661 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
662 clean: clean-recursive
664 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
666 distclean: distclean-recursive
667 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
669 distclean-am: clean-am distclean-compile distclean-generic \
670 distclean-hdr distclean-libtool distclean-tags
682 info-am: $(INFO_DEPS)
684 install-data-am: install-data-local install-man
686 install-exec-am: install-binPROGRAMS
688 install-info: install-info-recursive
690 install-info-am: $(INFO_DEPS)
692 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
693 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
694 list='$(INFO_DEPS)'; \
695 for file in $$list; do \
697 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
699 if test -f $$file; then d=.; else d=$(srcdir); fi; \
700 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
701 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
702 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
703 if test -f $$ifile; then \
704 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
705 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
706 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
711 @if (install-info --version && \
712 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
713 list='$(INFO_DEPS)'; \
714 for file in $$list; do \
715 relfile=`echo "$$file" | sed 's|^.*/||'`; \
716 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
717 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
720 install-man: install-man1
724 maintainer-clean: maintainer-clean-recursive
725 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
726 -rm -rf $(top_srcdir)/autom4te.cache
728 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
729 maintainer-clean-generic
731 mostlyclean: mostlyclean-recursive
733 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
734 mostlyclean-generic mostlyclean-libtool
744 uninstall-am: uninstall-binPROGRAMS uninstall-man
746 uninstall-info: uninstall-info-recursive
748 uninstall-man: uninstall-man1
750 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
751 check-am clean clean-binPROGRAMS clean-generic clean-info \
752 clean-libtool clean-recursive ctags ctags-recursive dist-info \
753 distclean distclean-compile distclean-generic distclean-hdr \
754 distclean-libtool distclean-recursive distclean-tags dvi \
755 dvi-am html html-am info info-am install install-am \
756 install-binPROGRAMS install-data install-data-am \
757 install-data-local install-exec install-exec-am install-info \
758 install-info-am install-man install-man1 install-strip \
759 installcheck installcheck-am installdirs installdirs-am \
760 maintainer-clean maintainer-clean-aminfo \
761 maintainer-clean-generic maintainer-clean-recursive \
762 mostlyclean mostlyclean-aminfo mostlyclean-compile \
763 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
764 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
765 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
769 diststuff: $(BUILT_SOURCES) info $(man_MANS)
772 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
773 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
774 FILE=$*.m $(srcdir)/$*.m
775 po/POTFILES.in: @MAINT@ Makefile
776 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
777 && mv tmp $(srcdir)/po/POTFILES.in
779 # Build the man page from the texinfo file
780 # The sed command removes the no-adjust Nroff command so that
781 # the man output looks standard.
782 gprof.1: $(srcdir)/gprof.texi
784 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
785 -($(POD2MAN) gprof.pod | \
786 sed -e '/^.if n .na/d' > $@.T$$$$ && \
787 mv -f $@.T$$$$ $@) || \
788 (rm -f $@.T$$$$ && exit 1)
791 Makefile: $(BFDDIR)/configure.in
793 # We want install to imply install-info as per GNU standards, despite the
795 install-data-local: install-info
797 # Targets to rebuild dependencies in this Makefile.
798 # Have to get rid of DEP1 here so that "$?" later includes all sources.
799 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
801 $(MAKE) MKDEP="$(MKDEP)" DEP1
802 sed -f dep.sed < DEP1 > DEPA
803 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
804 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
805 echo 'make DEP failed!'; exit 1; \
810 DEP1: $(gprof_SOURCES)
811 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
812 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
813 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
816 dep.sed: dep-in.sed config.status
818 sed <$(srcdir)/dep-in.sed >dep.sed \
819 -e 's!@INCDIR@!$(INCDIR)!' \
820 -e 's!@BFDDIR@!$(BFDDIR)!' \
821 -e 's!@SRCDIR@!$(srcdir)!' \
822 -e "s!@OBJDIR@!$${objdir}!" \
823 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
826 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
827 cat DEP >> tmp-Makefile
828 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
831 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
832 cat DEP >> tmp-Makefile.in
833 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
836 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
837 cat DEP >> tmp-Makefile.am
838 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
840 .PHONY: dep dep-in dep-am
842 # DO NOT DELETE THIS LINE -- mkdep uses it.
843 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
844 basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
845 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
846 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
847 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h basic_blocks.h \
848 corefile.h gmon_io.h gmon_out.h search_list.h source.h \
850 call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
851 $(INCDIR)/ansidecl.h ../bfd/config.h $(INCDIR)/fopen-same.h \
852 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
853 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
854 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
856 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
857 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
858 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
859 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
860 symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
862 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
863 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
864 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
865 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
866 symtab.h cg_arcs.h cg_dfn.h utils.h
867 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
868 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
869 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
870 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
871 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
872 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
873 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
874 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
875 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
877 gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
878 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
879 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
880 search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
881 corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
882 hertz.h hist.h $(INCDIR)/libiberty.h
883 gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
884 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
885 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
886 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
887 symtab.h basic_blocks.h call_graph.h cg_arcs.h cg_print.h \
888 corefile.h gmon_io.h hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
889 hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
890 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
891 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
893 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
894 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
895 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
896 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
897 symtab.h corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h \
899 source.o: source.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
900 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
901 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
902 $(INCDIR)/libiberty.h search_list.h source.h
903 search_list.o: search_list.c $(INCDIR)/libiberty.h \
904 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
905 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
906 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h
907 symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
908 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
909 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
910 search_list.h source.h symtab.h cg_arcs.h corefile.h
911 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
912 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
913 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
914 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
915 source.h symtab.h cg_arcs.h sym_ids.h
916 utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
917 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
918 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
919 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
920 source.h symtab.h cg_arcs.h utils.h
921 i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
922 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
923 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
924 search_list.h source.h symtab.h cg_arcs.h corefile.h \
926 alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
927 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
928 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
929 search_list.h source.h symtab.h cg_arcs.h corefile.h \
931 vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
932 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
933 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
934 search_list.h source.h symtab.h cg_arcs.h corefile.h \
936 tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
937 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
938 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
939 search_list.h source.h symtab.h cg_arcs.h corefile.h \
941 sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
942 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
943 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
944 search_list.h source.h symtab.h cg_arcs.h corefile.h \
946 mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
947 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
948 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
949 search_list.h source.h symtab.h cg_arcs.h corefile.h \
951 flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
952 bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
953 fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
954 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
955 # Tell versions [3.59,3.63) of GNU make to not export all variables.
956 # Otherwise a system limit (for SysV at least) may be exceeded.