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