1 # Makefile.in generated automatically by automake 1.2e 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
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
58 build_alias = @build_alias@
59 build_triplet = @build@
60 host_alias = @host_alias@
62 target_alias = @target_alias@
63 target_triplet = @target@
76 AUTOMAKE_OPTIONS = cygnus
80 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
84 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
85 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
86 search_list.c symtab.c sym_ids.c utils.c \
87 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
88 i386.c alpha.c vax.c tahoe.c sparc.c
89 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
90 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a
93 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
94 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
95 search_list.h source.h sym_ids.h symtab.h utils.h
97 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
99 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
101 info_TEXINFOS = gprof.texi
103 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
104 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
105 CONFIG_HEADER = gconfig.h
107 bin_PROGRAMS = gprof$(EXEEXT)
108 PROGRAMS = $(bin_PROGRAMS)
111 DEFS = @DEFS@ -I. -I$(srcdir) -I.
112 CPPFLAGS = @CPPFLAGS@
115 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
116 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
117 search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
118 fsf_callg_bl.o i386.o alpha.o vax.o tahoe.o sparc.o
121 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
122 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
123 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
124 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
125 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
126 INFO_DEPS = gprof.info
128 TEXINFOS = gprof.texi
132 HEADERS = $(noinst_HEADERS)
134 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
135 aclocal.m4 configure configure.in gconfig.in stamp-h.in
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
142 SOURCES = $(gprof_SOURCES)
143 OBJECTS = $(gprof_OBJECTS)
148 .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo
149 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
150 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
152 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
154 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
156 $(ACLOCAL_M4): @MAINT@ configure.in
157 cd $(srcdir) && $(ACLOCAL)
159 config.status: $(srcdir)/configure
160 $(SHELL) ./config.status --recheck
161 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
162 cd $(srcdir) && $(AUTOCONF)
166 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
168 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
169 $(SHELL) ./config.status
170 @echo timestamp > stamp-h
171 $(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
172 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
173 cd $(top_srcdir) && $(AUTOHEADER)
174 @echo timestamp > $(srcdir)/stamp-h.in
183 maintainer-clean-hdr:
185 mostlyclean-binPROGRAMS:
188 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
190 distclean-binPROGRAMS:
192 maintainer-clean-binPROGRAMS:
194 install-binPROGRAMS: $(bin_PROGRAMS)
196 $(mkinstalldirs) $(bindir)
197 @list='$(bin_PROGRAMS)'; for p in $$list; do \
198 if test -f $$p; then \
199 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
200 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
204 uninstall-binPROGRAMS:
206 list='$(bin_PROGRAMS)'; for p in $$list; do \
207 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
220 -rm -f *.o core *.core
227 maintainer-clean-compile:
230 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
233 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
236 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
246 maintainer-clean-libtool:
248 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
249 @rm -f gprof$(EXEEXT)
250 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
252 gprof.info: gprof.texi
253 gprof.dvi: gprof.texi
259 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
260 $(MAKEINFO) -I $(srcdir) $<
263 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
264 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
267 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
268 $(MAKEINFO) -I $(srcdir) $<
271 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
272 $(MAKEINFO) -I $(srcdir) $<
275 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
276 $(MAKEINFO) -I $(srcdir) $<
279 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
280 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
284 install-info-am: $(INFO_DEPS)
286 $(mkinstalldirs) $(infodir)
287 @for file in $(INFO_DEPS); do \
288 if test -f $$file; then d=.; else d=$(srcdir); fi; \
289 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
290 if test -f $$d/$$ifile; then \
291 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
292 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
297 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
298 for file in $(INFO_DEPS); do \
299 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
300 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
306 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
309 for file in $(INFO_DEPS); do \
311 || install-info --info-dir=$(infodir) --remove $$file; \
314 for file in $(INFO_DEPS); do \
315 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
318 dist-info: $(INFO_DEPS)
319 for base in $(INFO_DEPS); do \
320 if test -f $$base; then d=.; else d=$(srcdir); fi; \
321 for file in `cd $$d && eval echo $$base*`; do \
322 test -f $(distdir)/$$file \
323 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
324 || cp -p $$d/$$file $(distdir)/$$file; \
329 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
330 gprof.ky gprof.kys gprof.ps gprof.log gprof.pg gprof.toc \
331 gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
338 maintainer-clean-aminfo:
339 for i in $(INFO_DEPS); do \
341 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
345 clean-info: mostlyclean-aminfo
348 $(mkinstalldirs) $(mandir)/man1
350 inst=`echo "gprof" | sed '$(transform)'`.1; \
351 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
352 else file=gprof.1; fi; \
353 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
354 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
358 -inst=`echo "gprof" | sed '$(transform)'`.1; \
359 rm -f $(mandir)/man1/$$inst
364 ID: $(HEADERS) $(SOURCES) $(LISP)
365 here=`pwd` && cd $(srcdir) \
366 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
368 TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
371 list='$(SOURCES) $(HEADERS)'; \
372 unique=`for i in $$list; do echo $$i; done | \
373 awk ' { files[$$0] = 1; } \
374 END { for (i in files) print i; }'`; \
375 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
376 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
385 maintainer-clean-tags:
387 distdir = $(PACKAGE)-$(VERSION)
388 top_distdir = $(distdir)
390 # This target untars the dist file and tries a VPATH configuration. Then
391 # it guarantees that the distribution is self-contained by making another
395 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
396 mkdir $(distdir)/=build
397 mkdir $(distdir)/=inst
398 dc_install_base=`cd $(distdir)/=inst && pwd`; \
399 cd $(distdir)/=build \
400 && ../configure --srcdir=.. --prefix=$$dc_install_base \
405 && $(MAKE) installcheck \
408 @echo "========================"; \
409 echo "$(distdir).tar.gz is ready for distribution"; \
410 echo "========================"
412 -chmod -R a+r $(distdir)
413 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
416 -chmod -R a+r $(distdir)
417 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
419 distdir: $(DISTFILES)
422 -chmod 777 $(distdir)
423 @for file in $(DISTFILES); do \
424 if test -f $$file; then d=.; else d=$(srcdir); fi; \
425 test -f $(distdir)/$$file \
426 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
427 || cp -p $$d/$$file $(distdir)/$$file; \
429 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
435 install-info: install-info-am
436 install-exec: install-binPROGRAMS
439 install-data: install-man
442 install: install-exec install-data all
445 uninstall: uninstall-binPROGRAMS uninstall-man
447 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
450 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
452 $(mkinstalldirs) $(bindir) $(mandir)/man1
456 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
459 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
462 -rm -f Makefile $(DISTCLEANFILES)
463 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
464 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
466 maintainer-clean-generic:
467 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
468 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
469 mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
470 mostlyclean-compile mostlyclean-libtool \
471 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
473 clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
474 clean-aminfo clean-tags clean-generic mostlyclean
476 distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
477 distclean-libtool distclean-aminfo distclean-tags \
478 distclean-generic clean
482 maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
483 maintainer-clean-compile maintainer-clean-libtool \
484 maintainer-clean-aminfo maintainer-clean-tags \
485 maintainer-clean-generic distclean
486 @echo "This command is intended for maintainers to use;"
487 @echo "it deletes files that may require special tools to rebuild."
490 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
491 maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
492 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
493 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
494 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
495 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
496 mostlyclean-aminfo distclean-aminfo clean-aminfo \
497 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
498 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
499 installcheck install-info install-exec install-data install uninstall \
500 all installdirs mostlyclean-generic distclean-generic clean-generic \
501 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
504 diststuff: $(BUILT_SOURCES) info
507 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
508 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
509 FILE=$*.m $(srcdir)/$*.m
512 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
513 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
514 search_list.h source.h sym_ids.h symtab.h utils.h \
515 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
516 gconfig.h ../bfd/config.h
517 basic_blocks.o: basic_blocks.c
518 bsd_call_bl.o: bsd_call_bl.c
519 call_graph.o: call_graph.c
522 cg_print.o: cg_print.c
525 fsf_callg_bl.o: fsf_callg_bl.c
530 search_list.o: search_list.c
541 # Tell versions [3.59,3.63) of GNU make to not export all variables.
542 # Otherwise a system limit (for SysV at least) may be exceeded.