]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gprof/Makefile.in
Bump version to 2.11.90, fix missing dependencies in bfd/,
[thirdparty/binutils-gdb.git] / gprof / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 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 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AS = @AS@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CXX = @CXX@
71 CXXCPP = @CXXCPP@
72 DATADIRNAME = @DATADIRNAME@
73 DLLTOOL = @DLLTOOL@
74 EXEEXT = @EXEEXT@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
77 GMOFILES = @GMOFILES@
78 GMSGFMT = @GMSGFMT@
79 GT_NO = @GT_NO@
80 GT_YES = @GT_YES@
81 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
82 INSTOBJEXT = @INSTOBJEXT@
83 INTLDEPS = @INTLDEPS@
84 INTLLIBS = @INTLLIBS@
85 INTLOBJS = @INTLOBJS@
86 LIBTOOL = @LIBTOOL@
87 LN_S = @LN_S@
88 MAINT = @MAINT@
89 MAKEINFO = @MAKEINFO@
90 MKINSTALLDIRS = @MKINSTALLDIRS@
91 MSGFMT = @MSGFMT@
92 OBJDUMP = @OBJDUMP@
93 OBJEXT = @OBJEXT@
94 PACKAGE = @PACKAGE@
95 POFILES = @POFILES@
96 POSUB = @POSUB@
97 RANLIB = @RANLIB@
98 STRIP = @STRIP@
99 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
100 USE_NLS = @USE_NLS@
101 VERSION = @VERSION@
102 l = @l@
103
104 AUTOMAKE_OPTIONS = cygnus
105
106 SUFFIXES = .m
107
108 SUBDIRS = po
109
110 BASEDIR = $(srcdir)/..
111 BFDDIR = $(BASEDIR)/bfd
112 INCDIR = $(BASEDIR)/include
113
114 WARN_CFLAGS = @WARN_CFLAGS@
115 AM_CFLAGS = $(WARN_CFLAGS)
116
117 MKDEP = gcc -MM
118
119 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""
120
121 bin_PROGRAMS = gprof
122
123 sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
124 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
125 search_list.c symtab.c sym_ids.c utils.c \
126 i386.c alpha.c vax.c tahoe.c sparc.c
127
128 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
129 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
130 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
131
132 noinst_HEADERS = \
133 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
134 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
135 search_list.h source.h sym_ids.h symtab.h utils.h
136
137
138 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
139
140 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
141
142 POTFILES = $(sources) $(noinst_HEADERS)
143
144 info_TEXINFOS = gprof.texi
145 man_MANS = gprof.1
146
147 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
148 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
149 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
150 CONFIG_HEADER = gconfig.h
151 CONFIG_CLEAN_FILES =
152 bin_PROGRAMS = gprof$(EXEEXT)
153 PROGRAMS = $(bin_PROGRAMS)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir) -I.
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 LIBS = @LIBS@
160 gprof_OBJECTS = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
161 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
162 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) hertz.$(OBJEXT) \
163 hist.$(OBJEXT) source.$(OBJEXT) search_list.$(OBJEXT) symtab.$(OBJEXT) \
164 sym_ids.$(OBJEXT) utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) \
165 vax.$(OBJEXT) tahoe.$(OBJEXT) sparc.$(OBJEXT) flat_bl.$(OBJEXT) \
166 bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
167 gprof_LDFLAGS =
168 CFLAGS = @CFLAGS@
169 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
170 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
171 CCLD = $(CC)
172 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
173 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
174 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
175 INFO_DEPS = gprof.info
176 DVIS = gprof.dvi
177 TEXINFOS = gprof.texi
178 man1dir = $(mandir)/man1
179 MANS = $(man_MANS)
180
181 NROFF = nroff
182 HEADERS = $(noinst_HEADERS)
183
184 DIST_COMMON = ./stamp-h.in ChangeLog Makefile.am Makefile.in TODO \
185 acinclude.m4 aclocal.m4 configure configure.in gconfig.in
186
187
188 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
189
190 TAR = tar
191 GZIP_ENV = --best
192 SOURCES = $(gprof_SOURCES)
193 OBJECTS = $(gprof_OBJECTS)
194
195 all: all-redirect
196 .SUFFIXES:
197 .SUFFIXES: .S .c .dvi .info .lo .m .o .obj .ps .s .texi .texinfo .txi
198 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
199 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
200
201 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
202 cd $(top_builddir) \
203 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
204
205 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
206 cd $(srcdir) && $(ACLOCAL)
207
208 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
209 $(SHELL) ./config.status --recheck
210 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
211 cd $(srcdir) && $(AUTOCONF)
212
213 gconfig.h: stamp-h
214 @if test ! -f $@; then \
215 rm -f stamp-h; \
216 $(MAKE) stamp-h; \
217 else :; fi
218 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
219 cd $(top_builddir) \
220 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
221 $(SHELL) ./config.status
222 @echo timestamp > stamp-h 2> /dev/null
223 $(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
224 @if test ! -f $@; then \
225 rm -f $(srcdir)/stamp-h.in; \
226 $(MAKE) $(srcdir)/stamp-h.in; \
227 else :; fi
228 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
229 cd $(top_srcdir) && $(AUTOHEADER)
230 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
231
232 mostlyclean-hdr:
233
234 clean-hdr:
235
236 distclean-hdr:
237 -rm -f gconfig.h
238
239 maintainer-clean-hdr:
240
241 mostlyclean-binPROGRAMS:
242
243 clean-binPROGRAMS:
244 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
245
246 distclean-binPROGRAMS:
247
248 maintainer-clean-binPROGRAMS:
249
250 install-binPROGRAMS: $(bin_PROGRAMS)
251 @$(NORMAL_INSTALL)
252 $(mkinstalldirs) $(DESTDIR)$(bindir)
253 @list='$(bin_PROGRAMS)'; for p in $$list; do \
254 if test -f $$p; then \
255 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
256 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
257 else :; fi; \
258 done
259
260 uninstall-binPROGRAMS:
261 @$(NORMAL_UNINSTALL)
262 list='$(bin_PROGRAMS)'; for p in $$list; do \
263 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
264 done
265
266 .c.o:
267 $(COMPILE) -c $<
268
269 # FIXME: We should only use cygpath when building on Windows,
270 # and only if it is available.
271 .c.obj:
272 $(COMPILE) -c `cygpath -w $<`
273
274 .s.o:
275 $(COMPILE) -c $<
276
277 .S.o:
278 $(COMPILE) -c $<
279
280 mostlyclean-compile:
281 -rm -f *.o core *.core
282 -rm -f *.$(OBJEXT)
283
284 clean-compile:
285
286 distclean-compile:
287 -rm -f *.tab.c
288
289 maintainer-clean-compile:
290
291 .c.lo:
292 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
293
294 .s.lo:
295 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
296
297 .S.lo:
298 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
299
300 mostlyclean-libtool:
301 -rm -f *.lo
302
303 clean-libtool:
304 -rm -rf .libs _libs
305
306 distclean-libtool:
307
308 maintainer-clean-libtool:
309
310 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
311 @rm -f gprof$(EXEEXT)
312 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
313
314 gprof.info: gprof.texi
315 gprof.dvi: gprof.texi
316
317
318 DVIPS = dvips
319
320 .texi.info:
321 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
322 $(MAKEINFO) -I $(srcdir) $<
323
324 .texi.dvi:
325 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
326 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
327
328 .texi:
329 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
330 $(MAKEINFO) -I $(srcdir) $<
331
332 .texinfo.info:
333 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
334 $(MAKEINFO) -I $(srcdir) $<
335
336 .texinfo:
337 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
338 $(MAKEINFO) -I $(srcdir) $<
339
340 .texinfo.dvi:
341 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
342 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
343
344 .txi.info:
345 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
346 $(MAKEINFO) -I $(srcdir) $<
347
348 .txi.dvi:
349 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
350 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
351
352 .txi:
353 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
354 $(MAKEINFO) -I $(srcdir) $<
355 .dvi.ps:
356 $(DVIPS) $< -o $@
357
358 install-info-am: $(INFO_DEPS)
359 @$(NORMAL_INSTALL)
360 $(mkinstalldirs) $(DESTDIR)$(infodir)
361 @list='$(INFO_DEPS)'; \
362 for file in $$list; do \
363 if test -f $$file; then d=.; else d=$(srcdir); fi; \
364 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
365 if test -f $$d/$$ifile; then \
366 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
367 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
368 else : ; fi; \
369 done; \
370 done
371 @$(POST_INSTALL)
372 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
373 list='$(INFO_DEPS)'; \
374 for file in $$list; do \
375 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
376 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
377 done; \
378 else : ; fi
379
380 uninstall-info:
381 $(PRE_UNINSTALL)
382 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
383 ii=yes; \
384 else ii=; fi; \
385 list='$(INFO_DEPS)'; \
386 for file in $$list; do \
387 test -z "$ii" \
388 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
389 done
390 @$(NORMAL_UNINSTALL)
391 list='$(INFO_DEPS)'; \
392 for file in $$list; do \
393 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
394 done
395
396 dist-info: $(INFO_DEPS)
397 list='$(INFO_DEPS)'; \
398 for base in $$list; do \
399 if test -f $$base; then d=.; else d=$(srcdir); fi; \
400 for file in `cd $$d && eval echo $$base*`; do \
401 test -f $(distdir)/$$file \
402 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
403 || cp -p $$d/$$file $(distdir)/$$file; \
404 done; \
405 done
406
407 mostlyclean-aminfo:
408 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
409 gprof.ky gprof.kys gprof.ps gprof.log gprof.pg gprof.toc \
410 gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
411 gprof.cv gprof.cn
412
413 clean-aminfo:
414
415 distclean-aminfo:
416
417 maintainer-clean-aminfo:
418 for i in $(INFO_DEPS); do \
419 rm -f $$i; \
420 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
421 rm -f $$i-[0-9]*; \
422 fi; \
423 done
424 clean-info: mostlyclean-aminfo
425
426 install-man1:
427 $(mkinstalldirs) $(DESTDIR)$(man1dir)
428 @list='$(man1_MANS)'; \
429 l2='$(man_MANS)'; for i in $$l2; do \
430 case "$$i" in \
431 *.1*) list="$$list $$i" ;; \
432 esac; \
433 done; \
434 for i in $$list; do \
435 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
436 else file=$$i; fi; \
437 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
438 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
439 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
440 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
441 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
442 done
443
444 uninstall-man1:
445 @list='$(man1_MANS)'; \
446 l2='$(man_MANS)'; for i in $$l2; do \
447 case "$$i" in \
448 *.1*) list="$$list $$i" ;; \
449 esac; \
450 done; \
451 for i in $$list; do \
452 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
453 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
454 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
455 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
456 rm -f $(DESTDIR)$(man1dir)/$$inst; \
457 done
458 install-man: $(MANS)
459 @$(NORMAL_INSTALL)
460 $(MAKE) $(AM_MAKEFLAGS) install-man1
461 uninstall-man:
462 @$(NORMAL_UNINSTALL)
463 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
464
465 # This directory's subdirectories are mostly independent; you can cd
466 # into them and run `make' without going through this Makefile.
467 # To change the values of `make' variables: instead of editing Makefiles,
468 # (1) if the variable is set in `config.status', edit `config.status'
469 # (which will cause the Makefiles to be regenerated when you run `make');
470 # (2) otherwise, pass the desired values on the `make' command line.
471
472 @SET_MAKE@
473
474 all-recursive install-data-recursive install-exec-recursive \
475 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
476 check-recursive installcheck-recursive info-recursive dvi-recursive:
477 @set fnord $(MAKEFLAGS); amf=$$2; \
478 dot_seen=no; \
479 target=`echo $@ | sed s/-recursive//`; \
480 list='$(SUBDIRS)'; for subdir in $$list; do \
481 echo "Making $$target in $$subdir"; \
482 if test "$$subdir" = "."; then \
483 dot_seen=yes; \
484 local_target="$$target-am"; \
485 else \
486 local_target="$$target"; \
487 fi; \
488 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
489 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
490 done; \
491 if test "$$dot_seen" = "no"; then \
492 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
493 fi; test -z "$$fail"
494
495 mostlyclean-recursive clean-recursive distclean-recursive \
496 maintainer-clean-recursive:
497 @set fnord $(MAKEFLAGS); amf=$$2; \
498 dot_seen=no; \
499 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
500 rev="$$subdir $$rev"; \
501 test "$$subdir" = "." && dot_seen=yes; \
502 done; \
503 test "$$dot_seen" = "no" && rev=". $$rev"; \
504 target=`echo $@ | sed s/-recursive//`; \
505 for subdir in $$rev; do \
506 echo "Making $$target in $$subdir"; \
507 if test "$$subdir" = "."; then \
508 local_target="$$target-am"; \
509 else \
510 local_target="$$target"; \
511 fi; \
512 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
513 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
514 done && test -z "$$fail"
515 tags-recursive:
516 list='$(SUBDIRS)'; for subdir in $$list; do \
517 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
518 done
519
520 tags: TAGS
521
522 ID: $(HEADERS) $(SOURCES) $(LISP)
523 list='$(SOURCES) $(HEADERS)'; \
524 unique=`for i in $$list; do echo $$i; done | \
525 awk ' { files[$$0] = 1; } \
526 END { for (i in files) print i; }'`; \
527 here=`pwd` && cd $(srcdir) \
528 && mkid -f$$here/ID $$unique $(LISP)
529
530 TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
531 tags=; \
532 here=`pwd`; \
533 list='$(SUBDIRS)'; for subdir in $$list; do \
534 if test "$$subdir" = .; then :; else \
535 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
536 fi; \
537 done; \
538 list='$(SOURCES) $(HEADERS)'; \
539 unique=`for i in $$list; do echo $$i; done | \
540 awk ' { files[$$0] = 1; } \
541 END { for (i in files) print i; }'`; \
542 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
543 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
544
545 mostlyclean-tags:
546
547 clean-tags:
548
549 distclean-tags:
550 -rm -f TAGS ID
551
552 maintainer-clean-tags:
553
554 distdir = $(PACKAGE)-$(VERSION)
555 top_distdir = $(distdir)
556
557 # This target untars the dist file and tries a VPATH configuration. Then
558 # it guarantees that the distribution is self-contained by making another
559 # tarfile.
560 distcheck: dist
561 -rm -rf $(distdir)
562 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
563 mkdir $(distdir)/=build
564 mkdir $(distdir)/=inst
565 dc_install_base=`cd $(distdir)/=inst && pwd`; \
566 cd $(distdir)/=build \
567 && ../configure --srcdir=.. --prefix=$$dc_install_base \
568 && $(MAKE) $(AM_MAKEFLAGS) \
569 && $(MAKE) $(AM_MAKEFLAGS) dvi \
570 && $(MAKE) $(AM_MAKEFLAGS) check \
571 && $(MAKE) $(AM_MAKEFLAGS) install \
572 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
573 && $(MAKE) $(AM_MAKEFLAGS) dist
574 -rm -rf $(distdir)
575 @banner="$(distdir).tar.gz is ready for distribution"; \
576 dashes=`echo "$$banner" | sed s/./=/g`; \
577 echo "$$dashes"; \
578 echo "$$banner"; \
579 echo "$$dashes"
580 dist: distdir
581 -chmod -R a+r $(distdir)
582 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
583 -rm -rf $(distdir)
584 dist-all: distdir
585 -chmod -R a+r $(distdir)
586 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
587 -rm -rf $(distdir)
588 distdir: $(DISTFILES)
589 -rm -rf $(distdir)
590 mkdir $(distdir)
591 -chmod 777 $(distdir)
592 @for file in $(DISTFILES); do \
593 if test -f $$file; then d=.; else d=$(srcdir); fi; \
594 if test -d $$d/$$file; then \
595 cp -pr $$d/$$file $(distdir)/$$file; \
596 else \
597 test -f $(distdir)/$$file \
598 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
599 || cp -p $$d/$$file $(distdir)/$$file || :; \
600 fi; \
601 done
602 for subdir in $(SUBDIRS); do \
603 if test "$$subdir" = .; then :; else \
604 test -d $(distdir)/$$subdir \
605 || mkdir $(distdir)/$$subdir \
606 || exit 1; \
607 chmod 777 $(distdir)/$$subdir; \
608 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
609 || exit 1; \
610 fi; \
611 done
612 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
613 info-am: $(INFO_DEPS)
614 info: info-recursive
615 dvi-am: $(DVIS)
616 dvi: dvi-recursive
617 check-am:
618 check: check-recursive
619 installcheck-am:
620 installcheck: installcheck-recursive
621 install-info-am:
622 install-info: install-info-recursive
623 all-recursive-am: gconfig.h
624 $(MAKE) $(AM_MAKEFLAGS) all-recursive
625
626 install-exec-am: install-binPROGRAMS
627 install-exec: install-exec-recursive
628
629 install-data-am: install-man
630 install-data: install-data-recursive
631
632 install-am: all-am
633 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
634 install: install-recursive
635 uninstall-am: uninstall-binPROGRAMS uninstall-man
636 uninstall: uninstall-recursive
637 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
638 all-redirect: all-recursive-am
639 install-strip:
640 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
641 installdirs: installdirs-recursive
642 installdirs-am:
643 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
644
645
646 mostlyclean-generic:
647
648 clean-generic:
649 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
650
651 distclean-generic:
652 -rm -f Makefile $(CONFIG_CLEAN_FILES)
653 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
654
655 maintainer-clean-generic:
656 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
657 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
658 mostlyclean-compile mostlyclean-libtool \
659 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
660
661 mostlyclean: mostlyclean-recursive
662
663 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
664 clean-aminfo clean-tags clean-generic mostlyclean-am
665
666 clean: clean-recursive
667
668 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
669 distclean-libtool distclean-aminfo distclean-tags \
670 distclean-generic clean-am
671 -rm -f libtool
672
673 distclean: distclean-recursive
674 -rm -f config.status
675
676 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
677 maintainer-clean-compile maintainer-clean-libtool \
678 maintainer-clean-aminfo maintainer-clean-tags \
679 maintainer-clean-generic distclean-am
680 @echo "This command is intended for maintainers to use;"
681 @echo "it deletes files that may require special tools to rebuild."
682
683 maintainer-clean: maintainer-clean-recursive
684 -rm -f config.status
685
686 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
687 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
688 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
689 mostlyclean-compile distclean-compile clean-compile \
690 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
691 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
692 mostlyclean-aminfo distclean-aminfo clean-aminfo \
693 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
694 uninstall-man install-data-recursive uninstall-data-recursive \
695 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
696 uninstalldirs-recursive all-recursive check-recursive \
697 installcheck-recursive info-recursive dvi-recursive \
698 mostlyclean-recursive distclean-recursive clean-recursive \
699 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
700 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
701 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
702 install-info all-recursive-am install-exec-am install-exec \
703 install-data-am install-data install-am install uninstall-am uninstall \
704 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
705 distclean-generic clean-generic maintainer-clean-generic clean \
706 mostlyclean distclean maintainer-clean
707
708
709 diststuff: $(BUILT_SOURCES) info
710
711 .m.c:
712 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
713 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
714 FILE=$*.m $(srcdir)/$*.m
715 po/POTFILES.in: @MAINT@ Makefile
716 for file in $(POTFILES); do echo $$file; done | sort > tmp \
717 && mv tmp $(srcdir)/po/POTFILES.in
718
719 # Targets to rebuild dependencies in this Makefile.
720 # Have to get rid of DEP1 here so that "$?" later includes all sources.
721 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
722 rm -f DEP1
723 $(MAKE) MKDEP="$(MKDEP)" DEP1
724 sed -f dep.sed < DEP1 > DEPA
725 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
726 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
727 echo 'make DEP failed!'; exit 1; \
728 else \
729 mv -f DEPA $@; \
730 fi
731
732 DEP1: $(gprof_SOURCES)
733 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
734 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
735 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
736 mv -f DEP2 $@
737
738 dep.sed: dep-in.sed config.status
739 objdir=`pwd`; \
740 sed <$(srcdir)/dep-in.sed >dep.sed \
741 -e 's!@INCDIR@!$(INCDIR)!' \
742 -e 's!@BFDDIR@!$(BFDDIR)!' \
743 -e 's!@SRCDIR@!$(srcdir)!' \
744 -e "s!@OBJDIR@!$${objdir}!"
745
746 dep: DEP
747 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
748 cat DEP >> tmp-Makefile
749 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
750
751 dep-in: DEP
752 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
753 cat DEP >> tmp-Makefile.in
754 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
755
756 dep-am: DEP
757 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
758 cat DEP >> tmp-Makefile.am
759 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
760
761 .PHONY: dep dep-in dep-am
762
763 # DO NOT DELETE THIS LINE -- mkdep uses it.
764 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
765 basic_blocks.o: basic_blocks.c basic_blocks.h gprof.h \
766 $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h ../bfd/config.h \
767 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
768 $(INCDIR)/bin-bugs.h source.h search_list.h symtab.h \
769 ../bfd/bfd.h corefile.h gmon_io.h gmon.h gmon_out.h \
770 $(INCDIR)/libiberty.h sym_ids.h
771 call_graph.o: call_graph.c cg_arcs.h gprof.h $(INCDIR)/ansidecl.h \
772 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
773 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
774 symtab.h ../bfd/bfd.h source.h search_list.h call_graph.h \
775 corefile.h gmon_io.h gmon.h gmon_out.h sym_ids.h
776 cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
777 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
778 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
779 call_graph.h symtab.h ../bfd/bfd.h source.h search_list.h \
780 cg_arcs.h cg_dfn.h cg_print.h utils.h sym_ids.h
781 cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
782 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
783 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
784 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
785 cg_dfn.h utils.h
786 cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
787 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
788 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
789 $(INCDIR)/bin-bugs.h symtab.h ../bfd/bfd.h source.h \
790 search_list.h cg_print.h hist.h utils.h
791 corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
792 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
793 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
794 corefile.h ../bfd/bfd.h symtab.h source.h search_list.h
795 gmon_io.o: gmon_io.c cg_arcs.h gprof.h $(INCDIR)/ansidecl.h \
796 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
797 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
798 symtab.h ../bfd/bfd.h source.h search_list.h basic_blocks.h \
799 corefile.h call_graph.h gmon_io.h gmon.h gmon_out.h \
800 hertz.h hist.h $(INCDIR)/libiberty.h
801 gprof.o: gprof.c $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
802 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
803 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
804 $(INCDIR)/bin-bugs.h basic_blocks.h source.h search_list.h \
805 symtab.h ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
806 corefile.h gmon_io.h gmon.h hertz.h hist.h sym_ids.h \
807 $(INCDIR)/demangle.h
808 hertz.o: hertz.c hertz.h gprof.h $(INCDIR)/ansidecl.h \
809 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
810 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h
811 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
812 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
813 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
814 corefile.h ../bfd/bfd.h gmon_io.h gmon.h gmon_out.h \
815 hist.h symtab.h source.h search_list.h sym_ids.h utils.h
816 source.o: source.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
817 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
818 gconfig.h $(INCDIR)/bin-bugs.h $(INCDIR)/libiberty.h \
819 search_list.h source.h
820 search_list.o: search_list.c $(INCDIR)/libiberty.h \
821 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
822 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
823 $(INCDIR)/bin-bugs.h search_list.h
824 symtab.o: symtab.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
825 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
826 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
827 source.h search_list.h corefile.h
828 sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
829 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
830 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
831 $(INCDIR)/bin-bugs.h symtab.h ../bfd/bfd.h source.h \
832 search_list.h sym_ids.h
833 utils.o: utils.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
834 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
835 $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
836 source.h search_list.h
837 i386.o: i386.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
838 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
839 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
840 source.h search_list.h corefile.h hist.h
841 alpha.o: alpha.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
842 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
843 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
844 source.h search_list.h corefile.h hist.h
845 vax.o: vax.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
846 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
847 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
848 source.h search_list.h corefile.h hist.h
849 tahoe.o: tahoe.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
850 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
851 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
852 source.h search_list.h corefile.h hist.h
853 sparc.o: sparc.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
854 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
855 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
856 source.h search_list.h corefile.h hist.h
857 flat_bl.o: flat_bl.c
858 bsd_callg_bl.o: bsd_callg_bl.c
859 fsf_callg_bl.o: fsf_callg_bl.c
860 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
861
862 # Tell versions [3.59,3.63) of GNU make to not export all variables.
863 # Otherwise a system limit (for SysV at least) may be exceeded.
864 .NOEXPORT: