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