1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 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
19 top_srcdir = @top_srcdir@
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
38 build_triplet = @build@
40 target_triplet = @target@
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)/../bfd/warning.m4 \
53 $(top_srcdir)/../config/gettext-sister.m4 \
54 $(top_srcdir)/../config/nls.m4 $(top_srcdir)/../config/po.m4 \
55 $(top_srcdir)/../config/progtest.m4 \
56 $(top_srcdir)/../libtool.m4 $(top_srcdir)/configure.in
57 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
60 configure.lineno configure.status.lineno
61 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
62 CONFIG_HEADER = gconfig.h
63 CONFIG_CLEAN_FILES = po/Makefile.in
64 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
65 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
66 PROGRAMS = $(bin_PROGRAMS)
67 am__objects_1 = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
68 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
69 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) \
70 hertz.$(OBJEXT) hist.$(OBJEXT) source.$(OBJEXT) \
71 search_list.$(OBJEXT) symtab.$(OBJEXT) sym_ids.$(OBJEXT) \
72 utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) vax.$(OBJEXT) \
73 tahoe.$(OBJEXT) sparc.$(OBJEXT) mips.$(OBJEXT)
74 am_gprof_OBJECTS = $(am__objects_1) flat_bl.$(OBJEXT) \
75 bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
76 gprof_OBJECTS = $(am_gprof_OBJECTS)
78 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
81 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
82 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
83 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
84 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
85 $(AM_CFLAGS) $(CFLAGS)
87 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
88 $(AM_LDFLAGS) $(LDFLAGS) -o $@
89 SOURCES = $(gprof_SOURCES)
90 INFO_DEPS = $(srcdir)/gprof.info
91 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
92 am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
98 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then \
99 echo $(top_srcdir)/../texinfo/util/texi2dvi; \
103 TEXI2PDF = $(TEXI2DVI) --pdf --batch
104 MAKEINFOHTML = $(MAKEINFO) --html
105 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
107 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
108 html-recursive info-recursive install-data-recursive \
109 install-exec-recursive install-info-recursive \
110 install-recursive installcheck-recursive installdirs-recursive \
111 pdf-recursive ps-recursive uninstall-info-recursive \
113 man1dir = $(mandir)/man1
116 HEADERS = $(noinst_HEADERS)
119 DIST_SUBDIRS = $(SUBDIRS)
121 AMDEP_FALSE = @AMDEP_FALSE@
122 AMDEP_TRUE = @AMDEP_TRUE@
124 AUTOCONF = @AUTOCONF@
125 AUTOHEADER = @AUTOHEADER@
126 AUTOMAKE = @AUTOMAKE@
128 CATALOGS = @CATALOGS@
129 CATOBJEXT = @CATOBJEXT@
131 CCDEPMODE = @CCDEPMODE@
134 CPPFLAGS = @CPPFLAGS@
135 CYGPATH_W = @CYGPATH_W@
136 DATADIRNAME = @DATADIRNAME@
147 INSTALL_DATA = @INSTALL_DATA@
148 INSTALL_PROGRAM = @INSTALL_PROGRAM@
149 INSTALL_SCRIPT = @INSTALL_SCRIPT@
150 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
151 INSTOBJEXT = @INSTOBJEXT@
154 LIBINTL_DEP = @LIBINTL_DEP@
159 LTLIBOBJS = @LTLIBOBJS@
161 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
162 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
163 MAKEINFO = @MAKEINFO@
164 MKINSTALLDIRS = @MKINSTALLDIRS@
166 MSGMERGE = @MSGMERGE@
167 NO_WERROR = @NO_WERROR@
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@
178 SET_MAKE = @SET_MAKE@
183 WARN_CFLAGS = @WARN_CFLAGS@
184 XGETTEXT = @XGETTEXT@
185 ac_ct_CC = @ac_ct_CC@
186 ac_ct_RANLIB = @ac_ct_RANLIB@
187 ac_ct_STRIP = @ac_ct_STRIP@
188 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
189 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
190 am__include = @am__include@
191 am__leading_dot = @am__leading_dot@
192 am__quote = @am__quote@
194 am__untar = @am__untar@
197 build_alias = @build_alias@
198 build_cpu = @build_cpu@
199 build_os = @build_os@
200 build_vendor = @build_vendor@
202 datarootdir = @datarootdir@
204 exec_prefix = @exec_prefix@
206 host_alias = @host_alias@
207 host_cpu = @host_cpu@
209 host_vendor = @host_vendor@
211 includedir = @includedir@
213 install_sh = @install_sh@
215 libexecdir = @libexecdir@
216 localstatedir = @localstatedir@
219 oldincludedir = @oldincludedir@
221 program_transform_name = @program_transform_name@
223 sharedstatedir = @sharedstatedir@
224 sysconfdir = @sysconfdir@
226 target_alias = @target_alias@
227 target_cpu = @target_cpu@
228 target_os = @target_os@
229 target_vendor = @target_vendor@
230 AUTOMAKE_OPTIONS = cygnus
233 BASEDIR = $(srcdir)/..
234 BFDDIR = $(BASEDIR)/bfd
235 INCDIR = $(BASEDIR)/include
236 AM_CFLAGS = $(WARN_CFLAGS)
238 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd @INCINTL@ -I. -DLOCALEDIR="\"$(datadir)/locale\""
239 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
240 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
241 search_list.c symtab.c sym_ids.c utils.c \
242 i386.c alpha.c vax.c tahoe.c sparc.c mips.c
244 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
245 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL_DEP)
246 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL)
248 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
249 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
250 search_list.h source.h sym_ids.h symtab.h utils.h
252 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
253 EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
254 POTFILES = $(sources) $(noinst_HEADERS)
256 TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
257 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
258 info_TEXINFOS = gprof.texi
260 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
261 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
262 all: $(BUILT_SOURCES) gconfig.h
263 $(MAKE) $(AM_MAKEFLAGS) all-recursive
266 .SUFFIXES: .m .c .dvi .html .info .lo .o .obj .pdf .ps .texi
269 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
271 case '$(am__configure_deps)' in \
273 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
274 cd $(srcdir) && $(AUTOMAKE) --foreign \
279 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
280 cd $(top_srcdir) && \
281 $(AUTOMAKE) --foreign Makefile
283 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
286 echo ' $(SHELL) ./config.status'; \
287 $(SHELL) ./config.status;; \
289 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
290 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
293 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
294 $(SHELL) ./config.status --recheck
296 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
297 cd $(srcdir) && $(AUTOCONF)
298 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
299 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
302 @if test ! -f $@; then \
307 stamp-h1: $(srcdir)/gconfig.in $(top_builddir)/config.status
309 cd $(top_builddir) && $(SHELL) ./config.status gconfig.h
310 $(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
311 cd $(top_srcdir) && $(AUTOHEADER)
316 -rm -f gconfig.h stamp-h1
317 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
318 cd $(top_builddir) && $(SHELL) ./config.status $@
319 install-binPROGRAMS: $(bin_PROGRAMS)
321 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
322 @list='$(bin_PROGRAMS)'; for p in $$list; do \
323 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
327 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
328 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
329 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
333 uninstall-binPROGRAMS:
335 @list='$(bin_PROGRAMS)'; for p in $$list; do \
336 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
337 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
338 rm -f "$(DESTDIR)$(bindir)/$$f"; \
342 @list='$(bin_PROGRAMS)'; for p in $$list; do \
343 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
344 echo " rm -f $$p $$f"; \
347 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
348 @rm -f gprof$(EXEEXT)
349 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
361 $(COMPILE) -c `$(CYGPATH_W) '$<'`
364 $(LTCOMPILE) -c -o $@ $<
376 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
377 am__cwd=`pwd` && cd $(srcdir) && \
378 rm -rf $$backupdir && mkdir $$backupdir && \
379 if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
380 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
381 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
385 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
393 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
395 rm -rf $$backupdir; exit $$rc
398 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
399 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
403 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
404 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
408 rm -rf $(@:.html=.htp)
409 if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
410 -o $(@:.html=.htp) $<; \
413 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
414 mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
416 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
417 rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
420 gprof.dvi: gprof.texi
421 gprof.pdf: gprof.texi
422 gprof.html: gprof.texi
424 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
429 @if (install-info --version && \
430 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
431 list='$(INFO_DEPS)'; \
432 for file in $$list; do \
433 relfile=`echo "$$file" | sed 's|^.*/||'`; \
434 echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
435 install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
439 @list='$(INFO_DEPS)'; \
440 for file in $$list; do \
441 relfile=`echo "$$file" | sed 's|^.*/||'`; \
442 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
443 (if cd "$(DESTDIR)$(infodir)"; then \
444 echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
445 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
449 dist-info: $(INFO_DEPS)
450 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
451 list='$(INFO_DEPS)'; \
452 for base in $$list; do \
454 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
456 if test -f $$base; then d=.; else d=$(srcdir); fi; \
457 base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
458 for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
459 if test -f $$file; then \
460 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
461 test -f $(distdir)/$$relfile || \
462 cp -p $$file $(distdir)/$$relfile; \
468 -rm -rf gprof.aux gprof.cp gprof.cps gprof.fn gprof.fns gprof.ky gprof.kys \
469 gprof.log gprof.pg gprof.pgs gprof.tmp gprof.toc gprof.tp \
470 gprof.tps gprof.vr gprof.vrs gprof.dvi gprof.pdf gprof.ps \
473 maintainer-clean-aminfo:
474 @list='$(INFO_DEPS)'; for i in $$list; do \
475 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
476 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
477 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
480 clean-info: mostlyclean-aminfo
481 install-man1: $(man1_MANS) $(man_MANS)
483 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
484 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
485 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
488 *.1*) list="$$list $$i" ;; \
491 for i in $$list; do \
492 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
494 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
499 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
500 inst=`echo $$inst | sed -e 's/^.*\///'`; \
501 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
502 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
503 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
507 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
508 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
511 *.1*) list="$$list $$i" ;; \
514 for i in $$list; do \
515 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
520 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
521 inst=`echo $$inst | sed -e 's/^.*\///'`; \
522 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
523 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
524 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
527 # This directory's subdirectories are mostly independent; you can cd
528 # into them and run `make' without going through this Makefile.
529 # To change the values of `make' variables: instead of editing Makefiles,
530 # (1) if the variable is set in `config.status', edit `config.status'
531 # (which will cause the Makefiles to be regenerated when you run `make');
532 # (2) otherwise, pass the desired values on the `make' command line.
533 $(RECURSIVE_TARGETS):
535 for f in x $$MAKEFLAGS; do \
538 *k*) failcom='fail=yes';; \
542 target=`echo $@ | sed s/-recursive//`; \
543 list='$(SUBDIRS)'; for subdir in $$list; do \
544 echo "Making $$target in $$subdir"; \
545 if test "$$subdir" = "."; then \
547 local_target="$$target-am"; \
549 local_target="$$target"; \
551 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
554 if test "$$dot_seen" = "no"; then \
555 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
558 mostlyclean-recursive clean-recursive distclean-recursive \
559 maintainer-clean-recursive:
561 for f in x $$MAKEFLAGS; do \
564 *k*) failcom='fail=yes';; \
569 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
570 *) list='$(SUBDIRS)' ;; \
572 rev=''; for subdir in $$list; do \
573 if test "$$subdir" = "."; then :; else \
574 rev="$$subdir $$rev"; \
578 target=`echo $@ | sed s/-recursive//`; \
579 for subdir in $$rev; do \
580 echo "Making $$target in $$subdir"; \
581 if test "$$subdir" = "."; then \
582 local_target="$$target-am"; \
584 local_target="$$target"; \
586 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
588 done && test -z "$$fail"
590 list='$(SUBDIRS)'; for subdir in $$list; do \
591 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
594 list='$(SUBDIRS)'; for subdir in $$list; do \
595 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
598 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
599 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
600 unique=`for i in $$list; do \
601 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
603 $(AWK) ' { files[$$0] = 1; } \
604 END { for (i in files) print i; }'`; \
608 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
609 $(TAGS_FILES) $(LISP)
612 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
613 include_option=--etags-include; \
616 include_option=--include; \
619 list='$(SUBDIRS)'; for subdir in $$list; do \
620 if test "$$subdir" = .; then :; else \
621 test ! -f $$subdir/TAGS || \
622 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
625 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
626 unique=`for i in $$list; do \
627 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629 $(AWK) ' { files[$$0] = 1; } \
630 END { for (i in files) print i; }'`; \
631 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
632 test -n "$$unique" || unique=$$empty_fix; \
633 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
637 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
638 $(TAGS_FILES) $(LISP)
641 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
642 unique=`for i in $$list; do \
643 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
645 $(AWK) ' { files[$$0] = 1; } \
646 END { for (i in files) print i; }'`; \
647 test -z "$(CTAGS_ARGS)$$tags$$unique" \
648 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
652 here=`$(am__cd) $(top_builddir) && pwd` \
653 && cd $(top_srcdir) \
654 && gtags -i $(GTAGS_ARGS) $$here
657 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
659 check: $(BUILT_SOURCES)
660 $(MAKE) $(AM_MAKEFLAGS) check-recursive
661 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
662 installdirs: installdirs-recursive
664 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
665 test -z "$$dir" || $(mkdir_p) "$$dir"; \
667 install: $(BUILT_SOURCES)
668 $(MAKE) $(AM_MAKEFLAGS) install-recursive
669 install-exec: install-exec-recursive
670 install-data: install-data-recursive
671 uninstall: uninstall-recursive
674 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
676 installcheck: installcheck-recursive
678 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
679 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
680 `test -z '$(STRIP)' || \
681 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
685 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
688 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
690 maintainer-clean-generic:
691 @echo "This command is intended for maintainers to use"
692 @echo "it deletes files that may require special tools to rebuild."
693 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
694 clean: clean-recursive
696 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
698 distclean: distclean-recursive
699 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
701 distclean-am: clean-am distclean-compile distclean-generic \
702 distclean-hdr distclean-libtool distclean-tags
714 info-am: $(INFO_DEPS)
716 install-data-am: install-data-local install-man
718 install-exec-am: install-binPROGRAMS
720 install-info: install-info-recursive
722 install-info-am: $(INFO_DEPS)
724 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
725 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
726 list='$(INFO_DEPS)'; \
727 for file in $$list; do \
729 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
731 if test -f $$file; then d=.; else d=$(srcdir); fi; \
732 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
733 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
734 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
735 if test -f $$ifile; then \
736 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
737 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
738 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
743 @if (install-info --version && \
744 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
745 list='$(INFO_DEPS)'; \
746 for file in $$list; do \
747 relfile=`echo "$$file" | sed 's|^.*/||'`; \
748 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
749 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
752 install-man: install-man1
756 maintainer-clean: maintainer-clean-recursive
757 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
758 -rm -rf $(top_srcdir)/autom4te.cache
760 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
761 maintainer-clean-generic
763 mostlyclean: mostlyclean-recursive
765 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
766 mostlyclean-generic mostlyclean-libtool
776 uninstall-am: uninstall-binPROGRAMS uninstall-man
778 uninstall-info: uninstall-info-recursive
780 uninstall-man: uninstall-man1
782 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
783 check-am clean clean-binPROGRAMS clean-generic clean-info \
784 clean-libtool clean-recursive ctags ctags-recursive dist-info \
785 distclean distclean-compile distclean-generic distclean-hdr \
786 distclean-libtool distclean-recursive distclean-tags dvi \
787 dvi-am html html-am info info-am install install-am \
788 install-binPROGRAMS install-data install-data-am \
789 install-data-local install-exec install-exec-am install-info \
790 install-info-am install-man install-man1 install-strip \
791 installcheck installcheck-am installdirs installdirs-am \
792 maintainer-clean maintainer-clean-aminfo \
793 maintainer-clean-generic maintainer-clean-recursive \
794 mostlyclean mostlyclean-aminfo mostlyclean-compile \
795 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
796 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
797 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
801 diststuff: $(BUILT_SOURCES) info $(man_MANS)
803 # This empty rule is a hack against gmake patched by Apple.
807 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
808 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
809 FILE=$*.m $(srcdir)/$*.m
810 po/POTFILES.in: @MAINT@ Makefile
811 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
812 && mv tmp $(srcdir)/po/POTFILES.in
814 $(srcdir)/gprof.info: gprof.texi config.texi
817 echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
819 # Build the man page from the texinfo file
820 # The sed command removes the no-adjust Nroff command so that
821 # the man output looks standard.
822 gprof.1: $(srcdir)/gprof.texi config.texi
824 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
825 -($(POD2MAN) gprof.pod | \
826 sed -e '/^.if n .na/d' > $@.T$$$$ && \
827 mv -f $@.T$$$$ $@) || \
828 (rm -f $@.T$$$$ && exit 1)
831 .PHONY: install-html install-html-am install-html-recursive
833 install-html: install-html-recursive install-html-am
835 install-html-am: $(HTMLS)
837 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
838 @list='$(HTMLS)'; for p in $$list; do \
839 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
840 f=$(html__strip_dir) \
841 if test -d "$$d$$p"; then \
842 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
843 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
844 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
845 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
847 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
848 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
852 install-html-recursive:
854 for f in x $$MAKEFLAGS; do \
857 *k*) failcom='fail=yes';; \
861 target=`echo $@ | sed s/-recursive//`; \
862 list='$(SUBDIRS)'; for subdir in $$list; do \
863 echo "Making $$target in $$subdir"; \
864 if test "$$subdir" = "."; then \
866 local_target="$$target-am"; \
868 local_target="$$target"; \
870 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
873 if test "$$dot_seen" = "no"; then \
874 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
877 # We want install to imply install-info as per GNU standards, despite the
879 install-data-local: install-info
881 # Targets to rebuild dependencies in this Makefile.
882 # Have to get rid of DEP1 here so that "$?" later includes all sources.
883 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
885 $(MAKE) MKDEP="$(MKDEP)" DEP1
886 sed -f dep.sed < DEP1 > DEPA
887 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
888 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
889 echo 'make DEP failed!'; exit 1; \
894 DEP1: $(gprof_SOURCES)
895 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
896 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
897 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
900 dep.sed: dep-in.sed config.status
902 sed <$(srcdir)/dep-in.sed >dep.sed \
903 -e 's!@INCDIR@!$(INCDIR)!' \
904 -e 's!@BFDDIR@!$(BFDDIR)!' \
905 -e 's!@SRCDIR@!$(srcdir)!' \
906 -e "s!@OBJDIR@!$${objdir}!" \
907 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
910 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
911 cat DEP >> tmp-Makefile
912 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
915 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
916 cat DEP >> tmp-Makefile.in
917 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
920 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
921 cat DEP >> tmp-Makefile.am
922 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
924 .PHONY: dep dep-in dep-am
926 # DO NOT DELETE THIS LINE -- mkdep uses it.
927 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
928 basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
929 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
930 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
931 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h basic_blocks.h \
932 corefile.h gmon_io.h gmon_out.h search_list.h source.h \
934 call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
935 $(INCDIR)/ansidecl.h ../bfd/config.h $(INCDIR)/fopen-same.h \
936 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
937 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
938 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
940 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
941 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
942 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
943 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
944 symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
946 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
947 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
948 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
949 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
950 symtab.h cg_arcs.h cg_dfn.h utils.h
951 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
952 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
953 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
954 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
955 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
956 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
957 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
958 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
959 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
961 gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
962 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
963 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
964 search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
965 corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
966 hertz.h hist.h $(INCDIR)/libiberty.h
967 gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
968 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
969 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
970 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
971 symtab.h basic_blocks.h call_graph.h cg_arcs.h cg_print.h \
972 corefile.h gmon_io.h hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
973 hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
974 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
975 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
977 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
978 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
979 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
980 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
981 symtab.h corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h \
983 source.o: source.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
984 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
985 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
986 $(INCDIR)/libiberty.h search_list.h source.h
987 search_list.o: search_list.c $(INCDIR)/libiberty.h \
988 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
989 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
990 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h
991 symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
992 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
993 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
994 search_list.h source.h symtab.h cg_arcs.h corefile.h
995 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
996 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
997 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
998 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
999 source.h symtab.h cg_arcs.h sym_ids.h
1000 utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1001 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1002 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
1003 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
1004 source.h symtab.h cg_arcs.h utils.h
1005 i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1006 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1007 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1008 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1010 alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1011 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1012 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1013 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1015 vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1016 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1017 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1018 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1020 tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1021 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1022 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1023 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1025 sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1026 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1027 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1028 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1030 mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1031 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1032 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1033 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1035 flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
1036 bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
1037 fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
1038 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1039 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1040 # Otherwise a system limit (for SysV at least) may be exceeded.