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