Remove ``-W -Wall'' from top-level Makefile/configure.
[deliverable/binutils-gdb.git] / gprof / Makefile.in
CommitLineData
a2d91340 1# Makefile.in generated automatically by automake 1.4 from Makefile.am
252b5132 2
a2d91340 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
252b5132
RH
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
a2d91340 13
252b5132
RH
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
a2d91340 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
252b5132
RH
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AS = @AS@
67CATALOGS = @CATALOGS@
68CATOBJEXT = @CATOBJEXT@
69CC = @CC@
70DATADIRNAME = @DATADIRNAME@
71DLLTOOL = @DLLTOOL@
72EXEEXT = @EXEEXT@
73GMOFILES = @GMOFILES@
74GMSGFMT = @GMSGFMT@
75GT_NO = @GT_NO@
76GT_YES = @GT_YES@
77INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
78INSTOBJEXT = @INSTOBJEXT@
79INTLDEPS = @INTLDEPS@
80INTLLIBS = @INTLLIBS@
81INTLOBJS = @INTLOBJS@
252b5132
RH
82LIBTOOL = @LIBTOOL@
83LN_S = @LN_S@
84MAINT = @MAINT@
85MAKEINFO = @MAKEINFO@
86MKINSTALLDIRS = @MKINSTALLDIRS@
87MSGFMT = @MSGFMT@
a2d91340 88OBJDUMP = @OBJDUMP@
252b5132
RH
89PACKAGE = @PACKAGE@
90POFILES = @POFILES@
91POSUB = @POSUB@
92RANLIB = @RANLIB@
93USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
94USE_NLS = @USE_NLS@
252b5132
RH
95VERSION = @VERSION@
96l = @l@
97
98AUTOMAKE_OPTIONS = cygnus
99
100SUFFIXES = .m
101
102SUBDIRS = po
103
41b49281
AM
104BASEDIR = $(srcdir)/..
105BFDDIR = $(BASEDIR)/bfd
106INCDIR = $(BASEDIR)/include
107
a2d91340
AC
108WARN_CFLAGS = @WARN_CFLAGS@
109AM_CFLAGS = $(WARN_CFLAGS)
110
41b49281
AM
111MKDEP = gcc -MM
112
113INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""
252b5132
RH
114
115bin_PROGRAMS = gprof
116
117sources = 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
122gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
123gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
124gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
125
126noinst_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
132EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
133
134BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
135
136POTFILES = $(sources) $(noinst_HEADERS)
137
138info_TEXINFOS = gprof.texi
139man_MANS = gprof.1
41b49281
AM
140
141CLEANFILES = dep.sed DEP DEP1 DEP2
252b5132
RH
142ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
143mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
144CONFIG_HEADER = gconfig.h
145CONFIG_CLEAN_FILES =
146bin_PROGRAMS = gprof$(EXEEXT)
147PROGRAMS = $(bin_PROGRAMS)
148
149
150DEFS = @DEFS@ -I. -I$(srcdir) -I.
151CPPFLAGS = @CPPFLAGS@
152LDFLAGS = @LDFLAGS@
153LIBS = @LIBS@
a2d91340 154gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
252b5132
RH
155cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o \
156search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o \
157sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
158gprof_LDFLAGS =
a2d91340 159CFLAGS = @CFLAGS@
252b5132
RH
160COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
161LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
162CCLD = $(CC)
a2d91340 163LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
252b5132
RH
164TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
165TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
166INFO_DEPS = gprof.info
167DVIS = gprof.dvi
168TEXINFOS = gprof.texi
169man1dir = $(mandir)/man1
170MANS = $(man_MANS)
171
172NROFF = nroff
173HEADERS = $(noinst_HEADERS)
174
a2d91340
AC
175DIST_COMMON = ./stamp-h.in ChangeLog Makefile.am Makefile.in TODO \
176aclocal.m4 configure configure.in gconfig.in
252b5132
RH
177
178
a2d91340 179DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
252b5132 180
a2d91340 181TAR = tar
252b5132
RH
182GZIP_ENV = --best
183SOURCES = $(gprof_SOURCES)
a2d91340 184OBJECTS = $(gprof_OBJECTS)
252b5132
RH
185
186all: all-redirect
187.SUFFIXES:
a2d91340 188.SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo .txi
252b5132
RH
189$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
190 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
191
192Makefile: $(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
199config.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
204gconfig.h: stamp-h
205 @if test ! -f $@; then \
206 rm -f stamp-h; \
207 $(MAKE) stamp-h; \
208 else :; fi
209stamp-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
a2d91340
AC
213 @echo timestamp > stamp-h 2> /dev/null
214$(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
252b5132 215 @if test ! -f $@; then \
a2d91340
AC
216 rm -f $(srcdir)/stamp-h.in; \
217 $(MAKE) $(srcdir)/stamp-h.in; \
252b5132 218 else :; fi
a2d91340 219$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
252b5132 220 cd $(top_srcdir) && $(AUTOHEADER)
a2d91340 221 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
252b5132
RH
222
223mostlyclean-hdr:
224
225clean-hdr:
226
227distclean-hdr:
228 -rm -f gconfig.h
229
230maintainer-clean-hdr:
231
232mostlyclean-binPROGRAMS:
233
234clean-binPROGRAMS:
235 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
236
237distclean-binPROGRAMS:
238
239maintainer-clean-binPROGRAMS:
240
241install-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 \
a2d91340
AC
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)/'`; \
252b5132
RH
248 else :; fi; \
249 done
250
251uninstall-binPROGRAMS:
252 @$(NORMAL_UNINSTALL)
a2d91340
AC
253 list='$(bin_PROGRAMS)'; for p in $$list; do \
254 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
252b5132
RH
255 done
256
a2d91340
AC
257.c.o:
258 $(COMPILE) -c $<
259
260.s.o:
261 $(COMPILE) -c $<
262
263.S.o:
264 $(COMPILE) -c $<
265
252b5132
RH
266mostlyclean-compile:
267 -rm -f *.o core *.core
268
269clean-compile:
270
271distclean-compile:
272 -rm -f *.tab.c
273
274maintainer-clean-compile:
275
a2d91340
AC
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
252b5132
RH
285mostlyclean-libtool:
286 -rm -f *.lo
287
288clean-libtool:
289 -rm -rf .libs _libs
290
291distclean-libtool:
292
293maintainer-clean-libtool:
294
295gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
296 @rm -f gprof$(EXEEXT)
297 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
298
299gprof.info: gprof.texi
300gprof.dvi: gprof.texi
301
302
303DVIPS = dvips
304
305.texi.info:
306 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
307 $(MAKEINFO) -I $(srcdir) $<
308
309.texi.dvi:
a2d91340 310 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
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:
a2d91340 326 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
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:
a2d91340 334 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
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
343install-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; \
a2d91340 349 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
252b5132
RH
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
365uninstall-info:
366 $(PRE_UNINSTALL)
367 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
a2d91340
AC
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
252b5132 375 @$(NORMAL_UNINSTALL)
a2d91340 376 list='$(INFO_DEPS)'; \
252b5132 377 for file in $$list; do \
a2d91340 378 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
252b5132
RH
379 done
380
381dist-info: $(INFO_DEPS)
382 list='$(INFO_DEPS)'; \
383 for base in $$list; do \
384 if test -f $$base; then d=.; else d=$(srcdir); fi; \
a2d91340 385 for file in `cd $$d && eval echo $$base*`; do \
252b5132 386 test -f $(distdir)/$$file \
a2d91340 387 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
252b5132
RH
388 || cp -p $$d/$$file $(distdir)/$$file; \
389 done; \
390 done
391
392mostlyclean-aminfo:
393 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
a2d91340
AC
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
252b5132
RH
397
398clean-aminfo:
399
400distclean-aminfo:
401
402maintainer-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
409clean-info: mostlyclean-aminfo
410
411install-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
429uninstall-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
443install-man: $(MANS)
444 @$(NORMAL_INSTALL)
445 $(MAKE) $(AM_MAKEFLAGS) install-man1
446uninstall-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
a2d91340
AC
457@SET_MAKE@
458
252b5132
RH
459all-recursive install-data-recursive install-exec-recursive \
460installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
461check-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
480mostlyclean-recursive clean-recursive distclean-recursive \
481maintainer-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"; \
a2d91340 486 test "$$subdir" = "." && dot_seen=yes; \
252b5132
RH
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"
500tags-recursive:
501 list='$(SUBDIRS)'; for subdir in $$list; do \
502 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
503 done
504
505tags: TAGS
506
a2d91340
AC
507ID: $(HEADERS) $(SOURCES) $(LISP)
508 list='$(SOURCES) $(HEADERS)'; \
509 unique=`for i in $$list; do echo $$i; done | \
510 awk ' { files[$$0] = 1; } \
252b5132 511 END { for (i in files) print i; }'`; \
a2d91340
AC
512 here=`pwd` && cd $(srcdir) \
513 && mkid -f$$here/ID $$unique $(LISP)
252b5132 514
a2d91340 515TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
252b5132
RH
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; \
a2d91340
AC
523 list='$(SOURCES) $(HEADERS)'; \
524 unique=`for i in $$list; do echo $$i; done | \
525 awk ' { files[$$0] = 1; } \
252b5132
RH
526 END { for (i in files) print i; }'`; \
527 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
a2d91340 528 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
252b5132
RH
529
530mostlyclean-tags:
531
532clean-tags:
533
534distclean-tags:
535 -rm -f TAGS ID
536
537maintainer-clean-tags:
538
539distdir = $(PACKAGE)-$(VERSION)
540top_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.
545distcheck: dist
a2d91340
AC
546 -rm -rf $(distdir)
547 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
252b5132
RH
548 mkdir $(distdir)/=build
549 mkdir $(distdir)/=inst
a2d91340
AC
550 dc_install_base=`cd $(distdir)/=inst && pwd`; \
551 cd $(distdir)/=build \
252b5132
RH
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 \
a2d91340
AC
558 && $(MAKE) $(AM_MAKEFLAGS) dist
559 -rm -rf $(distdir)
252b5132
RH
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"
565dist: distdir
a2d91340
AC
566 -chmod -R a+r $(distdir)
567 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
568 -rm -rf $(distdir)
252b5132 569dist-all: distdir
a2d91340
AC
570 -chmod -R a+r $(distdir)
571 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
572 -rm -rf $(distdir)
252b5132 573distdir: $(DISTFILES)
a2d91340 574 -rm -rf $(distdir)
252b5132 575 mkdir $(distdir)
a2d91340 576 -chmod 777 $(distdir)
252b5132
RH
577 @for file in $(DISTFILES); do \
578 if test -f $$file; then d=.; else d=$(srcdir); fi; \
579 if test -d $$d/$$file; then \
a2d91340 580 cp -pr $$d/$$file $(distdir)/$$file; \
252b5132
RH
581 else \
582 test -f $(distdir)/$$file \
a2d91340
AC
583 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
584 || cp -p $$d/$$file $(distdir)/$$file || :; \
252b5132
RH
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; \
a2d91340 592 chmod 777 $(distdir)/$$subdir; \
252b5132
RH
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
598info-am: $(INFO_DEPS)
599info: info-recursive
600dvi-am: $(DVIS)
601dvi: dvi-recursive
602check-am:
603check: check-recursive
604installcheck-am:
605installcheck: installcheck-recursive
606install-info-am:
607install-info: install-info-recursive
608all-recursive-am: gconfig.h
609 $(MAKE) $(AM_MAKEFLAGS) all-recursive
610
611install-exec-am: install-binPROGRAMS
612install-exec: install-exec-recursive
613
614install-data-am: install-man
615install-data: install-data-recursive
616
617install-am: all-am
618 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
619install: install-recursive
620uninstall-am: uninstall-binPROGRAMS uninstall-man
621uninstall: uninstall-recursive
622all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
623all-redirect: all-recursive-am
624install-strip:
a2d91340 625 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
252b5132
RH
626installdirs: installdirs-recursive
627installdirs-am:
628 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
629
630
631mostlyclean-generic:
632
633clean-generic:
41b49281 634 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
252b5132
RH
635
636distclean-generic:
637 -rm -f Makefile $(CONFIG_CLEAN_FILES)
638 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
639
640maintainer-clean-generic:
641 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
642mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
643 mostlyclean-compile mostlyclean-libtool \
644 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
645
646mostlyclean: mostlyclean-recursive
647
648clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
649 clean-aminfo clean-tags clean-generic mostlyclean-am
650
651clean: clean-recursive
652
653distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
654 distclean-libtool distclean-aminfo distclean-tags \
655 distclean-generic clean-am
656 -rm -f libtool
657
658distclean: distclean-recursive
659 -rm -f config.status
660
661maintainer-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
668maintainer-clean: maintainer-clean-recursive
669 -rm -f config.status
670
671.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
672mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
673maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
674mostlyclean-compile distclean-compile clean-compile \
675maintainer-clean-compile mostlyclean-libtool distclean-libtool \
676clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
677mostlyclean-aminfo distclean-aminfo clean-aminfo \
678maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
a2d91340
AC
679uninstall-man install-data-recursive uninstall-data-recursive \
680install-exec-recursive uninstall-exec-recursive installdirs-recursive \
681uninstalldirs-recursive all-recursive check-recursive \
682installcheck-recursive info-recursive dvi-recursive \
683mostlyclean-recursive distclean-recursive clean-recursive \
252b5132
RH
684maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
685distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
686dvi-am dvi check check-am installcheck-am installcheck install-info-am \
687install-info all-recursive-am install-exec-am install-exec \
688install-data-am install-data install-am install uninstall-am uninstall \
a2d91340
AC
689all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
690distclean-generic clean-generic maintainer-clean-generic clean \
691mostlyclean distclean maintainer-clean
252b5132
RH
692
693
694diststuff: $(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
700po/POTFILES.in: @MAINT@ Makefile
701 for file in $(POTFILES); do echo $$file; done | sort > tmp \
702 && mv tmp $(srcdir)/po/POTFILES.in
703
41b49281
AM
704# Targets to rebuild dependencies in this Makefile.
705# Have to get rid of DEP1 here so that "$?" later includes all sources.
706DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
707 rm -f DEP1
708 $(MAKE) MKDEP="$(MKDEP)" DEP1
709 sed -f dep.sed < DEP1 > $@
710 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
711
712DEP1: $(gprof_SOURCES)
713 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
714 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
715 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
716 mv -f DEP2 $@
717
718dep.sed: dep-in.sed config.status
719 objdir=`pwd`; \
720 sed <$(srcdir)/dep-in.sed >dep.sed \
721 -e 's!@INCDIR@!$(INCDIR)!' \
722 -e 's!@BFDDIR@!$(BFDDIR)!' \
723 -e 's!@SRCDIR@!$(srcdir)!' \
724 -e "s!@OBJDIR@!$${objdir}!"
725
726dep: DEP
727 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
728 cat DEP >> tmp-Makefile
729 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
730
731dep-in: DEP
732 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
733 cat DEP >> tmp-Makefile.in
734 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
735
736dep-am: DEP
737 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
738 cat DEP >> tmp-Makefile.am
739 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
740
741.PHONY: dep dep-in dep-am
742
743# DO NOT DELETE THIS LINE -- mkdep uses it.
744# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
745basic_blocks.o: basic_blocks.c basic_blocks.h gprof.h \
746 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
747 gconfig.h $(INCDIR)/bin-bugs.h source.h search_list.h \
748 symtab.h ../bfd/bfd.h corefile.h gmon_io.h gmon.h gmon_out.h \
749 $(INCDIR)/libiberty.h sym_ids.h
750call_graph.o: call_graph.c cg_arcs.h gprof.h $(BFDDIR)/sysdep.h \
751 ../bfd/config.h $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
752 symtab.h ../bfd/bfd.h source.h search_list.h call_graph.h \
753 corefile.h gmon_io.h gmon.h gmon_out.h sym_ids.h
754cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
755 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
756 gconfig.h $(INCDIR)/bin-bugs.h call_graph.h symtab.h \
757 ../bfd/bfd.h source.h search_list.h cg_arcs.h cg_dfn.h \
758 cg_print.h utils.h sym_ids.h
759cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
760 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
761 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
762 source.h search_list.h cg_dfn.h utils.h
763cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
764 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
765 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
766 symtab.h ../bfd/bfd.h source.h search_list.h cg_print.h \
767 hist.h utils.h
768corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
769 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
770 gconfig.h $(INCDIR)/bin-bugs.h corefile.h ../bfd/bfd.h \
771 symtab.h source.h search_list.h
772gmon_io.o: gmon_io.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 basic_blocks.h \
775 corefile.h call_graph.h gmon_io.h gmon.h gmon_out.h \
776 hertz.h hist.h $(INCDIR)/libiberty.h
777gprof.o: gprof.c $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
778 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
779 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
780 basic_blocks.h source.h search_list.h symtab.h ../bfd/bfd.h \
781 call_graph.h cg_arcs.h cg_print.h corefile.h gmon_io.h \
782 gmon.h hertz.h hist.h sym_ids.h
783hertz.o: hertz.c hertz.h gprof.h $(BFDDIR)/sysdep.h \
784 ../bfd/config.h $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h
785hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
786 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
787 gconfig.h $(INCDIR)/bin-bugs.h corefile.h ../bfd/bfd.h \
788 gmon_io.h gmon.h gmon_out.h hist.h symtab.h source.h \
789 search_list.h sym_ids.h utils.h
790source.o: source.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
791 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
792 $(INCDIR)/libiberty.h search_list.h source.h
793search_list.o: search_list.c $(INCDIR)/libiberty.h \
794 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
795 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
796 search_list.h
797symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
798 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
799 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
800 corefile.h
801sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
802 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
803 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
804 symtab.h ../bfd/bfd.h source.h search_list.h sym_ids.h
805utils.o: utils.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
806 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
807 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h
808i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
809 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
810 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
811 corefile.h hist.h
812alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
813 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
814 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
815 corefile.h hist.h
816vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
817 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
818 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
819 corefile.h hist.h
820tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
821 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
822 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
823 corefile.h hist.h
824sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
825 $(INCDIR)/fopen-same.h gconfig.h $(INCDIR)/bin-bugs.h \
826 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
827 corefile.h hist.h
252b5132 828flat_bl.o: flat_bl.c
41b49281 829bsd_callg_bl.o: bsd_callg_bl.c
252b5132 830fsf_callg_bl.o: fsf_callg_bl.c
41b49281 831# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
252b5132
RH
832
833# Tell versions [3.59,3.63) of GNU make to not export all variables.
834# Otherwise a system limit (for SysV at least) may be exceeded.
835.NOEXPORT:
This page took 0.074263 seconds and 4 git commands to generate.