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