]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gprof/Makefile.in
* coffgen.c (coff_get_normalized_symtab): Correct cast.
[thirdparty/binutils-gdb.git] / gprof / Makefile.in
CommitLineData
20e95c23 1# Makefile.in generated by automake 1.9.6 from Makefile.am.
6bf9431b 2# @configure_input@
252b5132 3
6bf9431b 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2dadb5f9 5# 2003, 2004, 2005 Free Software Foundation, Inc.
252b5132
RH
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
6bf9431b 15@SET_MAKE@
a2d91340 16
6bf9431b 17
252b5132
RH
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@
252b5132
RH
21pkgdatadir = $(datadir)/@PACKAGE@
22pkglibdir = $(libdir)/@PACKAGE@
23pkgincludedir = $(includedir)/@PACKAGE@
252b5132 24top_builddir = .
6bf9431b 25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
252b5132 26INSTALL = @INSTALL@
6bf9431b
BE
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
252b5132
RH
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
df76639a 38build_triplet = @build@
252b5132 39host_triplet = @host@
df76639a 40target_triplet = @target@
6bf9431b
BE
41bin_PROGRAMS = gprof$(EXEEXT)
42DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub README \
43 ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
44 $(top_srcdir)/configure $(am__configure_deps) \
45 $(srcdir)/gconfig.in $(srcdir)/../mkinstalldirs \
46 $(top_srcdir)/po/Make-in $(srcdir)/../ltmain.sh \
47 $(srcdir)/../config.guess $(srcdir)/../config.sub \
37d037c1 48 $(gprof_TEXINFOS) $(noinst_HEADERS)
6bf9431b
BE
49subdir = .
50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79887925
L
51am__aclocal_m4_deps = $(top_srcdir)/../bfd/warning.m4 \
52 $(top_srcdir)/../config/depstand.m4 \
20e95c23 53 $(top_srcdir)/../config/gettext-sister.m4 \
79887925 54 $(top_srcdir)/../config/lead-dot.m4 \
20e95c23
DJ
55 $(top_srcdir)/../config/nls.m4 $(top_srcdir)/../config/po.m4 \
56 $(top_srcdir)/../config/progtest.m4 \
79887925
L
57 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
58 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
59 $(top_srcdir)/configure.in
6bf9431b
BE
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4)
62am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
63 configure.lineno configure.status.lineno
64mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
65CONFIG_HEADER = gconfig.h
66CONFIG_CLEAN_FILES = po/Makefile.in
67am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
68binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
69PROGRAMS = $(bin_PROGRAMS)
70am__objects_1 = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
71 cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
72 corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) \
73 hertz.$(OBJEXT) hist.$(OBJEXT) source.$(OBJEXT) \
74 search_list.$(OBJEXT) symtab.$(OBJEXT) sym_ids.$(OBJEXT) \
75 utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) vax.$(OBJEXT) \
76 tahoe.$(OBJEXT) sparc.$(OBJEXT) mips.$(OBJEXT)
77am_gprof_OBJECTS = $(am__objects_1) flat_bl.$(OBJEXT) \
78 bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
79gprof_OBJECTS = $(am_gprof_OBJECTS)
80am__DEPENDENCIES_1 =
81DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
82depcomp =
83am__depfiles_maybe =
84COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
85 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
d7040cdb 86LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
6bf9431b
BE
87 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
88 $(AM_CFLAGS) $(CFLAGS)
89CCLD = $(CC)
d7040cdb 90LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
6bf9431b
BE
91 $(AM_LDFLAGS) $(LDFLAGS) -o $@
92SOURCES = $(gprof_SOURCES)
d5fbea21 93INFO_DEPS = gprof.info
6bf9431b
BE
94TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
95am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
96DVIS = gprof.dvi
97PDFS = gprof.pdf
98PSS = gprof.ps
99HTMLS = gprof.html
100TEXINFOS = gprof.texi
6bf9431b
BE
101TEXI2PDF = $(TEXI2DVI) --pdf --batch
102MAKEINFOHTML = $(MAKEINFO) --html
103AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
104DVIPS = dvips
105RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
106 html-recursive info-recursive install-data-recursive \
107 install-exec-recursive install-info-recursive \
108 install-recursive installcheck-recursive installdirs-recursive \
109 pdf-recursive ps-recursive uninstall-info-recursive \
110 uninstall-recursive
111man1dir = $(mandir)/man1
112NROFF = nroff
113MANS = $(man_MANS)
114HEADERS = $(noinst_HEADERS)
115ETAGS = etags
116CTAGS = ctags
117DIST_SUBDIRS = $(SUBDIRS)
118ACLOCAL = @ACLOCAL@
6bf9431b
BE
119AMDEP_FALSE = @AMDEP_FALSE@
120AMDEP_TRUE = @AMDEP_TRUE@
121AMTAR = @AMTAR@
d7040cdb 122AR = @AR@
6bf9431b
BE
123AUTOCONF = @AUTOCONF@
124AUTOHEADER = @AUTOHEADER@
125AUTOMAKE = @AUTOMAKE@
126AWK = @AWK@
252b5132
RH
127CATALOGS = @CATALOGS@
128CATOBJEXT = @CATOBJEXT@
129CC = @CC@
6bf9431b
BE
130CCDEPMODE = @CCDEPMODE@
131CFLAGS = @CFLAGS@
132CPP = @CPP@
133CPPFLAGS = @CPPFLAGS@
134CYGPATH_W = @CYGPATH_W@
252b5132 135DATADIRNAME = @DATADIRNAME@
6bf9431b
BE
136DEFS = @DEFS@
137DEPDIR = @DEPDIR@
d7040cdb 138DUMPBIN = @DUMPBIN@
6bf9431b
BE
139ECHO_C = @ECHO_C@
140ECHO_N = @ECHO_N@
141ECHO_T = @ECHO_T@
142EGREP = @EGREP@
252b5132 143EXEEXT = @EXEEXT@
d7040cdb 144FGREP = @FGREP@
20e95c23 145GENCAT = @GENCAT@
d5fbea21
DJ
146GENINSRC_NEVER_FALSE = @GENINSRC_NEVER_FALSE@
147GENINSRC_NEVER_TRUE = @GENINSRC_NEVER_TRUE@
252b5132 148GMSGFMT = @GMSGFMT@
d7040cdb 149GREP = @GREP@
20e95c23 150INCINTL = @INCINTL@
6bf9431b
BE
151INSTALL_DATA = @INSTALL_DATA@
152INSTALL_PROGRAM = @INSTALL_PROGRAM@
153INSTALL_SCRIPT = @INSTALL_SCRIPT@
154INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
252b5132 155INSTOBJEXT = @INSTOBJEXT@
d7040cdb 156LD = @LD@
6bf9431b 157LDFLAGS = @LDFLAGS@
20e95c23
DJ
158LIBINTL = @LIBINTL@
159LIBINTL_DEP = @LIBINTL_DEP@
6bf9431b
BE
160LIBOBJS = @LIBOBJS@
161LIBS = @LIBS@
252b5132
RH
162LIBTOOL = @LIBTOOL@
163LN_S = @LN_S@
6bf9431b 164LTLIBOBJS = @LTLIBOBJS@
252b5132 165MAINT = @MAINT@
6bf9431b
BE
166MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
167MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
252b5132
RH
168MAKEINFO = @MAKEINFO@
169MKINSTALLDIRS = @MKINSTALLDIRS@
170MSGFMT = @MSGFMT@
20e95c23 171MSGMERGE = @MSGMERGE@
d7040cdb 172NM = @NM@
9e9b66a9 173NO_WERROR = @NO_WERROR@
18e03609 174OBJEXT = @OBJEXT@
252b5132 175PACKAGE = @PACKAGE@
6bf9431b
BE
176PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
177PACKAGE_NAME = @PACKAGE_NAME@
178PACKAGE_STRING = @PACKAGE_STRING@
179PACKAGE_TARNAME = @PACKAGE_TARNAME@
180PACKAGE_VERSION = @PACKAGE_VERSION@
181PATH_SEPARATOR = @PATH_SEPARATOR@
252b5132
RH
182POSUB = @POSUB@
183RANLIB = @RANLIB@
d7040cdb 184SED = @SED@
6bf9431b
BE
185SET_MAKE = @SET_MAKE@
186SHELL = @SHELL@
18e03609 187STRIP = @STRIP@
252b5132 188USE_NLS = @USE_NLS@
252b5132 189VERSION = @VERSION@
6bf9431b
BE
190WARN_CFLAGS = @WARN_CFLAGS@
191XGETTEXT = @XGETTEXT@
ae351704 192ac_ct_AR = @ac_ct_AR@
6bf9431b 193ac_ct_CC = @ac_ct_CC@
d7040cdb 194ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ae351704
AM
195ac_ct_RANLIB = @ac_ct_RANLIB@
196ac_ct_STRIP = @ac_ct_STRIP@
6bf9431b
BE
197am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
198am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
199am__include = @am__include@
200am__leading_dot = @am__leading_dot@
201am__quote = @am__quote@
df76639a
AM
202am__tar = @am__tar@
203am__untar = @am__untar@
6bf9431b
BE
204bindir = @bindir@
205build = @build@
206build_alias = @build_alias@
207build_cpu = @build_cpu@
208build_os = @build_os@
209build_vendor = @build_vendor@
210datadir = @datadir@
108a6f8e
CD
211datarootdir = @datarootdir@
212docdir = @docdir@
6bf9431b
BE
213exec_prefix = @exec_prefix@
214host = @host@
215host_alias = @host_alias@
216host_cpu = @host_cpu@
217host_os = @host_os@
218host_vendor = @host_vendor@
108a6f8e 219htmldir = @htmldir@
6bf9431b
BE
220includedir = @includedir@
221infodir = @infodir@
222install_sh = @install_sh@
6bf9431b
BE
223libdir = @libdir@
224libexecdir = @libexecdir@
225localstatedir = @localstatedir@
d7040cdb 226lt_ECHO = @lt_ECHO@
6bf9431b
BE
227mandir = @mandir@
228mkdir_p = @mkdir_p@
229oldincludedir = @oldincludedir@
230prefix = @prefix@
231program_transform_name = @program_transform_name@
232sbindir = @sbindir@
233sharedstatedir = @sharedstatedir@
234sysconfdir = @sysconfdir@
235target = @target@
236target_alias = @target_alias@
237target_cpu = @target_cpu@
238target_os = @target_os@
239target_vendor = @target_vendor@
252b5132 240AUTOMAKE_OPTIONS = cygnus
79887925 241ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
252b5132 242SUFFIXES = .m
252b5132 243SUBDIRS = po
41b49281
AM
244BASEDIR = $(srcdir)/..
245BFDDIR = $(BASEDIR)/bfd
246INCDIR = $(BASEDIR)/include
a2d91340 247AM_CFLAGS = $(WARN_CFLAGS)
41b49281 248MKDEP = gcc -MM
92f01d61
JM
249INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include \
250 -I$(srcdir)/../bfd @INCINTL@ -I. \
92f01d61
JM
251 -DLOCALEDIR="\"$(datadir)/locale\""
252
252b5132
RH
253sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
254 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
255 search_list.c symtab.c sym_ids.c utils.c \
ec0806ec 256 i386.c alpha.c vax.c tahoe.c sparc.c mips.c
252b5132
RH
257
258gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
20e95c23
DJ
259gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL_DEP)
260gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL)
252b5132
RH
261noinst_HEADERS = \
262 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
263 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
264 search_list.h source.h sym_ids.h symtab.h utils.h
265
252b5132 266BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
c45021f2 267EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
252b5132 268POTFILES = $(sources) $(noinst_HEADERS)
40f90528 269MANCONF = -Dman
e49e529d 270TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
40f90528 271POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
252b5132 272info_TEXINFOS = gprof.texi
37d037c1 273gprof_TEXINFOS = config.texi
252b5132 274man_MANS = gprof.1
e49e529d
JM
275AM_MAKEINFOFLAGS = -I "$(srcdir)" -I ../bfd/doc
276TEXI2DVI = texi2dvi -I "$(srcdir)" -I ../bfd/doc
108a6f8e 277html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
0bdaf48b 278CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
d5fbea21
DJ
279MAINTAINERCLEANFILES = gprof.info
280
281# Automake 1.9 will only build info files in the objdir if they are
282# mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
283# though, so we use a bogus condition.
284@GENINSRC_NEVER_TRUE@DISTCLEANFILES = gprof.info
6bf9431b
BE
285all: $(BUILT_SOURCES) gconfig.h
286 $(MAKE) $(AM_MAKEFLAGS) all-recursive
252b5132 287
252b5132 288.SUFFIXES:
d5fbea21 289.SUFFIXES: .m .c .dvi .lo .o .obj .ps
6bf9431b
BE
290am--refresh:
291 @:
292$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
293 @for dep in $?; do \
294 case '$(am__configure_deps)' in \
295 *$$dep*) \
3289fe0c
NC
296 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
297 cd $(srcdir) && $(AUTOMAKE) --foreign \
6bf9431b
BE
298 && exit 0; \
299 exit 1;; \
300 esac; \
301 done; \
3289fe0c 302 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
6bf9431b 303 cd $(top_srcdir) && \
3289fe0c 304 $(AUTOMAKE) --foreign Makefile
6bf9431b 305.PRECIOUS: Makefile
2dadb5f9
AM
306Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
307 @case '$?' in \
308 *config.status*) \
309 echo ' $(SHELL) ./config.status'; \
310 $(SHELL) ./config.status;; \
311 *) \
312 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
313 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
314 esac;
252b5132 315
6bf9431b 316$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
252b5132 317 $(SHELL) ./config.status --recheck
6bf9431b
BE
318
319$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
252b5132 320 cd $(srcdir) && $(AUTOCONF)
6bf9431b
BE
321$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
322 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
252b5132 323
6bf9431b 324gconfig.h: stamp-h1
252b5132 325 @if test ! -f $@; then \
6bf9431b
BE
326 rm -f stamp-h1; \
327 $(MAKE) stamp-h1; \
252b5132 328 else :; fi
252b5132 329
6bf9431b
BE
330stamp-h1: $(srcdir)/gconfig.in $(top_builddir)/config.status
331 @rm -f stamp-h1
332 cd $(top_builddir) && $(SHELL) ./config.status gconfig.h
333$(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
334 cd $(top_srcdir) && $(AUTOHEADER)
335 rm -f stamp-h1
336 touch $@
252b5132
RH
337
338distclean-hdr:
6bf9431b
BE
339 -rm -f gconfig.h stamp-h1
340po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
341 cd $(top_builddir) && $(SHELL) ./config.status $@
252b5132
RH
342install-binPROGRAMS: $(bin_PROGRAMS)
343 @$(NORMAL_INSTALL)
6bf9431b 344 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
252b5132 345 @list='$(bin_PROGRAMS)'; for p in $$list; do \
6bf9431b
BE
346 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
347 if test -f $$p \
348 || test -f $$p1 \
349 ; then \
350 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
351 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
352 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
252b5132
RH
353 else :; fi; \
354 done
355
356uninstall-binPROGRAMS:
357 @$(NORMAL_UNINSTALL)
6bf9431b
BE
358 @list='$(bin_PROGRAMS)'; for p in $$list; do \
359 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
360 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
361 rm -f "$(DESTDIR)$(bindir)/$$f"; \
252b5132
RH
362 done
363
6bf9431b
BE
364clean-binPROGRAMS:
365 @list='$(bin_PROGRAMS)'; for p in $$list; do \
366 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
367 echo " rm -f $$p $$f"; \
368 rm -f $$p $$f ; \
369 done
370gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
371 @rm -f gprof$(EXEEXT)
372 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
a2d91340 373
252b5132 374mostlyclean-compile:
18e03609 375 -rm -f *.$(OBJEXT)
252b5132 376
252b5132
RH
377distclean-compile:
378 -rm -f *.tab.c
379
6bf9431b
BE
380.c.o:
381 $(COMPILE) -c $<
a2d91340 382
6bf9431b
BE
383.c.obj:
384 $(COMPILE) -c `$(CYGPATH_W) '$<'`
a2d91340 385
6bf9431b
BE
386.c.lo:
387 $(LTCOMPILE) -c -o $@ $<
a2d91340 388
252b5132
RH
389mostlyclean-libtool:
390 -rm -f *.lo
391
392clean-libtool:
393 -rm -rf .libs _libs
394
395distclean-libtool:
6bf9431b 396 -rm -f libtool
252b5132 397
37d037c1
DJ
398gprof.info: gprof.texi $(gprof_TEXINFOS)
399 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
400 rm -rf $$backupdir && mkdir $$backupdir && \
401 if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
402 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
403 if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
404 done; \
405 else :; fi && \
406 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
407 -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi; \
408 then \
409 rc=0; \
410 else \
411 rc=$$?; \
412 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
413 fi; \
414 rm -rf $$backupdir; exit $$rc
415
416gprof.dvi: gprof.texi $(gprof_TEXINFOS)
6bf9431b
BE
417 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
418 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
d5fbea21 419 $(TEXI2DVI) -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi
6bf9431b 420
37d037c1 421gprof.pdf: gprof.texi $(gprof_TEXINFOS)
6bf9431b
BE
422 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
423 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
d5fbea21 424 $(TEXI2PDF) -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi
6bf9431b 425
37d037c1 426gprof.html: gprof.texi $(gprof_TEXINFOS)
df76639a
AM
427 rm -rf $(@:.html=.htp)
428 if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
d5fbea21 429 -o $(@:.html=.htp) `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi; \
df76639a
AM
430 then \
431 rm -rf $@; \
432 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
433 mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
434 else \
435 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
436 rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
437 exit 1; \
438 fi
252b5132 439.dvi.ps:
20e95c23 440 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
6bf9431b 441 $(DVIPS) -o $@ $<
252b5132 442
6bf9431b 443uninstall-info-am:
2dadb5f9 444 @$(PRE_UNINSTALL)
6bf9431b
BE
445 @if (install-info --version && \
446 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
252b5132
RH
447 list='$(INFO_DEPS)'; \
448 for file in $$list; do \
6bf9431b
BE
449 relfile=`echo "$$file" | sed 's|^.*/||'`; \
450 echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
451 install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
252b5132 452 done; \
6bf9431b 453 else :; fi
252b5132 454 @$(NORMAL_UNINSTALL)
6bf9431b 455 @list='$(INFO_DEPS)'; \
252b5132 456 for file in $$list; do \
6bf9431b
BE
457 relfile=`echo "$$file" | sed 's|^.*/||'`; \
458 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
459 (if cd "$(DESTDIR)$(infodir)"; then \
2dadb5f9 460 echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
6bf9431b
BE
461 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
462 else :; fi); \
252b5132
RH
463 done
464
465dist-info: $(INFO_DEPS)
6bf9431b 466 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
252b5132
RH
467 list='$(INFO_DEPS)'; \
468 for base in $$list; do \
6bf9431b
BE
469 case $$base in \
470 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
471 esac; \
252b5132 472 if test -f $$base; then d=.; else d=$(srcdir); fi; \
cb015bd9
AM
473 for file in $$d/$$base*; do \
474 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
475 test -f $(distdir)/$$relfile || \
476 cp -p $$file $(distdir)/$$relfile; \
252b5132
RH
477 done; \
478 done
479
480mostlyclean-aminfo:
6bf9431b
BE
481 -rm -rf gprof.aux gprof.cp gprof.cps gprof.fn gprof.fns gprof.ky gprof.kys \
482 gprof.log gprof.pg gprof.pgs gprof.tmp gprof.toc gprof.tp \
483 gprof.tps gprof.vr gprof.vrs gprof.dvi gprof.pdf gprof.ps \
484 gprof.html
252b5132
RH
485
486maintainer-clean-aminfo:
6bf9431b
BE
487 @list='$(INFO_DEPS)'; for i in $$list; do \
488 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
489 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
490 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
252b5132 491 done
252b5132 492
6bf9431b
BE
493clean-info: mostlyclean-aminfo
494install-man1: $(man1_MANS) $(man_MANS)
495 @$(NORMAL_INSTALL)
496 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
497 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
498 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
499 for i in $$l2; do \
252b5132
RH
500 case "$$i" in \
501 *.1*) list="$$list $$i" ;; \
502 esac; \
503 done; \
504 for i in $$list; do \
505 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
506 else file=$$i; fi; \
507 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
6bf9431b
BE
508 case "$$ext" in \
509 1*) ;; \
510 *) ext='1' ;; \
511 esac; \
252b5132 512 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
6bf9431b 513 inst=`echo $$inst | sed -e 's/^.*\///'`; \
252b5132 514 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
6bf9431b
BE
515 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
516 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
252b5132 517 done
252b5132 518uninstall-man1:
6bf9431b
BE
519 @$(NORMAL_UNINSTALL)
520 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
521 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
522 for i in $$l2; do \
252b5132
RH
523 case "$$i" in \
524 *.1*) list="$$list $$i" ;; \
525 esac; \
526 done; \
527 for i in $$list; do \
528 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
6bf9431b
BE
529 case "$$ext" in \
530 1*) ;; \
531 *) ext='1' ;; \
532 esac; \
252b5132 533 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
6bf9431b 534 inst=`echo $$inst | sed -e 's/^.*\///'`; \
252b5132 535 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
6bf9431b
BE
536 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
537 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
252b5132 538 done
252b5132
RH
539
540# This directory's subdirectories are mostly independent; you can cd
541# into them and run `make' without going through this Makefile.
542# To change the values of `make' variables: instead of editing Makefiles,
543# (1) if the variable is set in `config.status', edit `config.status'
544# (which will cause the Makefiles to be regenerated when you run `make');
545# (2) otherwise, pass the desired values on the `make' command line.
6bf9431b 546$(RECURSIVE_TARGETS):
2dadb5f9
AM
547 @failcom='exit 1'; \
548 for f in x $$MAKEFLAGS; do \
549 case $$f in \
550 *=* | --[!k]*);; \
551 *k*) failcom='fail=yes';; \
552 esac; \
553 done; \
252b5132
RH
554 dot_seen=no; \
555 target=`echo $@ | sed s/-recursive//`; \
556 list='$(SUBDIRS)'; for subdir in $$list; do \
557 echo "Making $$target in $$subdir"; \
558 if test "$$subdir" = "."; then \
559 dot_seen=yes; \
560 local_target="$$target-am"; \
561 else \
562 local_target="$$target"; \
563 fi; \
564 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2dadb5f9 565 || eval $$failcom; \
252b5132
RH
566 done; \
567 if test "$$dot_seen" = "no"; then \
568 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
569 fi; test -z "$$fail"
570
571mostlyclean-recursive clean-recursive distclean-recursive \
572maintainer-clean-recursive:
2dadb5f9
AM
573 @failcom='exit 1'; \
574 for f in x $$MAKEFLAGS; do \
575 case $$f in \
576 *=* | --[!k]*);; \
577 *k*) failcom='fail=yes';; \
578 esac; \
579 done; \
252b5132 580 dot_seen=no; \
6bf9431b
BE
581 case "$@" in \
582 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
583 *) list='$(SUBDIRS)' ;; \
584 esac; \
585 rev=''; for subdir in $$list; do \
586 if test "$$subdir" = "."; then :; else \
587 rev="$$subdir $$rev"; \
588 fi; \
252b5132 589 done; \
6bf9431b 590 rev="$$rev ."; \
252b5132
RH
591 target=`echo $@ | sed s/-recursive//`; \
592 for subdir in $$rev; do \
593 echo "Making $$target in $$subdir"; \
594 if test "$$subdir" = "."; then \
595 local_target="$$target-am"; \
596 else \
597 local_target="$$target"; \
598 fi; \
599 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2dadb5f9 600 || eval $$failcom; \
252b5132
RH
601 done && test -z "$$fail"
602tags-recursive:
603 list='$(SUBDIRS)'; for subdir in $$list; do \
604 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
605 done
6bf9431b
BE
606ctags-recursive:
607 list='$(SUBDIRS)'; for subdir in $$list; do \
608 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
609 done
252b5132 610
6bf9431b
BE
611ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
612 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
613 unique=`for i in $$list; do \
614 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
615 done | \
616 $(AWK) ' { files[$$0] = 1; } \
252b5132 617 END { for (i in files) print i; }'`; \
6bf9431b
BE
618 mkid -fID $$unique
619tags: TAGS
252b5132 620
6bf9431b
BE
621TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
622 $(TAGS_FILES) $(LISP)
252b5132
RH
623 tags=; \
624 here=`pwd`; \
6bf9431b
BE
625 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
626 include_option=--etags-include; \
627 empty_fix=.; \
628 else \
629 include_option=--include; \
630 empty_fix=; \
631 fi; \
252b5132 632 list='$(SUBDIRS)'; for subdir in $$list; do \
6bf9431b
BE
633 if test "$$subdir" = .; then :; else \
634 test ! -f $$subdir/TAGS || \
635 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
636 fi; \
252b5132 637 done; \
6bf9431b
BE
638 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
639 unique=`for i in $$list; do \
640 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
641 done | \
642 $(AWK) ' { files[$$0] = 1; } \
252b5132 643 END { for (i in files) print i; }'`; \
6bf9431b
BE
644 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
645 test -n "$$unique" || unique=$$empty_fix; \
646 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
647 $$tags $$unique; \
648 fi
649ctags: CTAGS
650CTAGS: ctags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) \
651 $(TAGS_FILES) $(LISP)
652 tags=; \
653 here=`pwd`; \
654 list='$(SOURCES) $(HEADERS) gconfig.in $(LISP) $(TAGS_FILES)'; \
655 unique=`for i in $$list; do \
656 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
657 done | \
658 $(AWK) ' { files[$$0] = 1; } \
659 END { for (i in files) print i; }'`; \
660 test -z "$(CTAGS_ARGS)$$tags$$unique" \
661 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
662 $$tags $$unique
252b5132 663
6bf9431b
BE
664GTAGS:
665 here=`$(am__cd) $(top_builddir) && pwd` \
666 && cd $(top_srcdir) \
667 && gtags -i $(GTAGS_ARGS) $$here
252b5132
RH
668
669distclean-tags:
6bf9431b 670 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
252b5132 671check-am:
6bf9431b
BE
672check: $(BUILT_SOURCES)
673 $(MAKE) $(AM_MAKEFLAGS) check-recursive
674all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
675installdirs: installdirs-recursive
676installdirs-am:
677 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
678 test -z "$$dir" || $(mkdir_p) "$$dir"; \
679 done
680install: $(BUILT_SOURCES)
681 $(MAKE) $(AM_MAKEFLAGS) install-recursive
252b5132 682install-exec: install-exec-recursive
252b5132 683install-data: install-data-recursive
6bf9431b 684uninstall: uninstall-recursive
252b5132
RH
685
686install-am: all-am
687 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
252b5132 688
6bf9431b
BE
689installcheck: installcheck-recursive
690install-strip:
691 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
692 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
693 `test -z '$(STRIP)' || \
694 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
252b5132
RH
695mostlyclean-generic:
696
697clean-generic:
41b49281 698 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
252b5132
RH
699
700distclean-generic:
df76639a 701 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
d5fbea21 702 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
252b5132
RH
703
704maintainer-clean-generic:
6bf9431b
BE
705 @echo "This command is intended for maintainers to use"
706 @echo "it deletes files that may require special tools to rebuild."
252b5132 707 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
d5fbea21 708 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
6bf9431b 709clean: clean-recursive
252b5132 710
6bf9431b 711clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
252b5132 712
6bf9431b
BE
713distclean: distclean-recursive
714 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
715 -rm -f Makefile
716distclean-am: clean-am distclean-compile distclean-generic \
717 distclean-hdr distclean-libtool distclean-tags
252b5132 718
6bf9431b 719dvi: dvi-recursive
252b5132 720
6bf9431b 721dvi-am: $(DVIS)
252b5132 722
6bf9431b 723html: html-recursive
252b5132 724
6bf9431b
BE
725html-am: $(HTMLS)
726
727info: info-recursive
728
729info-am: $(INFO_DEPS)
730
8ffc9dd4 731install-data-am: install-data-local install-man
6bf9431b
BE
732
733install-exec-am: install-binPROGRAMS
734
735install-info: install-info-recursive
736
737install-info-am: $(INFO_DEPS)
738 @$(NORMAL_INSTALL)
739 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
740 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
741 list='$(INFO_DEPS)'; \
742 for file in $$list; do \
743 case $$file in \
744 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
745 esac; \
746 if test -f $$file; then d=.; else d=$(srcdir); fi; \
747 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
748 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
749 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
750 if test -f $$ifile; then \
751 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
752 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
753 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
754 else : ; fi; \
755 done; \
756 done
757 @$(POST_INSTALL)
758 @if (install-info --version && \
759 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
760 list='$(INFO_DEPS)'; \
761 for file in $$list; do \
762 relfile=`echo "$$file" | sed 's|^.*/||'`; \
763 echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
764 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
765 done; \
766 else : ; fi
767install-man: install-man1
768
769installcheck-am:
252b5132
RH
770
771maintainer-clean: maintainer-clean-recursive
6bf9431b
BE
772 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
773 -rm -rf $(top_srcdir)/autom4te.cache
774 -rm -f Makefile
775maintainer-clean-am: distclean-am maintainer-clean-aminfo \
776 maintainer-clean-generic
777
778mostlyclean: mostlyclean-recursive
779
780mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
781 mostlyclean-generic mostlyclean-libtool
782
783pdf: pdf-recursive
784
785pdf-am: $(PDFS)
786
787ps: ps-recursive
788
789ps-am: $(PSS)
790
791uninstall-am: uninstall-binPROGRAMS uninstall-man
792
793uninstall-info: uninstall-info-recursive
794
795uninstall-man: uninstall-man1
796
797.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
798 check-am clean clean-binPROGRAMS clean-generic clean-info \
799 clean-libtool clean-recursive ctags ctags-recursive dist-info \
800 distclean distclean-compile distclean-generic distclean-hdr \
801 distclean-libtool distclean-recursive distclean-tags dvi \
802 dvi-am html html-am info info-am install install-am \
8ffc9dd4
MR
803 install-binPROGRAMS install-data install-data-am \
804 install-data-local install-exec install-exec-am install-info \
805 install-info-am install-man install-man1 install-strip \
806 installcheck installcheck-am installdirs installdirs-am \
807 maintainer-clean maintainer-clean-aminfo \
808 maintainer-clean-generic maintainer-clean-recursive \
809 mostlyclean mostlyclean-aminfo mostlyclean-compile \
810 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
811 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
812 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
813 uninstall-man1
252b5132
RH
814
815
c45021f2 816diststuff: $(BUILT_SOURCES) info $(man_MANS)
252b5132 817
20e95c23 818# This empty rule is a hack against gmake patched by Apple.
253a2395
NC
819%.o:%.m
820
252b5132
RH
821.m.c:
822 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
823 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
824 FILE=$*.m $(srcdir)/$*.m
825po/POTFILES.in: @MAINT@ Makefile
68cdbb4a 826 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
252b5132
RH
827 && mv tmp $(srcdir)/po/POTFILES.in
828
dff70155
MM
829config.texi:
830 echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
831
40f90528
AM
832# Build the man page from the texinfo file
833# The sed command removes the no-adjust Nroff command so that
834# the man output looks standard.
dff70155 835gprof.1: $(srcdir)/gprof.texi config.texi
c45021f2 836 touch $@
40f90528
AM
837 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
838 -($(POD2MAN) gprof.pod | \
c45021f2
NC
839 sed -e '/^.if n .na/d' > $@.T$$$$ && \
840 mv -f $@.T$$$$ $@) || \
841 (rm -f $@.T$$$$ && exit 1)
40f90528
AM
842 rm -f gprof.pod
843
108a6f8e
CD
844.PHONY: install-html install-html-am install-html-recursive
845
846install-html: install-html-recursive install-html-am
847
848install-html-am: $(HTMLS)
849 @$(NORMAL_INSTALL)
850 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
851 @list='$(HTMLS)'; for p in $$list; do \
852 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
853 f=$(html__strip_dir) \
854 if test -d "$$d$$p"; then \
855 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
856 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
857 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
858 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
859 else \
860 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
861 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
862 fi; \
863 done
864
865install-html-recursive:
866 @failcom='exit 1'; \
867 for f in x $$MAKEFLAGS; do \
868 case $$f in \
869 *=* | --[!k]*);; \
870 *k*) failcom='fail=yes';; \
871 esac; \
872 done; \
873 dot_seen=no; \
874 target=`echo $@ | sed s/-recursive//`; \
875 list='$(SUBDIRS)'; for subdir in $$list; do \
876 echo "Making $$target in $$subdir"; \
877 if test "$$subdir" = "."; then \
878 dot_seen=yes; \
879 local_target="$$target-am"; \
880 else \
881 local_target="$$target"; \
882 fi; \
883 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
884 || eval $$failcom; \
885 done; \
886 if test "$$dot_seen" = "no"; then \
887 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
888 fi; test -z "$$fail"
889
cd8e197b
HPN
890# We want install to imply install-info as per GNU standards, despite the
891# cygnus option.
8ffc9dd4 892install-data-local: install-info
cd8e197b 893
41b49281
AM
894# Targets to rebuild dependencies in this Makefile.
895# Have to get rid of DEP1 here so that "$?" later includes all sources.
896DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
897 rm -f DEP1
898 $(MAKE) MKDEP="$(MKDEP)" DEP1
0bdaf48b
AM
899 sed -f dep.sed < DEP1 > DEPA
900 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
901 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1581f8c9
AM
902 echo 'make DEP failed!'; exit 1; \
903 else \
0bdaf48b 904 mv -f DEPA $@; \
1581f8c9 905 fi
41b49281
AM
906
907DEP1: $(gprof_SOURCES)
908 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
909 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
910 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
911 mv -f DEP2 $@
912
913dep.sed: dep-in.sed config.status
914 objdir=`pwd`; \
915 sed <$(srcdir)/dep-in.sed >dep.sed \
916 -e 's!@INCDIR@!$(INCDIR)!' \
917 -e 's!@BFDDIR@!$(BFDDIR)!' \
918 -e 's!@SRCDIR@!$(srcdir)!' \
8e42bcb6
AM
919 -e "s!@OBJDIR@!$${objdir}!" \
920 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
41b49281
AM
921
922dep: DEP
923 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
924 cat DEP >> tmp-Makefile
925 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
926
927dep-in: DEP
928 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
929 cat DEP >> tmp-Makefile.in
930 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
931
932dep-am: DEP
933 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
934 cat DEP >> tmp-Makefile.am
935 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
936
937.PHONY: dep dep-in dep-am
938
939# DO NOT DELETE THIS LINE -- mkdep uses it.
940# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
ba323545 941basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
ae351704
AM
942 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
943 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 944 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 945 gconfig.h basic_blocks.h corefile.h gmon_io.h gmon_out.h \
92f01d61 946 search_list.h source.h symtab.h sym_ids.h
ba323545 947call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
ae351704 948 ../bfd/config.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \
92f01d61 949 $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
066c2a57 950 $(INCDIR)/symcat.h gconfig.h search_list.h source.h \
ba323545
AM
951 symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
952 gmon_out.h sym_ids.h
41b49281 953cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 954 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 955 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57
JM
956 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
957 source.h symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
958 utils.h sym_ids.h
41b49281 959cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 960 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 961 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57
JM
962 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
963 source.h symtab.h cg_arcs.h cg_dfn.h utils.h
41b49281 964cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 965 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 966 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57
JM
967 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
968 source.h symtab.h cg_arcs.h cg_print.h hist.h utils.h \
969 corefile.h
41b49281 970corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 971 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 972 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57 973 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
3289fe0c 974 source.h symtab.h hist.h corefile.h $(INCDIR)/safe-ctype.h
ae351704
AM
975gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
976 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 977 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 978 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61
JM
979 basic_blocks.h corefile.h call_graph.h gmon_io.h gmon_out.h \
980 gmon.h hertz.h hist.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h
6f53ec68 981gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 982 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 983 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57 984 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h ../bfd/bfdver.h \
92f01d61
JM
985 search_list.h source.h symtab.h basic_blocks.h call_graph.h \
986 cg_arcs.h cg_print.h corefile.h gmon_io.h hertz.h hist.h \
987 sym_ids.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
ae351704
AM
988hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
989 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 990 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 991 gconfig.h hertz.h
41b49281 992hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704 993 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
92f01d61 994 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
066c2a57
JM
995 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
996 source.h symtab.h corefile.h gmon_io.h gmon_out.h hist.h \
997 sym_ids.h utils.h
ae351704
AM
998source.o: source.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
999 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1000 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1001 gconfig.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
92f01d61 1002 $(INCDIR)/filenames.h search_list.h source.h
41b49281 1003search_list.o: search_list.c $(INCDIR)/libiberty.h \
ae351704
AM
1004 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1005 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1006 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1007 gconfig.h search_list.h
ae351704
AM
1008symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1009 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1010 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1011 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1012 corefile.h
41b49281 1013sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
ae351704
AM
1014 $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1015 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1016 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1017 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
8db406db 1018 sym_ids.h corefile.h
bfa36442 1019utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
ae351704
AM
1020 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1021 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1022 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1023 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
8db406db 1024 utils.h corefile.h
ae351704
AM
1025i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1026 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1027 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1028 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1029 corefile.h hist.h
ae351704
AM
1030alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1031 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1032 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1033 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1034 corefile.h hist.h
ae351704
AM
1035vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1036 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1037 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1038 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1039 corefile.h hist.h
ae351704
AM
1040tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1041 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1042 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1043 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1044 corefile.h hist.h
ae351704
AM
1045sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1046 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1047 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1048 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1049 corefile.h hist.h
ae351704
AM
1050mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
1051 $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
92f01d61 1052 ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
066c2a57 1053 gconfig.h search_list.h source.h symtab.h cg_arcs.h \
92f01d61 1054 corefile.h hist.h
3099538b
AM
1055flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
1056bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
1057fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
41b49281 1058# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
252b5132
RH
1059# Tell versions [3.59,3.63) of GNU make to not export all variables.
1060# Otherwise a system limit (for SysV at least) may be exceeded.
1061.NOEXPORT: