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