source: trunk/src/binutils/gprof/Makefile.in@ 1036

Last change on this file since 1036 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

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