]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gprof/Makefile.in
* Makefile.in: Rebuild with automake 1.2e.
[thirdparty/binutils-gdb.git] / gprof / Makefile.in
1 # Makefile.in generated automatically by automake 1.2e from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38
39 top_builddir = .
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
51
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 build_alias = @build_alias@
59 build_triplet = @build@
60 host_alias = @host_alias@
61 host_triplet = @host@
62 target_alias = @target_alias@
63 target_triplet = @target@
64 CC = @CC@
65 EXEEXT = @EXEEXT@
66 LD = @LD@
67 LIBTOOL = @LIBTOOL@
68 LN_S = @LN_S@
69 MAINT = @MAINT@
70 MAKEINFO = @MAKEINFO@
71 NM = @NM@
72 PACKAGE = @PACKAGE@
73 RANLIB = @RANLIB@
74 VERSION = @VERSION@
75
76 AUTOMAKE_OPTIONS = cygnus
77
78 SUFFIXES = .m
79
80 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
81
82 bin_PROGRAMS = gprof
83
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
91
92 noinst_HEADERS = \
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
96
97 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
98
99 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
100
101 info_TEXINFOS = gprof.texi
102 man_MANS = gprof.1
103 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
104 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
105 CONFIG_HEADER = gconfig.h
106 CONFIG_CLEAN_FILES =
107 bin_PROGRAMS = gprof$(EXEEXT)
108 PROGRAMS = $(bin_PROGRAMS)
109
110
111 DEFS = @DEFS@ -I. -I$(srcdir) -I.
112 CPPFLAGS = @CPPFLAGS@
113 LDFLAGS = @LDFLAGS@
114 LIBS = @LIBS@
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
119 gprof_LDFLAGS =
120 CFLAGS = @CFLAGS@
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
127 DVIS = gprof.dvi
128 TEXINFOS = gprof.texi
129 MANS = gprof.1
130
131 NROFF = nroff
132 HEADERS = $(noinst_HEADERS)
133
134 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
135 aclocal.m4 configure configure.in gconfig.in stamp-h.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP = --best
142 SOURCES = $(gprof_SOURCES)
143 OBJECTS = $(gprof_OBJECTS)
144
145 default: all
146
147 .SUFFIXES:
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
151
152 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
153 cd $(top_builddir) \
154 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
155
156 $(ACLOCAL_M4): @MAINT@ configure.in
157 cd $(srcdir) && $(ACLOCAL)
158
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)
163
164 gconfig.h: stamp-h
165 @:
166 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
167 cd $(top_builddir) \
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
175
176 mostlyclean-hdr:
177
178 clean-hdr:
179
180 distclean-hdr:
181 -rm -f gconfig.h
182
183 maintainer-clean-hdr:
184
185 mostlyclean-binPROGRAMS:
186
187 clean-binPROGRAMS:
188 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
189
190 distclean-binPROGRAMS:
191
192 maintainer-clean-binPROGRAMS:
193
194 install-binPROGRAMS: $(bin_PROGRAMS)
195 @$(NORMAL_INSTALL)
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)'`; \
201 else :; fi; \
202 done
203
204 uninstall-binPROGRAMS:
205 $(NORMAL_UNINSTALL)
206 list='$(bin_PROGRAMS)'; for p in $$list; do \
207 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
208 done
209
210 .c.o:
211 $(COMPILE) -c $<
212
213 .s.o:
214 $(COMPILE) -c $<
215
216 .S.o:
217 $(COMPILE) -c $<
218
219 mostlyclean-compile:
220 -rm -f *.o core *.core
221
222 clean-compile:
223
224 distclean-compile:
225 -rm -f *.tab.c
226
227 maintainer-clean-compile:
228
229 .c.lo:
230 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
231
232 .s.lo:
233 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
234
235 .S.lo:
236 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
237
238 mostlyclean-libtool:
239 -rm -f *.lo
240
241 clean-libtool:
242 -rm -rf .libs _libs
243
244 distclean-libtool:
245
246 maintainer-clean-libtool:
247
248 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
249 @rm -f gprof$(EXEEXT)
250 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
251
252 gprof.info: gprof.texi
253 gprof.dvi: gprof.texi
254
255
256 DVIPS = dvips
257
258 .texi.info:
259 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
260 $(MAKEINFO) -I $(srcdir) $<
261
262 .texi.dvi:
263 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
264 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
265
266 .texi:
267 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
268 $(MAKEINFO) -I $(srcdir) $<
269
270 .texinfo.info:
271 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
272 $(MAKEINFO) -I $(srcdir) $<
273
274 .texinfo:
275 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
276 $(MAKEINFO) -I $(srcdir) $<
277
278 .texinfo.dvi:
279 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
280 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
281 .dvi.ps:
282 $(DVIPS) $< -o $@
283
284 install-info-am: $(INFO_DEPS)
285 @$(NORMAL_INSTALL)
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; \
293 else : ; fi; \
294 done; \
295 done
296 @$(POST_INSTALL)
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 || :;\
301 done; \
302 else : ; fi
303
304 uninstall-info:
305 $(PRE_UNINSTALL)
306 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
307 ii=yes; \
308 else ii=; fi; \
309 for file in $(INFO_DEPS); do \
310 test -z "$ii" \
311 || install-info --info-dir=$(infodir) --remove $$file; \
312 done
313 $(NORMAL_UNINSTALL)
314 for file in $(INFO_DEPS); do \
315 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
316 done
317
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; \
325 done; \
326 done
327
328 mostlyclean-aminfo:
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 \
332 gprof.cv gprof.cn
333
334 clean-aminfo:
335
336 distclean-aminfo:
337
338 maintainer-clean-aminfo:
339 for i in $(INFO_DEPS); do \
340 rm -f $$i; \
341 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
342 rm -f $$i-[0-9]*; \
343 fi; \
344 done
345 clean-info: mostlyclean-aminfo
346 install-man: $(MANS)
347 $(NORMAL_INSTALL)
348 $(mkinstalldirs) $(mandir)/man1
349 @sect=1; \
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
355
356 uninstall-man:
357 $(NORMAL_UNINSTALL)
358 -inst=`echo "gprof" | sed '$(transform)'`.1; \
359 rm -f $(mandir)/man1/$$inst
360
361
362 tags: TAGS
363
364 ID: $(HEADERS) $(SOURCES) $(LISP)
365 here=`pwd` && cd $(srcdir) \
366 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
367
368 TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
369 tags=; \
370 here=`pwd`; \
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)
377
378 mostlyclean-tags:
379
380 clean-tags:
381
382 distclean-tags:
383 -rm -f TAGS ID
384
385 maintainer-clean-tags:
386
387 distdir = $(PACKAGE)-$(VERSION)
388 top_distdir = $(distdir)
389
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
392 # tarfile.
393 distcheck: dist
394 -rm -rf $(distdir)
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 \
401 && $(MAKE) \
402 && $(MAKE) dvi \
403 && $(MAKE) check \
404 && $(MAKE) install \
405 && $(MAKE) installcheck \
406 && $(MAKE) dist
407 -rm -rf $(distdir)
408 @echo "========================"; \
409 echo "$(distdir).tar.gz is ready for distribution"; \
410 echo "========================"
411 dist: distdir
412 -chmod -R a+r $(distdir)
413 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
414 -rm -rf $(distdir)
415 dist-all: distdir
416 -chmod -R a+r $(distdir)
417 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
418 -rm -rf $(distdir)
419 distdir: $(DISTFILES)
420 -rm -rf $(distdir)
421 mkdir $(distdir)
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; \
428 done
429 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
430 info: $(INFO_DEPS)
431 dvi: $(DVIS)
432 check:
433 $(MAKE)
434 installcheck:
435 install-info: install-info-am
436 install-exec: install-binPROGRAMS
437 @$(NORMAL_INSTALL)
438
439 install-data: install-man
440 @$(NORMAL_INSTALL)
441
442 install: install-exec install-data all
443 @:
444
445 uninstall: uninstall-binPROGRAMS uninstall-man
446
447 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
448
449 install-strip:
450 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
451 installdirs:
452 $(mkinstalldirs) $(bindir) $(mandir)/man1
453
454
455 mostlyclean-generic:
456 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
457
458 clean-generic:
459 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
460
461 distclean-generic:
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)
465
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
472
473 clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
474 clean-aminfo clean-tags clean-generic mostlyclean
475
476 distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
477 distclean-libtool distclean-aminfo distclean-tags \
478 distclean-generic clean
479 -rm -f config.status
480 -rm -f libtool
481
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."
488 -rm -f config.status
489
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
502
503
504 .m.c:
505 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
506 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
507 FILE=$*.m $(srcdir)/$*.m
508
509 # Dependencies.
510 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
511 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
512 search_list.h source.h sym_ids.h symtab.h utils.h \
513 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
514 gconfig.h ../bfd/config.h
515 basic_blocks.o: basic_blocks.c
516 bsd_call_bl.o: bsd_call_bl.c
517 call_graph.o: call_graph.c
518 cg_arcs.o: cg_arcs.c
519 cg_dfn.o: cg_dfn.c
520 cg_print.o: cg_print.c
521 core.o: core.c
522 flat_bl.o: flat_bl.c
523 fsf_callg_bl.o: fsf_callg_bl.c
524 gmon_io.o: gmon_io.c
525 gprof.o: gprof.c
526 hertz.o: hertz.c
527 hist.o: hist.c
528 search_list.o: search_list.c
529 source.o: source.c
530 symtab.o: symtab.c
531 sym_ids.o: sym_ids.c
532 utils.o: utils.c
533 i386.o: i386.c
534 alpha.o: alpha.c
535 vax.o: vax.c
536 tahoe.o: tahoe.c
537 sparc.o: sparc.c
538
539 # Tell versions [3.59,3.63) of GNU make to not export all variables.
540 # Otherwise a system limit (for SysV at least) may be exceeded.
541 .NOEXPORT: