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