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