1 # Makefile.in generated by automake 1.9.5 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
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)
40 build_triplet = @build@
42 target_triplet = @target@
43 bin_PROGRAMS = gprof$(EXEEXT)
44 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub README \
45 ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
46 $(top_srcdir)/configure $(am__configure_deps) \
47 $(srcdir)/gconfig.in $(srcdir)/../mkinstalldirs \
48 $(top_srcdir)/po/Make-in $(srcdir)/../ltmain.sh \
49 $(srcdir)/../config.guess $(srcdir)/../config.sub \
52 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
53 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
54 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../libtool.m4 \
55 $(top_srcdir)/../gettext.m4 $(top_srcdir)/configure.in
56 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
59 configure.lineno configure.status.lineno
60 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
61 CONFIG_HEADER = gconfig.h
62 CONFIG_CLEAN_FILES = po/Makefile.in
63 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
64 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
65 PROGRAMS = $(bin_PROGRAMS)
66 am__objects_1 = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
67 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
68 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) \
69 hertz.$(OBJEXT) hist.$(OBJEXT) source.$(OBJEXT) \
70 search_list.$(OBJEXT) symtab.$(OBJEXT) sym_ids.$(OBJEXT) \
71 utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) vax.$(OBJEXT) \
72 tahoe.$(OBJEXT) sparc.$(OBJEXT) mips.$(OBJEXT)
73 am_gprof_OBJECTS = $(am__objects_1) flat_bl.$(OBJEXT) \
74 bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
75 gprof_OBJECTS = $(am_gprof_OBJECTS)
77 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
80 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
81 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
82 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
83 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
84 $(AM_CFLAGS) $(CFLAGS)
86 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
87 $(AM_LDFLAGS) $(LDFLAGS) -o $@
88 SOURCES = $(gprof_SOURCES)
89 INFO_DEPS = $(srcdir)/gprof.info
90 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
91 am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
97 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then \
98 echo $(top_srcdir)/../texinfo/util/texi2dvi; \
102 TEXI2PDF = $(TEXI2DVI) --pdf --batch
103 MAKEINFOHTML = $(MAKEINFO) --html
104 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
106 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
107 html-recursive info-recursive install-data-recursive \
108 install-exec-recursive install-info-recursive \
109 install-recursive installcheck-recursive installdirs-recursive \
110 pdf-recursive ps-recursive uninstall-info-recursive \
112 man1dir = $(mandir)/man1
115 HEADERS = $(noinst_HEADERS)
118 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@
144 GMOFILES = @GMOFILES@
148 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
149 INSTALL_DATA = @INSTALL_DATA@
150 INSTALL_PROGRAM = @INSTALL_PROGRAM@
151 INSTALL_SCRIPT = @INSTALL_SCRIPT@
152 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
153 INSTOBJEXT = @INSTOBJEXT@
154 INTLDEPS = @INTLDEPS@
155 INTLLIBS = @INTLLIBS@
156 INTLOBJS = @INTLOBJS@
162 LTLIBOBJS = @LTLIBOBJS@
164 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
165 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
166 MAKEINFO = @MAKEINFO@
167 MKINSTALLDIRS = @MKINSTALLDIRS@
169 NO_WERROR = @NO_WERROR@
172 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
173 PACKAGE_NAME = @PACKAGE_NAME@
174 PACKAGE_STRING = @PACKAGE_STRING@
175 PACKAGE_TARNAME = @PACKAGE_TARNAME@
176 PACKAGE_VERSION = @PACKAGE_VERSION@
177 PATH_SEPARATOR = @PATH_SEPARATOR@
181 SET_MAKE = @SET_MAKE@
184 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
187 WARN_CFLAGS = @WARN_CFLAGS@
188 XGETTEXT = @XGETTEXT@
189 ac_ct_CC = @ac_ct_CC@
190 ac_ct_RANLIB = @ac_ct_RANLIB@
191 ac_ct_STRIP = @ac_ct_STRIP@
192 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
193 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
194 am__include = @am__include@
195 am__leading_dot = @am__leading_dot@
196 am__quote = @am__quote@
198 am__untar = @am__untar@
201 build_alias = @build_alias@
202 build_cpu = @build_cpu@
203 build_os = @build_os@
204 build_vendor = @build_vendor@
206 datarootdir = @datarootdir@
208 exec_prefix = @exec_prefix@
210 host_alias = @host_alias@
211 host_cpu = @host_cpu@
213 host_vendor = @host_vendor@
215 includedir = @includedir@
217 install_sh = @install_sh@
220 libexecdir = @libexecdir@
221 localstatedir = @localstatedir@
224 oldincludedir = @oldincludedir@
226 program_transform_name = @program_transform_name@
228 sharedstatedir = @sharedstatedir@
229 sysconfdir = @sysconfdir@
231 target_alias = @target_alias@
232 target_cpu = @target_cpu@
233 target_os = @target_os@
234 target_vendor = @target_vendor@
235 AUTOMAKE_OPTIONS = cygnus
238 BASEDIR = $(srcdir)/..
239 BFDDIR = $(BASEDIR)/bfd
240 INCDIR = $(BASEDIR)/include
241 AM_CFLAGS = $(WARN_CFLAGS)
243 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(datadir)/locale\""
244 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
245 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
246 search_list.c symtab.c sym_ids.c utils.c \
247 i386.c alpha.c vax.c tahoe.c sparc.c mips.c
249 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
250 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
251 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
253 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
254 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
255 search_list.h source.h sym_ids.h symtab.h utils.h
257 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
258 EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
259 POTFILES = $(sources) $(noinst_HEADERS)
261 TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
262 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
263 info_TEXINFOS = gprof.texi
265 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
266 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
267 all: $(BUILT_SOURCES) gconfig.h
268 $(MAKE) $(AM_MAKEFLAGS) all-recursive
271 .SUFFIXES: .m .c .dvi .html .info .lo .o .obj .pdf .ps .texi
274 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
276 case '$(am__configure_deps)' in \
278 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
279 cd $(srcdir) && $(AUTOMAKE) --foreign \
284 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
285 cd $(top_srcdir) && \
286 $(AUTOMAKE) --foreign Makefile
288 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
291 echo ' $(SHELL) ./config.status'; \
292 $(SHELL) ./config.status;; \
294 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
295 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
298 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
299 $(SHELL) ./config.status --recheck
301 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
302 cd $(srcdir) && $(AUTOCONF)
303 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
304 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
307 @if test ! -f $@; then \
312 stamp-h1: $(srcdir)/gconfig.in $(top_builddir)/config.status
314 cd $(top_builddir) && $(SHELL) ./config.status gconfig.h
315 $(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
316 cd $(top_srcdir) && $(AUTOHEADER)
321 -rm -f gconfig.h stamp-h1
322 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
323 cd $(top_builddir) && $(SHELL) ./config.status $@
324 install-binPROGRAMS: $(bin_PROGRAMS)
326 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
327 @list='$(bin_PROGRAMS)'; for p in $$list; do \
328 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
332 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
333 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
334 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
338 uninstall-binPROGRAMS:
340 @list='$(bin_PROGRAMS)'; for p in $$list; do \
341 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
342 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
343 rm -f "$(DESTDIR)$(bindir)/$$f"; \
347 @list='$(bin_PROGRAMS)'; for p in $$list; do \
348 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
349 echo " rm -f $$p $$f"; \
352 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
353 @rm -f gprof$(EXEEXT)
354 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
366 $(COMPILE) -c `$(CYGPATH_W) '$<'`
369 $(LTCOMPILE) -c -o $@ $<
381 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
382 am__cwd=`pwd` && cd $(srcdir) && \
383 rm -rf $$backupdir && mkdir $$backupdir && \
384 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
385 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
388 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
396 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
398 rm -rf $$backupdir; exit $$rc
401 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
402 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
406 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
407 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
411 rm -rf $(@:.html=.htp)
412 if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
413 -o $(@:.html=.htp) $<; \
416 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
417 mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
419 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
420 rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
423 gprof.dvi: gprof.texi
424 gprof.pdf: gprof.texi
425 gprof.html: gprof.texi
431 @if (install-info --version && \
432 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
433 list='$(INFO_DEPS)'; \
434 for file in $$list; do \
435 relfile=`echo "$$file" | sed 's|^.*/||'`; \
436 echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
437 install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
441 @list='$(INFO_DEPS)'; \
442 for file in $$list; do \
443 relfile=`echo "$$file" | sed 's|^.*/||'`; \
444 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
445 (if cd "$(DESTDIR)$(infodir)"; then \
446 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]"; \
447 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
451 dist-info: $(INFO_DEPS)
452 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
453 list='$(INFO_DEPS)'; \
454 for base in $$list; do \
456 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
458 if test -f $$base; then d=.; else d=$(srcdir); fi; \
459 for file in $$d/$$base*; do \
460 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
461 test -f $(distdir)/$$relfile || \
462 cp -p $$file $(distdir)/$$relfile; \
467 -rm -rf gprof.aux gprof.cp gprof.cps gprof.fn gprof.fns gprof.ky gprof.kys \
468 gprof.log gprof.pg gprof.pgs gprof.tmp gprof.toc gprof.tp \
469 gprof.tps gprof.vr gprof.vrs gprof.dvi gprof.pdf gprof.ps \
472 maintainer-clean-aminfo:
473 @list='$(INFO_DEPS)'; for i in $$list; do \
474 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
475 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
476 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
479 clean-info: mostlyclean-aminfo
480 install-man1: $(man1_MANS) $(man_MANS)
482 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
483 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
484 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
487 *.1*) list="$$list $$i" ;; \
490 for i in $$list; do \
491 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
493 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
498 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
499 inst=`echo $$inst | sed -e 's/^.*\///'`; \
500 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
501 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
502 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
506 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
507 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
510 *.1*) list="$$list $$i" ;; \
513 for i in $$list; do \
514 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
519 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
520 inst=`echo $$inst | sed -e 's/^.*\///'`; \
521 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
522 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
523 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
526 # This directory's subdirectories are mostly independent; you can cd
527 # into them and run `make' without going through this Makefile.
528 # To change the values of `make' variables: instead of editing Makefiles,
529 # (1) if the variable is set in `config.status', edit `config.status'
530 # (which will cause the Makefiles to be regenerated when you run `make');
531 # (2) otherwise, pass the desired values on the `make' command line.
532 $(RECURSIVE_TARGETS):
534 for f in x $$MAKEFLAGS; do \
537 *k*) failcom='fail=yes';; \
541 target=`echo $@ | sed s/-recursive//`; \
542 list='$(SUBDIRS)'; for subdir in $$list; do \
543 echo "Making $$target in $$subdir"; \
544 if test "$$subdir" = "."; then \
546 local_target="$$target-am"; \
548 local_target="$$target"; \
550 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
553 if test "$$dot_seen" = "no"; then \
554 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
557 mostlyclean-recursive clean-recursive distclean-recursive \
558 maintainer-clean-recursive:
560 for f in x $$MAKEFLAGS; do \
563 *k*) failcom='fail=yes';; \
568 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
569 *) list='$(SUBDIRS)' ;; \
571 rev=''; for subdir in $$list; do \
572 if test "$$subdir" = "."; then :; else \
573 rev="$$subdir $$rev"; \
577 target=`echo $@ | sed s/-recursive//`; \
578 for subdir in $$rev; do \
579 echo "Making $$target in $$subdir"; \
580 if test "$$subdir" = "."; then \
581 local_target="$$target-am"; \
583 local_target="$$target"; \
585 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
587 done && test -z "$$fail"
589 list='$(SUBDIRS)'; for subdir in $$list; do \
590 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
593 list='$(SUBDIRS)'; for subdir in $$list; do \
594 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
597 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
598 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
599 unique=`for i in $$list; do \
600 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
602 $(AWK) ' { files[$$0] = 1; } \
603 END { for (i in files) print i; }'`; \
607 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
608 $(TAGS_FILES) $(LISP)
611 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
612 include_option=--etags-include; \
615 include_option=--include; \
618 list='$(SUBDIRS)'; for subdir in $$list; do \
619 if test "$$subdir" = .; then :; else \
620 test ! -f $$subdir/TAGS || \
621 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
624 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
625 unique=`for i in $$list; do \
626 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
628 $(AWK) ' { files[$$0] = 1; } \
629 END { for (i in files) print i; }'`; \
630 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
631 test -n "$$unique" || unique=$$empty_fix; \
632 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
636 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
637 $(TAGS_FILES) $(LISP)
640 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
641 unique=`for i in $$list; do \
642 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
644 $(AWK) ' { files[$$0] = 1; } \
645 END { for (i in files) print i; }'`; \
646 test -z "$(CTAGS_ARGS)$$tags$$unique" \
647 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
651 here=`$(am__cd) $(top_builddir) && pwd` \
652 && cd $(top_srcdir) \
653 && gtags -i $(GTAGS_ARGS) $$here
656 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
658 check: $(BUILT_SOURCES)
659 $(MAKE) $(AM_MAKEFLAGS) check-recursive
660 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
661 installdirs: installdirs-recursive
663 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
664 test -z "$$dir" || $(mkdir_p) "$$dir"; \
666 install: $(BUILT_SOURCES)
667 $(MAKE) $(AM_MAKEFLAGS) install-recursive
668 install-exec: install-exec-recursive
669 install-data: install-data-recursive
670 uninstall: uninstall-recursive
673 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
675 installcheck: installcheck-recursive
677 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
678 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
679 `test -z '$(STRIP)' || \
680 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
684 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
687 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
689 maintainer-clean-generic:
690 @echo "This command is intended for maintainers to use"
691 @echo "it deletes files that may require special tools to rebuild."
692 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
693 clean: clean-recursive
695 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
697 distclean: distclean-recursive
698 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
700 distclean-am: clean-am distclean-compile distclean-generic \
701 distclean-hdr distclean-libtool distclean-tags
713 info-am: $(INFO_DEPS)
715 install-data-am: install-data-local install-man
717 install-exec-am: install-binPROGRAMS
719 install-info: install-info-recursive
721 install-info-am: $(INFO_DEPS)
723 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
724 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
725 list='$(INFO_DEPS)'; \
726 for file in $$list; do \
728 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
730 if test -f $$file; then d=.; else d=$(srcdir); fi; \
731 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
732 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
733 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
734 if test -f $$ifile; then \
735 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
736 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
737 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
742 @if (install-info --version && \
743 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
744 list='$(INFO_DEPS)'; \
745 for file in $$list; do \
746 relfile=`echo "$$file" | sed 's|^.*/||'`; \
747 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
748 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
751 install-man: install-man1
755 maintainer-clean: maintainer-clean-recursive
756 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
757 -rm -rf $(top_srcdir)/autom4te.cache
759 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
760 maintainer-clean-generic
762 mostlyclean: mostlyclean-recursive
764 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
765 mostlyclean-generic mostlyclean-libtool
775 uninstall-am: uninstall-binPROGRAMS uninstall-man
777 uninstall-info: uninstall-info-recursive
779 uninstall-man: uninstall-man1
781 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
782 check-am clean clean-binPROGRAMS clean-generic clean-info \
783 clean-libtool clean-recursive ctags ctags-recursive dist-info \
784 distclean distclean-compile distclean-generic distclean-hdr \
785 distclean-libtool distclean-recursive distclean-tags dvi \
786 dvi-am html html-am info info-am install install-am \
787 install-binPROGRAMS install-data install-data-am \
788 install-data-local install-exec install-exec-am install-info \
789 install-info-am install-man install-man1 install-strip \
790 installcheck installcheck-am installdirs installdirs-am \
791 maintainer-clean maintainer-clean-aminfo \
792 maintainer-clean-generic maintainer-clean-recursive \
793 mostlyclean mostlyclean-aminfo mostlyclean-compile \
794 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
795 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
796 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
800 diststuff: $(BUILT_SOURCES) info $(man_MANS)
803 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
804 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
805 FILE=$*.m $(srcdir)/$*.m
806 po/POTFILES.in: @MAINT@ Makefile
807 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
808 && mv tmp $(srcdir)/po/POTFILES.in
810 $(srcdir)/gprof.info: gprof.texi config.texi
813 echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
815 # Build the man page from the texinfo file
816 # The sed command removes the no-adjust Nroff command so that
817 # the man output looks standard.
818 gprof.1: $(srcdir)/gprof.texi config.texi
820 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
821 -($(POD2MAN) gprof.pod | \
822 sed -e '/^.if n .na/d' > $@.T$$$$ && \
823 mv -f $@.T$$$$ $@) || \
824 (rm -f $@.T$$$$ && exit 1)
827 .PHONY: install-html install-html-am install-html-recursive
829 install-html: install-html-recursive install-html-am
831 install-html-am: $(HTMLS)
833 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
834 @list='$(HTMLS)'; for p in $$list; do \
835 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
836 f=$(html__strip_dir) \
837 if test -d "$$d$$p"; then \
838 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
839 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
840 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
841 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
843 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
844 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
848 install-html-recursive:
850 for f in x $$MAKEFLAGS; do \
853 *k*) failcom='fail=yes';; \
857 target=`echo $@ | sed s/-recursive//`; \
858 list='$(SUBDIRS)'; for subdir in $$list; do \
859 echo "Making $$target in $$subdir"; \
860 if test "$$subdir" = "."; then \
862 local_target="$$target-am"; \
864 local_target="$$target"; \
866 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
869 if test "$$dot_seen" = "no"; then \
870 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
873 # We want install to imply install-info as per GNU standards, despite the
875 install-data-local: install-info
877 # Targets to rebuild dependencies in this Makefile.
878 # Have to get rid of DEP1 here so that "$?" later includes all sources.
879 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
881 $(MAKE) MKDEP="$(MKDEP)" DEP1
882 sed -f dep.sed < DEP1 > DEPA
883 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
884 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
885 echo 'make DEP failed!'; exit 1; \
890 DEP1: $(gprof_SOURCES)
891 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
892 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
893 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
896 dep.sed: dep-in.sed config.status
898 sed <$(srcdir)/dep-in.sed >dep.sed \
899 -e 's!@INCDIR@!$(INCDIR)!' \
900 -e 's!@BFDDIR@!$(BFDDIR)!' \
901 -e 's!@SRCDIR@!$(srcdir)!' \
902 -e "s!@OBJDIR@!$${objdir}!" \
903 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
906 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
907 cat DEP >> tmp-Makefile
908 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
911 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
912 cat DEP >> tmp-Makefile.in
913 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
916 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
917 cat DEP >> tmp-Makefile.am
918 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
920 .PHONY: dep dep-in dep-am
922 # DO NOT DELETE THIS LINE -- mkdep uses it.
923 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
924 basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
925 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
926 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
927 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h basic_blocks.h \
928 corefile.h gmon_io.h gmon_out.h search_list.h source.h \
930 call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
931 $(INCDIR)/ansidecl.h ../bfd/config.h $(INCDIR)/fopen-same.h \
932 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
933 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
934 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
936 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
937 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
938 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
939 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
940 symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
942 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
943 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
944 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
945 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
946 symtab.h cg_arcs.h cg_dfn.h utils.h
947 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
948 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
949 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
950 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
951 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
952 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
953 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
954 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
955 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
957 gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
958 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
959 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
960 search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
961 corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
962 hertz.h hist.h $(INCDIR)/libiberty.h
963 gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
964 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
965 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
966 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
967 symtab.h basic_blocks.h call_graph.h cg_arcs.h cg_print.h \
968 corefile.h gmon_io.h hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
969 hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
970 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
971 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
973 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
974 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
975 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
976 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
977 symtab.h corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h \
979 source.o: source.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
980 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
981 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
982 $(INCDIR)/libiberty.h search_list.h source.h
983 search_list.o: search_list.c $(INCDIR)/libiberty.h \
984 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
985 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
986 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h
987 symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
988 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
989 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
990 search_list.h source.h symtab.h cg_arcs.h corefile.h
991 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
992 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
993 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
994 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
995 source.h symtab.h cg_arcs.h sym_ids.h
996 utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
997 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
998 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
999 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
1000 source.h symtab.h cg_arcs.h utils.h
1001 i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1002 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1003 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1004 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1006 alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1007 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1008 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1009 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1011 vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1012 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1013 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1014 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1016 tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1017 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1018 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1019 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1021 sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1022 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1023 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1024 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1026 mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
1027 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
1028 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
1029 search_list.h source.h symtab.h cg_arcs.h corefile.h \
1031 flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
1032 bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
1033 fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
1034 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1035 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1036 # Otherwise a system limit (for SysV at least) may be exceeded.