merge from gcc
[binutils.git] / gprof / Makefile.in
blob8d5dc0f021dda32a87358f1971945e74471136c8
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
14 SHELL = @SHELL@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 DESTDIR =
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
41 top_builddir = .
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AS = @AS@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CXX = @CXX@
71 CXXCPP = @CXXCPP@
72 DATADIRNAME = @DATADIRNAME@
73 DLLTOOL = @DLLTOOL@
74 EXEEXT = @EXEEXT@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
77 GMOFILES = @GMOFILES@
78 GMSGFMT = @GMSGFMT@
79 GT_NO = @GT_NO@
80 GT_YES = @GT_YES@
81 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
82 INSTOBJEXT = @INSTOBJEXT@
83 INTLDEPS = @INTLDEPS@
84 INTLLIBS = @INTLLIBS@
85 INTLOBJS = @INTLOBJS@
86 LIBTOOL = @LIBTOOL@
87 LN_S = @LN_S@
88 MAINT = @MAINT@
89 MAKEINFO = @MAKEINFO@
90 MKINSTALLDIRS = @MKINSTALLDIRS@
91 MSGFMT = @MSGFMT@
92 OBJDUMP = @OBJDUMP@
93 OBJEXT = @OBJEXT@
94 PACKAGE = @PACKAGE@
95 POFILES = @POFILES@
96 POSUB = @POSUB@
97 RANLIB = @RANLIB@
98 STRIP = @STRIP@
99 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
100 USE_NLS = @USE_NLS@
101 VERSION = @VERSION@
102 l = @l@
104 AUTOMAKE_OPTIONS = cygnus
106 SUFFIXES = .m
108 SUBDIRS = po
110 BASEDIR = $(srcdir)/..
111 BFDDIR = $(BASEDIR)/bfd
112 INCDIR = $(BASEDIR)/include
114 WARN_CFLAGS = @WARN_CFLAGS@
115 AM_CFLAGS = $(WARN_CFLAGS)
117 MKDEP = gcc -MM
119 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""
121 bin_PROGRAMS = gprof
123 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
124 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
125 search_list.c symtab.c sym_ids.c utils.c \
126 i386.c alpha.c vax.c tahoe.c sparc.c mips.c
128 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
129 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
130 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
132 noinst_HEADERS = \
133 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
134 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
135 search_list.h source.h sym_ids.h symtab.h utils.h
138 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
139 EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
141 POTFILES = $(sources) $(noinst_HEADERS)
143 MANCONF = -Dman
145 TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
147 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
149 info_TEXINFOS = gprof.texi
150 man_MANS = gprof.1
152 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
153 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
154 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
155 CONFIG_HEADER = gconfig.h
156 CONFIG_CLEAN_FILES =
157 bin_PROGRAMS = gprof$(EXEEXT)
158 PROGRAMS = $(bin_PROGRAMS)
161 DEFS = @DEFS@ -I. -I$(srcdir) -I.
162 CPPFLAGS = @CPPFLAGS@
163 LDFLAGS = @LDFLAGS@
164 LIBS = @LIBS@
165 gprof_OBJECTS = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
166 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
167 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) hertz.$(OBJEXT) \
168 hist.$(OBJEXT) source.$(OBJEXT) search_list.$(OBJEXT) symtab.$(OBJEXT) \
169 sym_ids.$(OBJEXT) utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) \
170 vax.$(OBJEXT) tahoe.$(OBJEXT) sparc.$(OBJEXT) mips.$(OBJEXT) \
171 flat_bl.$(OBJEXT) bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
172 gprof_LDFLAGS =
173 CFLAGS = @CFLAGS@
174 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
175 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
176 CCLD = $(CC)
177 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
178 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
179 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
180 INFO_DEPS = gprof.info
181 DVIS = gprof.dvi
182 TEXINFOS = gprof.texi
183 man1dir = $(mandir)/man1
184 MANS = $(man_MANS)
186 NROFF = nroff
187 HEADERS = $(noinst_HEADERS)
189 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
190 TODO acinclude.m4 aclocal.m4 configure configure.in gconfig.in
193 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
195 TAR = gtar
196 GZIP_ENV = --best
197 SOURCES = $(gprof_SOURCES)
198 OBJECTS = $(gprof_OBJECTS)
200 all: all-redirect
201 .SUFFIXES:
202 .SUFFIXES: .S .c .dvi .info .lo .m .o .obj .ps .s .texi .texinfo .txi
203 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
204 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
206 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
207 cd $(top_builddir) \
208 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
210 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
211 cd $(srcdir) && $(ACLOCAL)
213 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
214 $(SHELL) ./config.status --recheck
215 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
216 cd $(srcdir) && $(AUTOCONF)
218 gconfig.h: stamp-h
219 @if test ! -f $@; then \
220 rm -f stamp-h; \
221 $(MAKE) stamp-h; \
222 else :; fi
223 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
224 cd $(top_builddir) \
225 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
226 $(SHELL) ./config.status
227 @echo timestamp > stamp-h 2> /dev/null
228 $(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
229 @if test ! -f $@; then \
230 rm -f $(srcdir)/stamp-h.in; \
231 $(MAKE) $(srcdir)/stamp-h.in; \
232 else :; fi
233 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
234 cd $(top_srcdir) && $(AUTOHEADER)
235 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
237 mostlyclean-hdr:
239 clean-hdr:
241 distclean-hdr:
242 -rm -f gconfig.h
244 maintainer-clean-hdr:
246 mostlyclean-binPROGRAMS:
248 clean-binPROGRAMS:
249 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
251 distclean-binPROGRAMS:
253 maintainer-clean-binPROGRAMS:
255 install-binPROGRAMS: $(bin_PROGRAMS)
256 @$(NORMAL_INSTALL)
257 $(mkinstalldirs) $(DESTDIR)$(bindir)
258 @list='$(bin_PROGRAMS)'; for p in $$list; do \
259 if test -f $$p; then \
260 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
261 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
262 else :; fi; \
263 done
265 uninstall-binPROGRAMS:
266 @$(NORMAL_UNINSTALL)
267 list='$(bin_PROGRAMS)'; for p in $$list; do \
268 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
269 done
271 .c.o:
272 $(COMPILE) -c $<
274 # FIXME: We should only use cygpath when building on Windows,
275 # and only if it is available.
276 .c.obj:
277 $(COMPILE) -c `cygpath -w $<`
279 .s.o:
280 $(COMPILE) -c $<
282 .S.o:
283 $(COMPILE) -c $<
285 mostlyclean-compile:
286 -rm -f *.o core *.core
287 -rm -f *.$(OBJEXT)
289 clean-compile:
291 distclean-compile:
292 -rm -f *.tab.c
294 maintainer-clean-compile:
296 .c.lo:
297 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
299 .s.lo:
300 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
302 .S.lo:
303 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
305 mostlyclean-libtool:
306 -rm -f *.lo
308 clean-libtool:
309 -rm -rf .libs _libs
311 distclean-libtool:
313 maintainer-clean-libtool:
315 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
316 @rm -f gprof$(EXEEXT)
317 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
319 gprof.info: gprof.texi
320 gprof.dvi: gprof.texi
323 DVIPS = dvips
325 .texi.info:
326 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
327 $(MAKEINFO) -I $(srcdir) $<
329 .texi.dvi:
330 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
331 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
333 .texi:
334 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
335 $(MAKEINFO) -I $(srcdir) $<
337 .texinfo.info:
338 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
339 $(MAKEINFO) -I $(srcdir) $<
341 .texinfo:
342 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
343 $(MAKEINFO) -I $(srcdir) $<
345 .texinfo.dvi:
346 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
347 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
349 .txi.info:
350 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
351 $(MAKEINFO) -I $(srcdir) $<
353 .txi.dvi:
354 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
355 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
357 .txi:
358 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
359 $(MAKEINFO) -I $(srcdir) $<
360 .dvi.ps:
361 $(DVIPS) $< -o $@
363 install-info-am: $(INFO_DEPS)
364 @$(NORMAL_INSTALL)
365 $(mkinstalldirs) $(DESTDIR)$(infodir)
366 @list='$(INFO_DEPS)'; \
367 for file in $$list; do \
368 if test -f $$file; then d=.; else d=$(srcdir); fi; \
369 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
370 if test -f $$d/$$ifile; then \
371 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
372 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
373 else : ; fi; \
374 done; \
375 done
376 @$(POST_INSTALL)
377 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
378 list='$(INFO_DEPS)'; \
379 for file in $$list; do \
380 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
381 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
382 done; \
383 else : ; fi
385 uninstall-info:
386 $(PRE_UNINSTALL)
387 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
388 ii=yes; \
389 else ii=; fi; \
390 list='$(INFO_DEPS)'; \
391 for file in $$list; do \
392 test -z "$$ii" \
393 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
394 done
395 @$(NORMAL_UNINSTALL)
396 list='$(INFO_DEPS)'; \
397 for file in $$list; do \
398 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
399 done
401 dist-info: $(INFO_DEPS)
402 list='$(INFO_DEPS)'; \
403 for base in $$list; do \
404 if test -f $$base; then d=.; else d=$(srcdir); fi; \
405 for file in `cd $$d && eval echo $$base*`; do \
406 test -f $(distdir)/$$file \
407 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
408 || cp -p $$d/$$file $(distdir)/$$file; \
409 done; \
410 done
412 mostlyclean-aminfo:
413 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
414 gprof.ky gprof.kys gprof.ps gprof.log gprof.pg gprof.toc \
415 gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
416 gprof.cv gprof.cn
418 clean-aminfo:
420 distclean-aminfo:
422 maintainer-clean-aminfo:
423 for i in $(INFO_DEPS); do \
424 rm -f $$i; \
425 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
426 rm -f $$i-[0-9]*; \
427 fi; \
428 done
429 clean-info: mostlyclean-aminfo
431 install-man1:
432 $(mkinstalldirs) $(DESTDIR)$(man1dir)
433 @list='$(man1_MANS)'; \
434 l2='$(man_MANS)'; for i in $$l2; do \
435 case "$$i" in \
436 *.1*) list="$$list $$i" ;; \
437 esac; \
438 done; \
439 for i in $$list; do \
440 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
441 else file=$$i; fi; \
442 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
443 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
444 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
445 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
446 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
447 done
449 uninstall-man1:
450 @list='$(man1_MANS)'; \
451 l2='$(man_MANS)'; for i in $$l2; do \
452 case "$$i" in \
453 *.1*) list="$$list $$i" ;; \
454 esac; \
455 done; \
456 for i in $$list; do \
457 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
458 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
459 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
460 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
461 rm -f $(DESTDIR)$(man1dir)/$$inst; \
462 done
463 install-man: $(MANS)
464 @$(NORMAL_INSTALL)
465 $(MAKE) $(AM_MAKEFLAGS) install-man1
466 uninstall-man:
467 @$(NORMAL_UNINSTALL)
468 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
470 # This directory's subdirectories are mostly independent; you can cd
471 # into them and run `make' without going through this Makefile.
472 # To change the values of `make' variables: instead of editing Makefiles,
473 # (1) if the variable is set in `config.status', edit `config.status'
474 # (which will cause the Makefiles to be regenerated when you run `make');
475 # (2) otherwise, pass the desired values on the `make' command line.
477 @SET_MAKE@
479 all-recursive install-data-recursive install-exec-recursive \
480 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
481 check-recursive installcheck-recursive info-recursive dvi-recursive:
482 @set fnord $(MAKEFLAGS); amf=$$2; \
483 dot_seen=no; \
484 target=`echo $@ | sed s/-recursive//`; \
485 list='$(SUBDIRS)'; for subdir in $$list; do \
486 echo "Making $$target in $$subdir"; \
487 if test "$$subdir" = "."; then \
488 dot_seen=yes; \
489 local_target="$$target-am"; \
490 else \
491 local_target="$$target"; \
492 fi; \
493 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
494 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
495 done; \
496 if test "$$dot_seen" = "no"; then \
497 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
498 fi; test -z "$$fail"
500 mostlyclean-recursive clean-recursive distclean-recursive \
501 maintainer-clean-recursive:
502 @set fnord $(MAKEFLAGS); amf=$$2; \
503 dot_seen=no; \
504 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
505 rev="$$subdir $$rev"; \
506 test "$$subdir" != "." || dot_seen=yes; \
507 done; \
508 test "$$dot_seen" = "no" && rev=". $$rev"; \
509 target=`echo $@ | sed s/-recursive//`; \
510 for subdir in $$rev; do \
511 echo "Making $$target in $$subdir"; \
512 if test "$$subdir" = "."; then \
513 local_target="$$target-am"; \
514 else \
515 local_target="$$target"; \
516 fi; \
517 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
518 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
519 done && test -z "$$fail"
520 tags-recursive:
521 list='$(SUBDIRS)'; for subdir in $$list; do \
522 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
523 done
525 tags: TAGS
527 ID: $(HEADERS) $(SOURCES) $(LISP)
528 list='$(SOURCES) $(HEADERS)'; \
529 unique=`for i in $$list; do echo $$i; done | \
530 awk ' { files[$$0] = 1; } \
531 END { for (i in files) print i; }'`; \
532 here=`pwd` && cd $(srcdir) \
533 && mkid -f$$here/ID $$unique $(LISP)
535 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
536 tags=; \
537 here=`pwd`; \
538 list='$(SUBDIRS)'; for subdir in $$list; do \
539 if test "$$subdir" = .; then :; else \
540 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
541 fi; \
542 done; \
543 list='$(SOURCES) $(HEADERS)'; \
544 unique=`for i in $$list; do echo $$i; done | \
545 awk ' { files[$$0] = 1; } \
546 END { for (i in files) print i; }'`; \
547 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
548 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
550 mostlyclean-tags:
552 clean-tags:
554 distclean-tags:
555 -rm -f TAGS ID
557 maintainer-clean-tags:
559 distdir = $(PACKAGE)-$(VERSION)
560 top_distdir = $(distdir)
562 # This target untars the dist file and tries a VPATH configuration. Then
563 # it guarantees that the distribution is self-contained by making another
564 # tarfile.
565 distcheck: dist
566 -rm -rf $(distdir)
567 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
568 mkdir $(distdir)/=build
569 mkdir $(distdir)/=inst
570 dc_install_base=`cd $(distdir)/=inst && pwd`; \
571 cd $(distdir)/=build \
572 && ../configure --srcdir=.. --prefix=$$dc_install_base \
573 && $(MAKE) $(AM_MAKEFLAGS) \
574 && $(MAKE) $(AM_MAKEFLAGS) dvi \
575 && $(MAKE) $(AM_MAKEFLAGS) check \
576 && $(MAKE) $(AM_MAKEFLAGS) install \
577 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
578 && $(MAKE) $(AM_MAKEFLAGS) dist
579 -rm -rf $(distdir)
580 @banner="$(distdir).tar.gz is ready for distribution"; \
581 dashes=`echo "$$banner" | sed s/./=/g`; \
582 echo "$$dashes"; \
583 echo "$$banner"; \
584 echo "$$dashes"
585 dist: distdir
586 -chmod -R a+r $(distdir)
587 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
588 -rm -rf $(distdir)
589 dist-all: distdir
590 -chmod -R a+r $(distdir)
591 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
592 -rm -rf $(distdir)
593 distdir: $(DISTFILES)
594 -rm -rf $(distdir)
595 mkdir $(distdir)
596 -chmod 777 $(distdir)
597 @for file in $(DISTFILES); do \
598 if test -f $$file; then d=.; else d=$(srcdir); fi; \
599 if test -d $$d/$$file; then \
600 cp -pr $$d/$$file $(distdir)/$$file; \
601 else \
602 test -f $(distdir)/$$file \
603 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
604 || cp -p $$d/$$file $(distdir)/$$file || :; \
605 fi; \
606 done
607 for subdir in $(SUBDIRS); do \
608 if test "$$subdir" = .; then :; else \
609 test -d $(distdir)/$$subdir \
610 || mkdir $(distdir)/$$subdir \
611 || exit 1; \
612 chmod 777 $(distdir)/$$subdir; \
613 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
614 || exit 1; \
615 fi; \
616 done
617 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
618 info-am: $(INFO_DEPS)
619 info: info-recursive
620 dvi-am: $(DVIS)
621 dvi: dvi-recursive
622 check-am:
623 check: check-recursive
624 installcheck-am:
625 installcheck: installcheck-recursive
626 install-info-am:
627 install-info: install-info-recursive
628 all-recursive-am: gconfig.h
629 $(MAKE) $(AM_MAKEFLAGS) all-recursive
631 install-exec-am: install-binPROGRAMS
632 install-exec: install-exec-recursive
634 install-data-am: install-man
635 install-data: install-data-recursive
637 install-am: all-am
638 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
639 install: install-recursive
640 uninstall-am: uninstall-binPROGRAMS uninstall-man
641 uninstall: uninstall-recursive
642 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
643 all-redirect: all-recursive-am
644 install-strip:
645 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
646 installdirs: installdirs-recursive
647 installdirs-am:
648 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
651 mostlyclean-generic:
653 clean-generic:
654 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
656 distclean-generic:
657 -rm -f Makefile $(CONFIG_CLEAN_FILES)
658 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
660 maintainer-clean-generic:
661 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
662 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
663 mostlyclean-compile mostlyclean-libtool \
664 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
666 mostlyclean: mostlyclean-recursive
668 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
669 clean-aminfo clean-tags clean-generic mostlyclean-am
671 clean: clean-recursive
673 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
674 distclean-libtool distclean-aminfo distclean-tags \
675 distclean-generic clean-am
676 -rm -f libtool
678 distclean: distclean-recursive
679 -rm -f config.status
681 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
682 maintainer-clean-compile maintainer-clean-libtool \
683 maintainer-clean-aminfo maintainer-clean-tags \
684 maintainer-clean-generic distclean-am
685 @echo "This command is intended for maintainers to use;"
686 @echo "it deletes files that may require special tools to rebuild."
688 maintainer-clean: maintainer-clean-recursive
689 -rm -f config.status
691 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
692 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
693 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
694 mostlyclean-compile distclean-compile clean-compile \
695 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
696 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
697 mostlyclean-aminfo distclean-aminfo clean-aminfo \
698 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
699 uninstall-man install-data-recursive uninstall-data-recursive \
700 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
701 uninstalldirs-recursive all-recursive check-recursive \
702 installcheck-recursive info-recursive dvi-recursive \
703 mostlyclean-recursive distclean-recursive clean-recursive \
704 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
705 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
706 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
707 install-info all-recursive-am install-exec-am install-exec \
708 install-data-am install-data install-am install uninstall-am uninstall \
709 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
710 distclean-generic clean-generic maintainer-clean-generic clean \
711 mostlyclean distclean maintainer-clean
714 diststuff: $(BUILT_SOURCES) info $(man_MANS)
716 .m.c:
717 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
718 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
719 FILE=$*.m $(srcdir)/$*.m
720 po/POTFILES.in: @MAINT@ Makefile
721 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
722 && mv tmp $(srcdir)/po/POTFILES.in
724 # Build the man page from the texinfo file
725 # The sed command removes the no-adjust Nroff command so that
726 # the man output looks standard.
727 gprof.1: $(srcdir)/gprof.texi
728 touch $@
729 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
730 -($(POD2MAN) gprof.pod | \
731 sed -e '/^.if n .na/d' > $@.T$$$$ && \
732 mv -f $@.T$$$$ $@) || \
733 (rm -f $@.T$$$$ && exit 1)
734 rm -f gprof.pod
736 Makefile: $(BFDDIR)/configure.in
738 # We want install to imply install-info as per GNU standards, despite the
739 # cygnus option.
740 install: install-info
742 # Targets to rebuild dependencies in this Makefile.
743 # Have to get rid of DEP1 here so that "$?" later includes all sources.
744 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
745 rm -f DEP1
746 $(MAKE) MKDEP="$(MKDEP)" DEP1
747 sed -f dep.sed < DEP1 > DEPA
748 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
749 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
750 echo 'make DEP failed!'; exit 1; \
751 else \
752 mv -f DEPA $@; \
755 DEP1: $(gprof_SOURCES)
756 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
757 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
758 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
759 mv -f DEP2 $@
761 dep.sed: dep-in.sed config.status
762 objdir=`pwd`; \
763 sed <$(srcdir)/dep-in.sed >dep.sed \
764 -e 's!@INCDIR@!$(INCDIR)!' \
765 -e 's!@BFDDIR@!$(BFDDIR)!' \
766 -e 's!@SRCDIR@!$(srcdir)!' \
767 -e "s!@OBJDIR@!$${objdir}!" \
768 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
770 dep: DEP
771 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
772 cat DEP >> tmp-Makefile
773 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
775 dep-in: DEP
776 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
777 cat DEP >> tmp-Makefile.in
778 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
780 dep-am: DEP
781 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
782 cat DEP >> tmp-Makefile.am
783 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
785 .PHONY: dep dep-in dep-am
787 # DO NOT DELETE THIS LINE -- mkdep uses it.
788 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
789 basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
790 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
791 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
792 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h basic_blocks.h \
793 corefile.h gmon_io.h gmon_out.h search_list.h source.h \
794 symtab.h sym_ids.h
795 call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
796 $(INCDIR)/ansidecl.h ../bfd/config.h $(INCDIR)/fopen-same.h \
797 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
798 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
799 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
800 gmon_out.h sym_ids.h
801 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
802 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
803 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
804 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
805 symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
806 utils.h sym_ids.h
807 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
808 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
809 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
810 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
811 symtab.h cg_arcs.h cg_dfn.h utils.h
812 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
813 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
814 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
815 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
816 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
817 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
818 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
819 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
820 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
821 symtab.h corefile.h
822 gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
823 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
824 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
825 search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
826 corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
827 hertz.h hist.h $(INCDIR)/libiberty.h
828 gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
829 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
830 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
831 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
832 symtab.h basic_blocks.h call_graph.h cg_arcs.h cg_print.h \
833 corefile.h gmon_io.h hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
834 hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
835 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
836 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
837 hertz.h
838 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
839 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
840 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
841 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
842 symtab.h corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h \
843 utils.h
844 source.o: source.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
845 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
846 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
847 $(INCDIR)/libiberty.h search_list.h source.h
848 search_list.o: search_list.c $(INCDIR)/libiberty.h \
849 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
850 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
851 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h
852 symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
853 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
854 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
855 search_list.h source.h symtab.h cg_arcs.h corefile.h
856 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
857 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
858 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
859 $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h search_list.h \
860 source.h symtab.h cg_arcs.h sym_ids.h
861 utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/ansidecl.h \
862 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
863 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
864 gconfig.h $(INCDIR)/bin-bugs.h search_list.h source.h \
865 symtab.h cg_arcs.h utils.h
866 i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
867 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
868 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
869 search_list.h source.h symtab.h cg_arcs.h corefile.h \
870 hist.h
871 alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
872 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
873 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
874 search_list.h source.h symtab.h cg_arcs.h corefile.h \
875 hist.h
876 vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
877 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
878 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
879 search_list.h source.h symtab.h cg_arcs.h corefile.h \
880 hist.h
881 tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
882 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
883 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
884 search_list.h source.h symtab.h cg_arcs.h corefile.h \
885 hist.h
886 sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
887 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
888 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
889 search_list.h source.h symtab.h cg_arcs.h corefile.h \
890 hist.h
891 mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h $(INCDIR)/ansidecl.h \
892 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
893 ../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/bin-bugs.h \
894 search_list.h source.h symtab.h cg_arcs.h corefile.h \
895 hist.h
896 flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
897 bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
898 fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
899 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
901 # Tell versions [3.59,3.63) of GNU make to not export all variables.
902 # Otherwise a system limit (for SysV at least) may be exceeded.
903 .NOEXPORT: