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