1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996 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@
60 AUTOHEADER = @AUTOHEADER@
72 AUTOMAKE_OPTIONS = foreign
76 INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
78 LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
80 MY_TARGET = @MY_TARGET@
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 gprof_LDFLAGS = $(HLDFLAGS)
89 gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.a ../libiberty/libiberty.a
90 gprof_LDADD = $(MY_TARGET).o @BFDLIB@ ../libiberty/libiberty.a
93 alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \
94 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
95 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
96 search_list.h source.h sparc.h sym_ids.h symtab.h utils.h
99 alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \
100 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
101 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
103 info_TEXINFOS = gprof.texi
105 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
106 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
108 PROGRAMS = $(bin_PROGRAMS)
111 DEFS = @DEFS@ -I. -I$(srcdir)
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 \
120 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
121 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
122 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
123 INFO_DEPS = gprof.info
125 TEXINFOS = gprof.texi
129 HEADERS = $(noinst_HEADERS)
131 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO aclocal.m4 \
132 configure configure.in
135 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139 SOURCES = $(gprof_SOURCES)
140 OBJECTS = $(gprof_OBJECTS)
145 .SUFFIXES: .c .dvi .info .m .o .ps .texi .texinfo
146 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
147 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
149 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
151 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
153 $(ACLOCAL_M4): @MAINT@ configure.in
154 cd $(srcdir) && $(ACLOCAL)
156 config.status: $(srcdir)/configure
157 $(SHELL) ./config.status --recheck
158 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
159 cd $(srcdir) && $(AUTOCONF)
161 mostlyclean-binPROGRAMS:
164 @list='$(bin_PROGRAMS)'; for p in $$list; do \
165 rm -f $$p $$p$(EXEEXT); \
168 distclean-binPROGRAMS:
170 maintainer-clean-binPROGRAMS:
172 install-binPROGRAMS: $(bin_PROGRAMS)
174 $(mkinstalldirs) $(bindir)
175 @list='$(bin_PROGRAMS)'; for p in $$list; do \
176 if test -f $$p; then \
177 echo " $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT)"; \
178 $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \
182 uninstall-binPROGRAMS:
184 list='$(bin_PROGRAMS)'; for p in $$list; do \
185 rm -f $(bindir)/`echo $$p|sed '$(transform)'`$(EXEEXT); \
199 maintainer-clean-compile:
201 gprof: $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
202 @rm -f gprof$(EXEEXT)
203 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
204 @test -z "$(EXEEXT)" || echo timestamp > gprof
206 gprof.info: gprof.texi
207 gprof.dvi: gprof.texi
213 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
214 $(MAKEINFO) -I $(srcdir) $<
217 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
218 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
221 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
222 $(MAKEINFO) -I $(srcdir) $<
225 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
229 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
233 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
234 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
238 install-info-am: $(INFO_DEPS)
240 $(mkinstalldirs) $(infodir)
241 @for file in $(INFO_DEPS); do \
242 if test -f $$file; then d=.; else d=$(srcdir); fi; \
243 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
244 if test -f $$d/$$ifile; then \
245 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
246 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
251 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
252 for file in $(INFO_DEPS); do \
253 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
254 install-info --info-dir=$(infodir) $(infodir)/$$file; :;\
260 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
263 for file in $(INFO_DEPS); do \
264 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
267 for file in $(INFO_DEPS); do \
268 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
271 dist-info: $(INFO_DEPS)
272 for base in $(INFO_DEPS); do \
273 if test -f $$base; then d=.; else d=$(srcdir); fi; \
274 for file in `cd $$d && eval echo $$base*`; do \
275 test -f $(distdir)/$$file \
276 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
277 || cp -p $$d/$$file $(distdir)/$$file; \
282 rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
283 gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
284 gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
290 maintainer-clean-aminfo:
291 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
292 clean-info: mostlyclean-aminfo
295 $(mkinstalldirs) $(mandir)/man1
297 inst=`echo "gprof" | sed '$(transform)'`.1; \
298 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
299 else file=gprof.1; fi; \
300 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
301 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
305 inst=`echo "gprof" | sed '$(transform)'`.1; \
306 rm -f $(mandir)/man1/$$inst
311 ID: $(HEADERS) $(SOURCES)
312 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
314 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
317 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
318 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
327 maintainer-clean-tags:
329 distdir = $(PACKAGE)-$(VERSION)
330 top_distdir = $(distdir)
332 # This target untars the dist file and tries a VPATH configuration. Then
333 # it guarantees that the distribution is self-contained by making another
337 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
338 mkdir $(distdir)/=build
339 mkdir $(distdir)/=inst
340 dc_install_base=`cd $(distdir)/=inst && pwd`; \
341 cd $(distdir)/=build \
342 && ../configure --srcdir=.. --prefix=$$dc_install_base \
347 && $(MAKE) installcheck \
350 @echo "========================"; \
351 echo "$(distdir).tar.gz is ready for distribution"; \
352 echo "========================"
354 -chmod -R a+r $(distdir)
355 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
358 -chmod -R a+r $(distdir)
359 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
361 distdir: $(DISTFILES)
364 -chmod 777 $(distdir)
365 @for file in $(DISTFILES); do \
366 if test -f $$file; then d=.; else d=$(srcdir); fi; \
367 test -f $(distdir)/$$file \
368 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
369 || cp -p $$d/$$file $(distdir)/$$file; \
371 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
377 install-info: install-info-am
378 install-exec: install-binPROGRAMS
381 install-data: install-man
384 install: install-exec install-data all
387 uninstall: uninstall-binPROGRAMS uninstall-man
389 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
392 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
394 $(mkinstalldirs) $(bindir) $(mandir)/man1
398 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
401 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
404 rm -f Makefile $(DISTCLEANFILES)
405 rm -f config.cache config.log stamp-h stamp-h[0-9]*
406 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
408 maintainer-clean-generic:
409 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
410 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
411 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
412 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
414 clean: clean-binPROGRAMS clean-compile clean-aminfo clean-tags \
415 clean-generic mostlyclean
417 distclean: distclean-binPROGRAMS distclean-compile distclean-aminfo \
418 distclean-tags distclean-generic clean
421 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
422 maintainer-clean-aminfo maintainer-clean-tags \
423 maintainer-clean-generic distclean
424 @echo "This command is intended for maintainers to use;"
425 @echo "it deletes files that may require special tools to rebuild."
428 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
429 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
430 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
431 maintainer-clean-compile install-info-am uninstall-info \
432 mostlyclean-aminfo distclean-aminfo clean-aminfo \
433 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
434 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
435 installcheck install-info install-exec install-data install uninstall \
436 all installdirs mostlyclean-generic distclean-generic clean-generic \
437 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
441 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
442 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
443 FILE=$*.m $(srcdir)/$*.m
446 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
447 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
448 search_list.h source.h sym_ids.h symtab.h utils.h \
449 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
451 $(MY_TARGET).o: $(MY_TARGET).c
452 basic_blocks.o: basic_blocks.c
453 bsd_call_bl.o: bsd_call_bl.c
454 call_graph.o: call_graph.c
457 cg_print.o: cg_print.c
460 fsf_callg_bl.o: fsf_callg_bl.c
465 search_list.o: search_list.c
471 # Tell versions [3.59,3.63) of GNU make to not export all variables.
472 # Otherwise a system limit (for SysV at least) may be exceeded.