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