1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
11 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
18 libexecdir = @libexecdir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
38 AUTOHEADER = @AUTOHEADER@
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 INSTALL_DATA = @INSTALL_DATA@
43 INSTALL_SCRIPT = @INSTALL_SCRIPT@
44 transform = @program_transform_name@
49 NORMAL_UNINSTALL = true
52 build_alias = @build_alias@
53 build_triplet = @build@
54 host_alias = @host_alias@
56 target_alias = @target_alias@
57 target_triplet = @target@
69 AUTOMAKE_OPTIONS = cygnus
73 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
77 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
78 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
79 search_list.c symtab.c sym_ids.c utils.c \
80 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
81 i386.c alpha.c vax.c tahoe.c sparc.c
82 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
83 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a
86 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
87 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
88 search_list.h source.h sym_ids.h symtab.h utils.h
90 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
92 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
94 info_TEXINFOS = gprof.texi
96 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
98 CONFIG_HEADER = gconfig.h
100 bin_PROGRAMS = gprof$(EXEEXT)
101 PROGRAMS = $(bin_PROGRAMS)
104 DEFS = @DEFS@ -I. -I$(srcdir) -I.
105 CPPFLAGS = @CPPFLAGS@
108 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
109 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
110 search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
111 fsf_callg_bl.o i386.o alpha.o vax.o tahoe.o sparc.o
114 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
115 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
116 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
117 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
118 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
119 INFO_DEPS = gprof.info
121 TEXINFOS = gprof.texi
125 HEADERS = $(noinst_HEADERS)
127 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
128 aclocal.m4 configure configure.in gconfig.in stamp-h.in
131 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135 SOURCES = $(gprof_SOURCES)
136 OBJECTS = $(gprof_OBJECTS)
141 .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo
142 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
143 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
145 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
147 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
149 $(ACLOCAL_M4): @MAINT@ configure.in
150 cd $(srcdir) && $(ACLOCAL)
152 config.status: $(srcdir)/configure
153 $(SHELL) ./config.status --recheck
154 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
155 cd $(srcdir) && $(AUTOCONF)
157 gconfig.h: stamp-h ; @:
158 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
160 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
161 $(SHELL) ./config.status
162 @echo timestamp > stamp-h
163 $(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
164 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
165 cd $(top_srcdir) && $(AUTOHEADER)
166 @echo timestamp > $(srcdir)/stamp-h.in
175 maintainer-clean-hdr:
177 mostlyclean-binPROGRAMS:
180 test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
182 distclean-binPROGRAMS:
184 maintainer-clean-binPROGRAMS:
186 install-binPROGRAMS: $(bin_PROGRAMS)
188 $(mkinstalldirs) $(bindir)
189 @list='$(bin_PROGRAMS)'; for p in $$list; do \
190 if test -f $$p; then \
191 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
192 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
196 uninstall-binPROGRAMS:
198 list='$(bin_PROGRAMS)'; for p in $$list; do \
199 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
219 maintainer-clean-compile:
222 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
224 # These are just copies of the above rule.
226 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
229 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
239 maintainer-clean-libtool:
241 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
242 @rm -f gprof$(EXEEXT)
243 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
245 gprof.info: gprof.texi
246 gprof.dvi: gprof.texi
252 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
253 $(MAKEINFO) -I $(srcdir) $<
256 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
257 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
260 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
261 $(MAKEINFO) -I $(srcdir) $<
264 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
265 $(MAKEINFO) -I $(srcdir) $<
268 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
269 $(MAKEINFO) -I $(srcdir) $<
272 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
273 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
277 install-info-am: $(INFO_DEPS)
279 $(mkinstalldirs) $(infodir)
280 @for file in $(INFO_DEPS); do \
281 if test -f $$file; then d=.; else d=$(srcdir); fi; \
282 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
283 if test -f $$d/$$ifile; then \
284 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
285 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
290 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
291 for file in $(INFO_DEPS); do \
292 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
293 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
299 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
302 for file in $(INFO_DEPS); do \
303 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
306 for file in $(INFO_DEPS); do \
307 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
310 dist-info: $(INFO_DEPS)
311 for base in $(INFO_DEPS); do \
312 if test -f $$base; then d=.; else d=$(srcdir); fi; \
313 for file in `cd $$d && eval echo $$base*`; do \
314 test -f $(distdir)/$$file \
315 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
316 || cp -p $$d/$$file $(distdir)/$$file; \
321 rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
322 gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
323 gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
329 maintainer-clean-aminfo:
330 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
331 clean-info: mostlyclean-aminfo
334 $(mkinstalldirs) $(mandir)/man1
336 inst=`echo "gprof" | sed '$(transform)'`.1; \
337 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
338 else file=gprof.1; fi; \
339 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
340 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
344 inst=`echo "gprof" | sed '$(transform)'`.1; \
345 rm -f $(mandir)/man1/$$inst
350 ID: $(HEADERS) $(SOURCES)
351 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
353 TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES)
356 test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \
357 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
366 maintainer-clean-tags:
368 distdir = $(PACKAGE)-$(VERSION)
369 top_distdir = $(distdir)
371 # This target untars the dist file and tries a VPATH configuration. Then
372 # it guarantees that the distribution is self-contained by making another
376 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
377 mkdir $(distdir)/=build
378 mkdir $(distdir)/=inst
379 dc_install_base=`cd $(distdir)/=inst && pwd`; \
380 cd $(distdir)/=build \
381 && ../configure --srcdir=.. --prefix=$$dc_install_base \
386 && $(MAKE) installcheck \
389 @echo "========================"; \
390 echo "$(distdir).tar.gz is ready for distribution"; \
391 echo "========================"
393 -chmod -R a+r $(distdir)
394 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
397 -chmod -R a+r $(distdir)
398 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
400 distdir: $(DISTFILES)
403 -chmod 777 $(distdir)
404 @for file in $(DISTFILES); do \
405 if test -f $$file; then d=.; else d=$(srcdir); fi; \
406 test -f $(distdir)/$$file \
407 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
408 || cp -p $$d/$$file $(distdir)/$$file; \
410 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
416 install-info: install-info-am
417 install-exec: install-binPROGRAMS
420 install-data: install-man
423 install: install-exec install-data all
426 uninstall: uninstall-binPROGRAMS uninstall-man
428 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
431 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
433 $(mkinstalldirs) $(bindir) $(mandir)/man1
437 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
440 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
443 rm -f Makefile $(DISTCLEANFILES)
444 rm -f config.cache config.log stamp-h stamp-h[0-9]*
445 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
447 maintainer-clean-generic:
448 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
449 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
450 mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
451 mostlyclean-compile mostlyclean-libtool \
452 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
454 clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
455 clean-aminfo clean-tags clean-generic mostlyclean
457 distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
458 distclean-libtool distclean-aminfo distclean-tags \
459 distclean-generic clean
463 maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
464 maintainer-clean-compile maintainer-clean-libtool \
465 maintainer-clean-aminfo maintainer-clean-tags \
466 maintainer-clean-generic distclean
467 @echo "This command is intended for maintainers to use;"
468 @echo "it deletes files that may require special tools to rebuild."
471 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
472 maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
473 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
474 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
475 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
476 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
477 mostlyclean-aminfo distclean-aminfo clean-aminfo \
478 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
479 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
480 installcheck install-info install-exec install-data install uninstall \
481 all installdirs mostlyclean-generic distclean-generic clean-generic \
482 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
486 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
487 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
488 FILE=$*.m $(srcdir)/$*.m
491 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
492 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
493 search_list.h source.h sym_ids.h symtab.h utils.h \
494 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
495 gconfig.h ../bfd/config.h
496 basic_blocks.o: basic_blocks.c
497 bsd_call_bl.o: bsd_call_bl.c
498 call_graph.o: call_graph.c
501 cg_print.o: cg_print.c
504 fsf_callg_bl.o: fsf_callg_bl.c
509 search_list.o: search_list.c
520 # Tell versions [3.59,3.63) of GNU make to not export all variables.
521 # Otherwise a system limit (for SysV at least) may be exceeded.