1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
68 CATOBJEXT = @CATOBJEXT@
70 DATADIRNAME = @DATADIRNAME@
77 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
78 INSTOBJEXT = @INSTOBJEXT@
87 MKINSTALLDIRS = @MKINSTALLDIRS@
94 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
99 AUTOMAKE_OPTIONS = cygnus
105 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
109 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
110 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
111 search_list.c symtab.c sym_ids.c utils.c \
112 i386.c alpha.c vax.c tahoe.c sparc.c
113 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
114 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
115 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
118 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
119 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
120 search_list.h source.h sym_ids.h symtab.h utils.h
122 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
124 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
126 POTFILES = $(sources) $(noinst_HEADERS)
128 info_TEXINFOS = gprof.texi
130 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
131 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
132 CONFIG_HEADER = gconfig.h
134 bin_PROGRAMS = gprof$(EXEEXT)
135 PROGRAMS = $(bin_PROGRAMS)
138 DEFS = @DEFS@ -I. -I$(srcdir) -I.
139 CPPFLAGS = @CPPFLAGS@
142 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
143 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
144 search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o \
145 sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
148 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
149 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
150 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
151 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
152 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
153 INFO_DEPS = gprof.info
155 TEXINFOS = gprof.texi
156 man1dir = $(mandir)/man1
160 HEADERS = $(noinst_HEADERS)
162 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
163 aclocal.m4 configure configure.in gconfig.in stamp-h.in
166 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
170 SOURCES = $(gprof_SOURCES)
171 OBJECTS = $(gprof_OBJECTS)
173 all: all-recursive-am all-am
176 .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo .txi
177 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
178 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
180 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
182 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
184 $(ACLOCAL_M4): @MAINT@ configure.in
185 cd $(srcdir) && $(ACLOCAL)
187 config.status: $(srcdir)/configure
188 $(SHELL) ./config.status --recheck
189 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
190 cd $(srcdir) && $(AUTOCONF)
194 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
196 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
197 $(SHELL) ./config.status
198 @echo timestamp > stamp-h
199 $(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
200 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
201 cd $(top_srcdir) && $(AUTOHEADER)
202 @echo timestamp > $(srcdir)/stamp-h.in
211 maintainer-clean-hdr:
213 mostlyclean-binPROGRAMS:
216 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
218 distclean-binPROGRAMS:
220 maintainer-clean-binPROGRAMS:
222 install-binPROGRAMS: $(bin_PROGRAMS)
224 $(mkinstalldirs) $(DESTDIR)$(bindir)
225 @list='$(bin_PROGRAMS)'; for p in $$list; do \
226 if test -f $$p; then \
227 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
228 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
232 uninstall-binPROGRAMS:
234 list='$(bin_PROGRAMS)'; for p in $$list; do \
235 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
248 -rm -f *.o core *.core
255 maintainer-clean-compile:
258 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
261 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
264 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
274 maintainer-clean-libtool:
276 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
277 @rm -f gprof$(EXEEXT)
278 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
280 gprof.info: gprof.texi
281 gprof.dvi: gprof.texi
287 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
288 $(MAKEINFO) -I $(srcdir) $<
291 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
292 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
295 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
296 $(MAKEINFO) -I $(srcdir) $<
299 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
300 $(MAKEINFO) -I $(srcdir) $<
303 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
304 $(MAKEINFO) -I $(srcdir) $<
307 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
308 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
311 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
312 $(MAKEINFO) -I $(srcdir) $<
315 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
316 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
319 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
320 $(MAKEINFO) -I $(srcdir) $<
324 install-info-am: $(INFO_DEPS)
326 $(mkinstalldirs) $(DESTDIR)$(infodir)
327 @for file in $(INFO_DEPS); do \
328 if test -f $$file; then d=.; else d=$(srcdir); fi; \
329 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
330 if test -f $$d/$$ifile; then \
331 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
332 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
337 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
338 for file in $(INFO_DEPS); do \
339 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
340 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
346 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
349 for file in $(INFO_DEPS); do \
351 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
354 for file in $(INFO_DEPS); do \
355 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
358 dist-info: $(INFO_DEPS)
359 for base in $(INFO_DEPS); do \
360 if test -f $$base; then d=.; else d=$(srcdir); fi; \
361 for file in `cd $$d && eval echo $$base*`; do \
362 test -f $(distdir)/$$file \
363 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
364 || cp -p $$d/$$file $(distdir)/$$file; \
369 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
370 gprof.ky gprof.kys gprof.ps gprof.log gprof.pg gprof.toc \
371 gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
378 maintainer-clean-aminfo:
379 for i in $(INFO_DEPS); do \
381 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
385 clean-info: mostlyclean-aminfo
388 $(mkinstalldirs) $(DESTDIR)$(man1dir)
389 @list='$(man1_MANS)'; \
390 l2='$(man_MANS)'; for i in $$l2; do \
392 *.1*) list="$$list $$i" ;; \
395 for i in $$list; do \
396 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
398 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
399 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
400 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
401 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
402 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
406 @list='$(man1_MANS)'; \
407 l2='$(man_MANS)'; for i in $$l2; do \
409 *.1*) list="$$list $$i" ;; \
412 for i in $$list; do \
413 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
414 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
415 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
416 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
417 rm -f $(DESTDIR)$(man1dir)/$$inst; \
424 $(MAKE) uninstall-man1
426 # This directory's subdirectories are mostly independent; you can cd
427 # into them and run `make' without going through this Makefile.
428 # To change the values of `make' variables: instead of editing Makefiles,
429 # (1) if the variable is set in `config.status', edit `config.status'
430 # (which will cause the Makefiles to be regenerated when you run `make');
431 # (2) otherwise, pass the desired values on the `make' command line.
435 all-recursive install-data-recursive install-exec-recursive \
436 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
437 check-recursive installcheck-recursive info-recursive dvi-recursive:
438 @set fnord $(MAKEFLAGS); amf=$$2; \
439 list='$(SUBDIRS)'; for subdir in $$list; do \
440 target=`echo $@ | sed s/-recursive//`; \
441 echo "Making $$target in $$subdir"; \
442 (cd $$subdir && $(MAKE) $$target) \
443 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
444 done && test -z "$$fail"
446 mostlyclean-recursive clean-recursive distclean-recursive \
447 maintainer-clean-recursive:
448 @set fnord $(MAKEFLAGS); amf=$$2; \
449 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
450 rev="$$subdir $$rev"; \
452 for subdir in $$rev; do \
453 target=`echo $@ | sed s/-recursive//`; \
454 echo "Making $$target in $$subdir"; \
455 (cd $$subdir && $(MAKE) $$target) \
456 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
457 done && test -z "$$fail"
459 list='$(SUBDIRS)'; for subdir in $$list; do \
460 (cd $$subdir && $(MAKE) tags); \
465 ID: $(HEADERS) $(SOURCES) $(LISP)
466 here=`pwd` && cd $(srcdir) \
467 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
469 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
472 list='$(SUBDIRS)'; for subdir in $$list; do \
473 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
475 list='$(SOURCES) $(HEADERS)'; \
476 unique=`for i in $$list; do echo $$i; done | \
477 awk ' { files[$$0] = 1; } \
478 END { for (i in files) print i; }'`; \
479 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
480 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
489 maintainer-clean-tags:
491 distdir = $(PACKAGE)-$(VERSION)
492 top_distdir = $(distdir)
494 # This target untars the dist file and tries a VPATH configuration. Then
495 # it guarantees that the distribution is self-contained by making another
499 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
500 mkdir $(distdir)/=build
501 mkdir $(distdir)/=inst
502 dc_install_base=`cd $(distdir)/=inst && pwd`; \
503 cd $(distdir)/=build \
504 && ../configure --srcdir=.. --prefix=$$dc_install_base \
509 && $(MAKE) installcheck \
512 @echo "========================"; \
513 echo "$(distdir).tar.gz is ready for distribution"; \
514 echo "========================"
516 -chmod -R a+r $(distdir)
517 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
520 -chmod -R a+r $(distdir)
521 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
523 distdir: $(DISTFILES)
526 -chmod 777 $(distdir)
527 @for file in $(DISTFILES); do \
528 if test -f $$file; then d=.; else d=$(srcdir); fi; \
529 test -f $(distdir)/$$file \
530 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
531 || cp -p $$d/$$file $(distdir)/$$file; \
533 for subdir in $(SUBDIRS); do \
534 test -d $(distdir)/$$subdir \
535 || mkdir $(distdir)/$$subdir \
537 chmod 777 $(distdir)/$$subdir; \
538 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
541 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
542 info: $(INFO_DEPS) info-recursive
543 dvi: $(DVIS) dvi-recursive
545 $(MAKE) check-recursive
546 installcheck: installcheck-recursive
547 install-info: install-info-am install-info-recursive
548 all-recursive-am: gconfig.h
549 $(MAKE) all-recursive
551 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
553 install-exec-am: install-binPROGRAMS
555 install-data-am: install-man
557 uninstall-am: uninstall-binPROGRAMS uninstall-man
559 install-exec: install-exec-recursive install-exec-am
562 install-data: install-data-recursive install-data-am
565 install: install-recursive install-exec-am install-data-am
568 uninstall: uninstall-recursive uninstall-am
571 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
572 installdirs: installdirs-recursive
573 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
577 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
580 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
583 -rm -f Makefile $(DISTCLEANFILES)
584 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
585 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
587 maintainer-clean-generic:
588 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
589 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
590 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
591 mostlyclean-compile mostlyclean-libtool \
592 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
594 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
595 clean-aminfo clean-tags clean-generic mostlyclean-am
597 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
598 distclean-libtool distclean-aminfo distclean-tags \
599 distclean-generic clean-am
601 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
602 maintainer-clean-compile maintainer-clean-libtool \
603 maintainer-clean-aminfo maintainer-clean-tags \
604 maintainer-clean-generic distclean-am
606 mostlyclean: mostlyclean-recursive mostlyclean-am
608 clean: clean-recursive clean-am
610 distclean: distclean-recursive distclean-am
614 maintainer-clean: maintainer-clean-recursive maintainer-clean-am
615 @echo "This command is intended for maintainers to use;"
616 @echo "it deletes files that may require special tools to rebuild."
619 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
620 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
621 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
622 mostlyclean-compile distclean-compile clean-compile \
623 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
624 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
625 mostlyclean-aminfo distclean-aminfo clean-aminfo \
626 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
627 uninstall-man install-data-recursive uninstall-data-recursive \
628 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
629 uninstalldirs-recursive all-recursive check-recursive \
630 installcheck-recursive info-recursive dvi-recursive \
631 mostlyclean-recursive distclean-recursive clean-recursive \
632 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
633 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
634 installcheck install-info all-recursive-am all-am install-exec-am \
635 install-data-am uninstall-am install-exec install-data install \
636 uninstall all installdirs mostlyclean-generic distclean-generic \
637 clean-generic maintainer-clean-generic clean mostlyclean distclean \
641 diststuff: $(BUILT_SOURCES) info
644 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
645 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
646 FILE=$*.m $(srcdir)/$*.m
647 po/POTFILES.in: @MAINT@ Makefile
648 for file in $(POTFILES); do echo $$file; done | sort > tmp \
649 && mv tmp $(srcdir)/po/POTFILES.in
652 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
653 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
654 search_list.h source.h sym_ids.h symtab.h utils.h \
655 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
656 gconfig.h ../bfd/config.h
657 basic_blocks.o: basic_blocks.c
658 bsd_call_bl.o: bsd_call_bl.c
659 call_graph.o: call_graph.c
662 cg_print.o: cg_print.c
665 fsf_callg_bl.o: fsf_callg_bl.c
670 search_list.o: search_list.c
681 # Tell versions [3.59,3.63) of GNU make to not export all variables.
682 # Otherwise a system limit (for SysV at least) may be exceeded.