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@
70 AUTOMAKE_OPTIONS = cygnus
74 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
78 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
79 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
80 search_list.c symtab.c sym_ids.c utils.c \
81 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
82 i386.c alpha.c vax.c tahoe.c sparc.c
83 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
84 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a
87 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
88 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
89 search_list.h source.h sym_ids.h symtab.h utils.h
91 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
93 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
95 info_TEXINFOS = gprof.texi
97 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
99 CONFIG_HEADER = gconfig.h
101 bin_PROGRAMS = gprof$(EXEEXT)
102 PROGRAMS = $(bin_PROGRAMS)
105 DEFS = @DEFS@ -I. -I$(srcdir) -I.
106 CPPFLAGS = @CPPFLAGS@
109 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
110 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
111 search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
112 fsf_callg_bl.o i386.o alpha.o vax.o tahoe.o sparc.o
115 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
116 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
117 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
118 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
119 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
120 INFO_DEPS = gprof.info
122 TEXINFOS = gprof.texi
126 HEADERS = $(noinst_HEADERS)
128 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
129 aclocal.m4 configure configure.in gconfig.in stamp-h.in
132 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
136 SOURCES = $(gprof_SOURCES)
137 OBJECTS = $(gprof_OBJECTS)
142 .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo
143 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
146 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
150 $(ACLOCAL_M4): @MAINT@ configure.in
151 cd $(srcdir) && $(ACLOCAL)
153 config.status: $(srcdir)/configure
154 $(SHELL) ./config.status --recheck
155 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
156 cd $(srcdir) && $(AUTOCONF)
158 gconfig.h: stamp-h ; @:
159 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
161 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
162 $(SHELL) ./config.status
163 @echo timestamp > stamp-h
164 $(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
165 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
166 cd $(top_srcdir) && $(AUTOHEADER)
167 @echo timestamp > $(srcdir)/stamp-h.in
176 maintainer-clean-hdr:
178 mostlyclean-binPROGRAMS:
181 test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
183 distclean-binPROGRAMS:
185 maintainer-clean-binPROGRAMS:
187 install-binPROGRAMS: $(bin_PROGRAMS)
189 $(mkinstalldirs) $(bindir)
190 @list='$(bin_PROGRAMS)'; for p in $$list; do \
191 if test -f $$p; then \
192 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
193 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
197 uninstall-binPROGRAMS:
199 list='$(bin_PROGRAMS)'; for p in $$list; do \
200 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
220 maintainer-clean-compile:
223 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
225 # These are just copies of the above rule.
227 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
230 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
240 maintainer-clean-libtool:
242 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
243 @rm -f gprof$(EXEEXT)
244 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
246 gprof.info: gprof.texi
247 gprof.dvi: gprof.texi
253 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
254 $(MAKEINFO) -I $(srcdir) $<
257 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
258 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
261 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
262 $(MAKEINFO) -I $(srcdir) $<
265 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
266 $(MAKEINFO) -I $(srcdir) $<
269 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
270 $(MAKEINFO) -I $(srcdir) $<
273 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
274 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
278 install-info-am: $(INFO_DEPS)
280 $(mkinstalldirs) $(infodir)
281 @for file in $(INFO_DEPS); do \
282 if test -f $$file; then d=.; else d=$(srcdir); fi; \
283 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
284 if test -f $$d/$$ifile; then \
285 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
286 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
291 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
292 for file in $(INFO_DEPS); do \
293 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
294 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
300 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
303 for file in $(INFO_DEPS); do \
304 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
307 for file in $(INFO_DEPS); do \
308 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
311 dist-info: $(INFO_DEPS)
312 for base in $(INFO_DEPS); do \
313 if test -f $$base; then d=.; else d=$(srcdir); fi; \
314 for file in `cd $$d && eval echo $$base*`; do \
315 test -f $(distdir)/$$file \
316 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
317 || cp -p $$d/$$file $(distdir)/$$file; \
322 rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
323 gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
324 gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
330 maintainer-clean-aminfo:
331 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
332 clean-info: mostlyclean-aminfo
335 $(mkinstalldirs) $(mandir)/man1
337 inst=`echo "gprof" | sed '$(transform)'`.1; \
338 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
339 else file=gprof.1; fi; \
340 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
341 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
345 inst=`echo "gprof" | sed '$(transform)'`.1; \
346 rm -f $(mandir)/man1/$$inst
351 ID: $(HEADERS) $(SOURCES)
352 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
354 TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES)
357 test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \
358 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
367 maintainer-clean-tags:
369 distdir = $(PACKAGE)-$(VERSION)
370 top_distdir = $(distdir)
372 # This target untars the dist file and tries a VPATH configuration. Then
373 # it guarantees that the distribution is self-contained by making another
377 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
378 mkdir $(distdir)/=build
379 mkdir $(distdir)/=inst
380 dc_install_base=`cd $(distdir)/=inst && pwd`; \
381 cd $(distdir)/=build \
382 && ../configure --srcdir=.. --prefix=$$dc_install_base \
387 && $(MAKE) installcheck \
390 @echo "========================"; \
391 echo "$(distdir).tar.gz is ready for distribution"; \
392 echo "========================"
394 -chmod -R a+r $(distdir)
395 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
398 -chmod -R a+r $(distdir)
399 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
401 distdir: $(DISTFILES)
404 -chmod 777 $(distdir)
405 @for file in $(DISTFILES); do \
406 if test -f $$file; then d=.; else d=$(srcdir); fi; \
407 test -f $(distdir)/$$file \
408 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
409 || cp -p $$d/$$file $(distdir)/$$file; \
411 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
417 install-info: install-info-am
418 install-exec: install-binPROGRAMS
421 install-data: install-man
424 install: install-exec install-data all
427 uninstall: uninstall-binPROGRAMS uninstall-man
429 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
432 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
434 $(mkinstalldirs) $(bindir) $(mandir)/man1
438 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
441 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
444 rm -f Makefile $(DISTCLEANFILES)
445 rm -f config.cache config.log stamp-h stamp-h[0-9]*
446 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
448 maintainer-clean-generic:
449 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
450 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
451 mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
452 mostlyclean-compile mostlyclean-libtool \
453 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
455 clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
456 clean-aminfo clean-tags clean-generic mostlyclean
458 distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
459 distclean-libtool distclean-aminfo distclean-tags \
460 distclean-generic clean
464 maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
465 maintainer-clean-compile maintainer-clean-libtool \
466 maintainer-clean-aminfo maintainer-clean-tags \
467 maintainer-clean-generic distclean
468 @echo "This command is intended for maintainers to use;"
469 @echo "it deletes files that may require special tools to rebuild."
472 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
473 maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
474 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
475 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
476 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
477 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
478 mostlyclean-aminfo distclean-aminfo clean-aminfo \
479 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
480 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
481 installcheck install-info install-exec install-data install uninstall \
482 all installdirs mostlyclean-generic distclean-generic clean-generic \
483 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
487 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
488 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
489 FILE=$*.m $(srcdir)/$*.m
492 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
493 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
494 search_list.h source.h sym_ids.h symtab.h utils.h \
495 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
496 gconfig.h ../bfd/config.h
497 basic_blocks.o: basic_blocks.c
498 bsd_call_bl.o: bsd_call_bl.c
499 call_graph.o: call_graph.c
502 cg_print.o: cg_print.c
505 fsf_callg_bl.o: fsf_callg_bl.c
510 search_list.o: search_list.c
521 # Tell versions [3.59,3.63) of GNU make to not export all variables.
522 # Otherwise a system limit (for SysV at least) may be exceeded.