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 for file in $$d/$$base*; do \
458 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
459 test -f $(distdir)/$$relfile || \
460 cp -p $$file $(distdir)/$$relfile; \
465 -rm -rf gprof.aux gprof.cp gprof.cps gprof.fn gprof.fns gprof.ky gprof.kys \
466 gprof.log gprof.pg gprof.pgs gprof.tmp gprof.toc gprof.tp \
467 gprof.tps gprof.vr gprof.vrs gprof.dvi gprof.pdf gprof.ps \
470 maintainer-clean-aminfo:
471 @list='$(INFO_DEPS)'; for i in $$list; do \
472 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
473 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
474 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
477 clean-info: mostlyclean-aminfo
478 install-man1: $(man1_MANS) $(man_MANS)
480 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
481 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
482 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
485 *.1*) list="$$list $$i" ;; \
488 for i in $$list; do \
489 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
491 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
496 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
497 inst=`echo $$inst | sed -e 's/^.*\///'`; \
498 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
499 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
500 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
504 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
505 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
508 *.1*) list="$$list $$i" ;; \
511 for i in $$list; do \
512 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
517 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
518 inst=`echo $$inst | sed -e 's/^.*\///'`; \
519 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
520 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
521 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
524 # This directory's subdirectories are mostly independent; you can cd
525 # into them and run `make' without going through this Makefile.
526 # To change the values of `make' variables: instead of editing Makefiles,
527 # (1) if the variable is set in `config.status', edit `config.status'
528 # (which will cause the Makefiles to be regenerated when you run `make');
529 # (2) otherwise, pass the desired values on the `make' command line.
530 $(RECURSIVE_TARGETS):
532 for f in x $$MAKEFLAGS; do \
535 *k*) failcom='fail=yes';; \
539 target=`echo $@ | sed s/-recursive//`; \
540 list='$(SUBDIRS)'; for subdir in $$list; do \
541 echo "Making $$target in $$subdir"; \
542 if test "$$subdir" = "."; then \
544 local_target="$$target-am"; \
546 local_target="$$target"; \
548 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
551 if test "$$dot_seen" = "no"; then \
552 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
555 mostlyclean-recursive clean-recursive distclean-recursive \
556 maintainer-clean-recursive:
558 for f in x $$MAKEFLAGS; do \
561 *k*) failcom='fail=yes';; \
566 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
567 *) list='$(SUBDIRS)' ;; \
569 rev=''; for subdir in $$list; do \
570 if test "$$subdir" = "."; then :; else \
571 rev="$$subdir $$rev"; \
575 target=`echo $@ | sed s/-recursive//`; \
576 for subdir in $$rev; do \
577 echo "Making $$target in $$subdir"; \
578 if test "$$subdir" = "."; then \
579 local_target="$$target-am"; \
581 local_target="$$target"; \
583 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
585 done && test -z "$$fail"
587 list='$(SUBDIRS)'; for subdir in $$list; do \
588 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
591 list='$(SUBDIRS)'; for subdir in $$list; do \
592 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
595 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
596 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
597 unique=`for i in $$list; do \
598 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
600 $(AWK) ' { files[$$0] = 1; } \
601 END { for (i in files) print i; }'`; \
605 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
606 $(TAGS_FILES) $(LISP)
609 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
610 include_option=--etags-include; \
613 include_option=--include; \
616 list='$(SUBDIRS)'; for subdir in $$list; do \
617 if test "$$subdir" = .; then :; else \
618 test ! -f $$subdir/TAGS || \
619 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
622 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
623 unique=`for i in $$list; do \
624 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
626 $(AWK) ' { files[$$0] = 1; } \
627 END { for (i in files) print i; }'`; \
628 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
629 test -n "$$unique" || unique=$$empty_fix; \
630 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
634 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
635 $(TAGS_FILES) $(LISP)
638 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
639 unique=`for i in $$list; do \
640 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
642 $(AWK) ' { files[$$0] = 1; } \
643 END { for (i in files) print i; }'`; \
644 test -z "$(CTAGS_ARGS)$$tags$$unique" \
645 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
649 here=`$(am__cd) $(top_builddir) && pwd` \
650 && cd $(top_srcdir) \
651 && gtags -i $(GTAGS_ARGS) $$here
654 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
656 check: $(BUILT_SOURCES)
657 $(MAKE) $(AM_MAKEFLAGS) check-recursive
658 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
659 installdirs: installdirs-recursive
661 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
662 test -z "$$dir" || $(mkdir_p) "$$dir"; \
664 install: $(BUILT_SOURCES)
665 $(MAKE) $(AM_MAKEFLAGS) install-recursive
666 install-exec: install-exec-recursive
667 install-data: install-data-recursive
668 uninstall: uninstall-recursive
671 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
673 installcheck: installcheck-recursive
675 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
676 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
677 `test -z '$(STRIP)' || \
678 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
682 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
685 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
687 maintainer-clean-generic:
688 @echo "This command is intended for maintainers to use"
689 @echo "it deletes files that may require special tools to rebuild."
690 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
691 clean: clean-recursive
693 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
695 distclean: distclean-recursive
696 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
698 distclean-am: clean-am distclean-compile distclean-generic \
699 distclean-hdr distclean-libtool distclean-tags
711 info-am: $(INFO_DEPS)
713 install-data-am: install-data-local install-man
715 install-exec-am: install-binPROGRAMS
717 install-info: install-info-recursive
719 install-info-am: $(INFO_DEPS)
721 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
722 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
723 list='$(INFO_DEPS)'; \
724 for file in $$list; do \
726 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
728 if test -f $$file; then d=.; else d=$(srcdir); fi; \
729 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
730 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
731 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
732 if test -f $$ifile; then \
733 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
734 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
735 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
740 @if (install-info --version && \
741 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
742 list='$(INFO_DEPS)'; \
743 for file in $$list; do \
744 relfile=`echo "$$file" | sed 's|^.*/||'`; \
745 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
746 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
749 install-man: install-man1
753 maintainer-clean: maintainer-clean-recursive
754 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
755 -rm -rf $(top_srcdir)/autom4te.cache
757 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
758 maintainer-clean-generic
760 mostlyclean: mostlyclean-recursive
762 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
763 mostlyclean-generic mostlyclean-libtool
773 uninstall-am: uninstall-binPROGRAMS uninstall-man
775 uninstall-info: uninstall-info-recursive
777 uninstall-man: uninstall-man1
779 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
780 check-am clean clean-binPROGRAMS clean-generic clean-info \
781 clean-libtool clean-recursive ctags ctags-recursive dist-info \
782 distclean distclean-compile distclean-generic distclean-hdr \
783 distclean-libtool distclean-recursive distclean-tags dvi \
784 dvi-am html html-am info info-am install install-am \
785 install-binPROGRAMS install-data install-data-am \
786 install-data-local install-exec install-exec-am install-info \
787 install-info-am install-man install-man1 install-strip \
788 installcheck installcheck-am installdirs installdirs-am \
789 maintainer-clean maintainer-clean-aminfo \
790 maintainer-clean-generic maintainer-clean-recursive \
791 mostlyclean mostlyclean-aminfo mostlyclean-compile \
792 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
793 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
794 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
798 diststuff: $(BUILT_SOURCES) info $(man_MANS)
800 # This empty rule is a hack against gmake patched by Apple.
804 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
805 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
806 FILE=$*.m $(srcdir)/$*.m
807 po/POTFILES.in: @MAINT@ Makefile
808 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
809 && mv tmp $(srcdir)/po/POTFILES.in
811 $(srcdir)/gprof.info: gprof.texi config.texi
814 echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
816 # Build the man page from the texinfo file
817 # The sed command removes the no-adjust Nroff command so that
818 # the man output looks standard.
819 gprof.1: $(srcdir)/gprof.texi config.texi
821 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
822 -($(POD2MAN) gprof.pod | \
823 sed -e '/^.if n .na/d' > $@.T$$$$ && \
824 mv -f $@.T$$$$ $@) || \
825 (rm -f $@.T$$$$ && exit 1)
828 .PHONY: install-html install-html-am install-html-recursive
830 install-html: install-html-recursive install-html-am
832 install-html-am: $(HTMLS)
834 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
835 @list='$(HTMLS)'; for p in $$list; do \
836 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
837 f=$(html__strip_dir) \
838 if test -d "$$d$$p"; then \
839 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
840 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
841 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
842 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
844 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
845 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
849 install-html-recursive:
851 for f in x $$MAKEFLAGS; do \
854 *k*) failcom='fail=yes';; \
858 target=`echo $@ | sed s/-recursive//`; \
859 list='$(SUBDIRS)'; for subdir in $$list; do \
860 echo "Making $$target in $$subdir"; \
861 if test "$$subdir" = "."; then \
863 local_target="$$target-am"; \
865 local_target="$$target"; \
867 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
870 if test "$$dot_seen" = "no"; then \
871 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
874 # We want install to imply install-info as per GNU standards, despite the
876 install-data-local: install-info
878 # Targets to rebuild dependencies in this Makefile.
879 # Have to get rid of DEP1 here so that "$?" later includes all sources.
880 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
882 $(MAKE) MKDEP="$(MKDEP)" DEP1
883 sed -f dep.sed < DEP1 > DEPA
884 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
885 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
886 echo 'make DEP failed!'; exit 1; \
891 DEP1: $(gprof_SOURCES)
892 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
893 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
894 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
897 dep.sed: dep-in.sed config.status
899 sed <$(srcdir)/dep-in.sed >dep.sed \
900 -e 's!@INCDIR@!$(INCDIR)!' \
901 -e 's!@BFDDIR@!$(BFDDIR)!' \
902 -e 's!@SRCDIR@!$(srcdir)!' \
903 -e "s!@OBJDIR@!$${objdir}!" \
904 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
907 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
908 cat DEP >> tmp-Makefile
909 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
912 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
913 cat DEP >> tmp-Makefile.in
914 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
917 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
918 cat DEP >> tmp-Makefile.am
919 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
921 .PHONY: dep dep-in dep-am
923 # DO NOT DELETE THIS LINE -- mkdep uses it.
924 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
925 basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
926 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
927 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
928 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h basic_blocks.h \
929 corefile.h gmon_io.h gmon_out.h search_list.h source.h \
931 call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
932 $(INCDIR)/ansidecl.h ../bfd/config.h $(INCDIR)/fopen-same.h \
933 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
934 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
935 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
937 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
938 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
939 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
940 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
941 symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
943 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
944 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
945 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
946 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
947 symtab.h cg_arcs.h cg_dfn.h utils.h
948 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
949 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
950 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
951 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
952 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
953 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
954 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
955 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
956 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
958 gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
959 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
960 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
961 search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
962 corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
963 hertz.h hist.h $(INCDIR)/libiberty.h
964 gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
965 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
966 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
967 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
968 symtab.h basic_blocks.h call_graph.h cg_arcs.h cg_print.h \
969 corefile.h gmon_io.h hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
970 hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
971 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
972 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
974 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
975 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
976 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
977 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
978 symtab.h corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h \
980 source.o: source.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
981 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
982 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
983 $(INCDIR)/libiberty.h search_list.h source.h
984 search_list.o: search_list.c $(INCDIR)/libiberty.h \
985 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
986 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
987 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h
988 symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
989 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
990 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
991 search_list.h source.h symtab.h cg_arcs.h corefile.h
992 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
993 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
994 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
995 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
996 source.h symtab.h cg_arcs.h sym_ids.h
997 utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
998 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
999 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
1000 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
1001 source.h symtab.h cg_arcs.h utils.h
1002 i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1003 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1004 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1005 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1007 alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1008 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1009 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1010 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1012 vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1013 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1014 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1015 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1017 tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1018 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1019 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1020 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1022 sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1023 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1024 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1025 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1027 mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1028 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1029 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1030 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1032 flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
1033 bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
1034 fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
1035 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1036 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1037 # Otherwise a system limit (for SysV at least) may be exceeded.