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