Remove auot generated man pages
[deliverable/binutils-gdb.git] / gprof / Makefile.in
CommitLineData
a2d91340 1# Makefile.in generated automatically by automake 1.4 from Makefile.am
252b5132 2
a2d91340 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
252b5132
RH
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
a2d91340 13
252b5132
RH
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
a2d91340 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
252b5132
RH
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AS = @AS@
67CATALOGS = @CATALOGS@
68CATOBJEXT = @CATOBJEXT@
69CC = @CC@
18e03609
NC
70CXX = @CXX@
71CXXCPP = @CXXCPP@
252b5132
RH
72DATADIRNAME = @DATADIRNAME@
73DLLTOOL = @DLLTOOL@
74EXEEXT = @EXEEXT@
27b7e12d
AM
75GCJ = @GCJ@
76GCJFLAGS = @GCJFLAGS@
252b5132
RH
77GMOFILES = @GMOFILES@
78GMSGFMT = @GMSGFMT@
79GT_NO = @GT_NO@
80GT_YES = @GT_YES@
81INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
82INSTOBJEXT = @INSTOBJEXT@
83INTLDEPS = @INTLDEPS@
84INTLLIBS = @INTLLIBS@
85INTLOBJS = @INTLOBJS@
252b5132
RH
86LIBTOOL = @LIBTOOL@
87LN_S = @LN_S@
88MAINT = @MAINT@
89MAKEINFO = @MAKEINFO@
90MKINSTALLDIRS = @MKINSTALLDIRS@
91MSGFMT = @MSGFMT@
a2d91340 92OBJDUMP = @OBJDUMP@
18e03609 93OBJEXT = @OBJEXT@
252b5132
RH
94PACKAGE = @PACKAGE@
95POFILES = @POFILES@
96POSUB = @POSUB@
97RANLIB = @RANLIB@
18e03609 98STRIP = @STRIP@
252b5132
RH
99USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
100USE_NLS = @USE_NLS@
252b5132
RH
101VERSION = @VERSION@
102l = @l@
103
104AUTOMAKE_OPTIONS = cygnus
105
106SUFFIXES = .m
107
108SUBDIRS = po
109
41b49281
AM
110BASEDIR = $(srcdir)/..
111BFDDIR = $(BASEDIR)/bfd
112INCDIR = $(BASEDIR)/include
113
a2d91340
AC
114WARN_CFLAGS = @WARN_CFLAGS@
115AM_CFLAGS = $(WARN_CFLAGS)
116
41b49281
AM
117MKDEP = gcc -MM
118
119INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""
252b5132
RH
120
121bin_PROGRAMS = gprof
122
123sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
124 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
125 search_list.c symtab.c sym_ids.c utils.c \
126 i386.c alpha.c vax.c tahoe.c sparc.c
127
128gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
129gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
130gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
131
132noinst_HEADERS = \
133 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
134 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
135 search_list.h source.h sym_ids.h symtab.h utils.h
136
137
252b5132 138BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
c45021f2 139EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
252b5132
RH
140
141POTFILES = $(sources) $(noinst_HEADERS)
142
40f90528
AM
143MANCONF = -Dman
144
145TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
146
147POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
148
252b5132
RH
149info_TEXINFOS = gprof.texi
150man_MANS = gprof.1
41b49281 151
0bdaf48b 152CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
252b5132
RH
153ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
154mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
155CONFIG_HEADER = gconfig.h
156CONFIG_CLEAN_FILES =
157bin_PROGRAMS = gprof$(EXEEXT)
158PROGRAMS = $(bin_PROGRAMS)
159
160
161DEFS = @DEFS@ -I. -I$(srcdir) -I.
162CPPFLAGS = @CPPFLAGS@
163LDFLAGS = @LDFLAGS@
164LIBS = @LIBS@
18e03609
NC
165gprof_OBJECTS = basic_blocks.$(OBJEXT) call_graph.$(OBJEXT) \
166cg_arcs.$(OBJEXT) cg_dfn.$(OBJEXT) cg_print.$(OBJEXT) \
167corefile.$(OBJEXT) gmon_io.$(OBJEXT) gprof.$(OBJEXT) hertz.$(OBJEXT) \
168hist.$(OBJEXT) source.$(OBJEXT) search_list.$(OBJEXT) symtab.$(OBJEXT) \
169sym_ids.$(OBJEXT) utils.$(OBJEXT) i386.$(OBJEXT) alpha.$(OBJEXT) \
170vax.$(OBJEXT) tahoe.$(OBJEXT) sparc.$(OBJEXT) flat_bl.$(OBJEXT) \
171bsd_callg_bl.$(OBJEXT) fsf_callg_bl.$(OBJEXT)
252b5132 172gprof_LDFLAGS =
a2d91340 173CFLAGS = @CFLAGS@
252b5132
RH
174COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
175LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
176CCLD = $(CC)
a2d91340 177LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
252b5132
RH
178TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
179TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
180INFO_DEPS = gprof.info
181DVIS = gprof.dvi
182TEXINFOS = gprof.texi
183man1dir = $(mandir)/man1
184MANS = $(man_MANS)
185
186NROFF = nroff
187HEADERS = $(noinst_HEADERS)
188
a2d91340 189DIST_COMMON = ./stamp-h.in ChangeLog Makefile.am Makefile.in TODO \
0eee5820 190acconfig.h acinclude.m4 aclocal.m4 configure configure.in gconfig.in
252b5132
RH
191
192
a2d91340 193DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
252b5132 194
c45021f2 195TAR = gtar
252b5132
RH
196GZIP_ENV = --best
197SOURCES = $(gprof_SOURCES)
a2d91340 198OBJECTS = $(gprof_OBJECTS)
252b5132
RH
199
200all: all-redirect
201.SUFFIXES:
18e03609 202.SUFFIXES: .S .c .dvi .info .lo .m .o .obj .ps .s .texi .texinfo .txi
252b5132
RH
203$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
204 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
205
206Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
207 cd $(top_builddir) \
208 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
209
18e03609 210$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
252b5132
RH
211 cd $(srcdir) && $(ACLOCAL)
212
213config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
214 $(SHELL) ./config.status --recheck
215$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
216 cd $(srcdir) && $(AUTOCONF)
217
218gconfig.h: stamp-h
219 @if test ! -f $@; then \
220 rm -f stamp-h; \
221 $(MAKE) stamp-h; \
222 else :; fi
223stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
224 cd $(top_builddir) \
225 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
226 $(SHELL) ./config.status
a2d91340
AC
227 @echo timestamp > stamp-h 2> /dev/null
228$(srcdir)/gconfig.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
252b5132 229 @if test ! -f $@; then \
a2d91340
AC
230 rm -f $(srcdir)/stamp-h.in; \
231 $(MAKE) $(srcdir)/stamp-h.in; \
252b5132 232 else :; fi
0eee5820 233$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
252b5132 234 cd $(top_srcdir) && $(AUTOHEADER)
a2d91340 235 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
252b5132
RH
236
237mostlyclean-hdr:
238
239clean-hdr:
240
241distclean-hdr:
242 -rm -f gconfig.h
243
244maintainer-clean-hdr:
245
246mostlyclean-binPROGRAMS:
247
248clean-binPROGRAMS:
249 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
250
251distclean-binPROGRAMS:
252
253maintainer-clean-binPROGRAMS:
254
255install-binPROGRAMS: $(bin_PROGRAMS)
256 @$(NORMAL_INSTALL)
257 $(mkinstalldirs) $(DESTDIR)$(bindir)
258 @list='$(bin_PROGRAMS)'; for p in $$list; do \
259 if test -f $$p; then \
a2d91340
AC
260 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
261 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
252b5132
RH
262 else :; fi; \
263 done
264
265uninstall-binPROGRAMS:
266 @$(NORMAL_UNINSTALL)
a2d91340
AC
267 list='$(bin_PROGRAMS)'; for p in $$list; do \
268 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
252b5132
RH
269 done
270
a2d91340
AC
271.c.o:
272 $(COMPILE) -c $<
273
18e03609
NC
274# FIXME: We should only use cygpath when building on Windows,
275# and only if it is available.
276.c.obj:
277 $(COMPILE) -c `cygpath -w $<`
278
a2d91340
AC
279.s.o:
280 $(COMPILE) -c $<
281
282.S.o:
283 $(COMPILE) -c $<
284
252b5132
RH
285mostlyclean-compile:
286 -rm -f *.o core *.core
18e03609 287 -rm -f *.$(OBJEXT)
252b5132
RH
288
289clean-compile:
290
291distclean-compile:
292 -rm -f *.tab.c
293
294maintainer-clean-compile:
295
a2d91340
AC
296.c.lo:
297 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
298
299.s.lo:
300 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
301
302.S.lo:
303 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
304
252b5132
RH
305mostlyclean-libtool:
306 -rm -f *.lo
307
308clean-libtool:
309 -rm -rf .libs _libs
310
311distclean-libtool:
312
313maintainer-clean-libtool:
314
315gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
316 @rm -f gprof$(EXEEXT)
317 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
318
319gprof.info: gprof.texi
320gprof.dvi: gprof.texi
321
322
323DVIPS = dvips
324
325.texi.info:
326 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
327 $(MAKEINFO) -I $(srcdir) $<
328
329.texi.dvi:
a2d91340 330 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
331 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
332
333.texi:
334 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
335 $(MAKEINFO) -I $(srcdir) $<
336
337.texinfo.info:
338 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
339 $(MAKEINFO) -I $(srcdir) $<
340
341.texinfo:
342 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
343 $(MAKEINFO) -I $(srcdir) $<
344
345.texinfo.dvi:
a2d91340 346 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
347 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
348
349.txi.info:
350 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
351 $(MAKEINFO) -I $(srcdir) $<
352
353.txi.dvi:
a2d91340 354 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
252b5132
RH
355 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
356
357.txi:
358 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
359 $(MAKEINFO) -I $(srcdir) $<
360.dvi.ps:
361 $(DVIPS) $< -o $@
362
363install-info-am: $(INFO_DEPS)
364 @$(NORMAL_INSTALL)
365 $(mkinstalldirs) $(DESTDIR)$(infodir)
366 @list='$(INFO_DEPS)'; \
367 for file in $$list; do \
368 if test -f $$file; then d=.; else d=$(srcdir); fi; \
a2d91340 369 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
252b5132
RH
370 if test -f $$d/$$ifile; then \
371 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
372 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
373 else : ; fi; \
374 done; \
375 done
376 @$(POST_INSTALL)
377 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
378 list='$(INFO_DEPS)'; \
379 for file in $$list; do \
380 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
381 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
382 done; \
383 else : ; fi
384
385uninstall-info:
386 $(PRE_UNINSTALL)
387 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
a2d91340
AC
388 ii=yes; \
389 else ii=; fi; \
390 list='$(INFO_DEPS)'; \
391 for file in $$list; do \
392 test -z "$ii" \
393 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
394 done
252b5132 395 @$(NORMAL_UNINSTALL)
a2d91340 396 list='$(INFO_DEPS)'; \
252b5132 397 for file in $$list; do \
a2d91340 398 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
252b5132
RH
399 done
400
401dist-info: $(INFO_DEPS)
402 list='$(INFO_DEPS)'; \
403 for base in $$list; do \
404 if test -f $$base; then d=.; else d=$(srcdir); fi; \
a2d91340 405 for file in `cd $$d && eval echo $$base*`; do \
252b5132 406 test -f $(distdir)/$$file \
a2d91340 407 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
252b5132
RH
408 || cp -p $$d/$$file $(distdir)/$$file; \
409 done; \
410 done
411
412mostlyclean-aminfo:
413 -rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
a2d91340
AC
414 gprof.ky gprof.kys gprof.ps gprof.log gprof.pg gprof.toc \
415 gprof.tp gprof.tps gprof.vr gprof.vrs gprof.op gprof.tr \
416 gprof.cv gprof.cn
252b5132
RH
417
418clean-aminfo:
419
420distclean-aminfo:
421
422maintainer-clean-aminfo:
423 for i in $(INFO_DEPS); do \
424 rm -f $$i; \
425 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
426 rm -f $$i-[0-9]*; \
427 fi; \
428 done
429clean-info: mostlyclean-aminfo
430
431install-man1:
432 $(mkinstalldirs) $(DESTDIR)$(man1dir)
433 @list='$(man1_MANS)'; \
434 l2='$(man_MANS)'; for i in $$l2; do \
435 case "$$i" in \
436 *.1*) list="$$list $$i" ;; \
437 esac; \
438 done; \
439 for i in $$list; do \
440 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
441 else file=$$i; fi; \
442 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
443 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
444 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
445 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
446 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
447 done
448
449uninstall-man1:
450 @list='$(man1_MANS)'; \
451 l2='$(man_MANS)'; for i in $$l2; do \
452 case "$$i" in \
453 *.1*) list="$$list $$i" ;; \
454 esac; \
455 done; \
456 for i in $$list; do \
457 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
458 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
459 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
460 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
461 rm -f $(DESTDIR)$(man1dir)/$$inst; \
462 done
463install-man: $(MANS)
464 @$(NORMAL_INSTALL)
465 $(MAKE) $(AM_MAKEFLAGS) install-man1
466uninstall-man:
467 @$(NORMAL_UNINSTALL)
468 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
469
470# This directory's subdirectories are mostly independent; you can cd
471# into them and run `make' without going through this Makefile.
472# To change the values of `make' variables: instead of editing Makefiles,
473# (1) if the variable is set in `config.status', edit `config.status'
474# (which will cause the Makefiles to be regenerated when you run `make');
475# (2) otherwise, pass the desired values on the `make' command line.
476
a2d91340
AC
477@SET_MAKE@
478
252b5132
RH
479all-recursive install-data-recursive install-exec-recursive \
480installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
481check-recursive installcheck-recursive info-recursive dvi-recursive:
482 @set fnord $(MAKEFLAGS); amf=$$2; \
483 dot_seen=no; \
484 target=`echo $@ | sed s/-recursive//`; \
485 list='$(SUBDIRS)'; for subdir in $$list; do \
486 echo "Making $$target in $$subdir"; \
487 if test "$$subdir" = "."; then \
488 dot_seen=yes; \
489 local_target="$$target-am"; \
490 else \
491 local_target="$$target"; \
492 fi; \
493 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
494 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
495 done; \
496 if test "$$dot_seen" = "no"; then \
497 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
498 fi; test -z "$$fail"
499
500mostlyclean-recursive clean-recursive distclean-recursive \
501maintainer-clean-recursive:
502 @set fnord $(MAKEFLAGS); amf=$$2; \
503 dot_seen=no; \
504 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
505 rev="$$subdir $$rev"; \
a2d91340 506 test "$$subdir" = "." && dot_seen=yes; \
252b5132
RH
507 done; \
508 test "$$dot_seen" = "no" && rev=". $$rev"; \
509 target=`echo $@ | sed s/-recursive//`; \
510 for subdir in $$rev; do \
511 echo "Making $$target in $$subdir"; \
512 if test "$$subdir" = "."; then \
513 local_target="$$target-am"; \
514 else \
515 local_target="$$target"; \
516 fi; \
517 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
518 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
519 done && test -z "$$fail"
520tags-recursive:
521 list='$(SUBDIRS)'; for subdir in $$list; do \
522 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
523 done
524
525tags: TAGS
526
a2d91340
AC
527ID: $(HEADERS) $(SOURCES) $(LISP)
528 list='$(SOURCES) $(HEADERS)'; \
529 unique=`for i in $$list; do echo $$i; done | \
530 awk ' { files[$$0] = 1; } \
252b5132 531 END { for (i in files) print i; }'`; \
a2d91340
AC
532 here=`pwd` && cd $(srcdir) \
533 && mkid -f$$here/ID $$unique $(LISP)
252b5132 534
a2d91340 535TAGS: tags-recursive $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) $(LISP)
252b5132
RH
536 tags=; \
537 here=`pwd`; \
538 list='$(SUBDIRS)'; for subdir in $$list; do \
539 if test "$$subdir" = .; then :; else \
540 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
541 fi; \
542 done; \
a2d91340
AC
543 list='$(SOURCES) $(HEADERS)'; \
544 unique=`for i in $$list; do echo $$i; done | \
545 awk ' { files[$$0] = 1; } \
252b5132
RH
546 END { for (i in files) print i; }'`; \
547 test -z "$(ETAGS_ARGS)gconfig.in$$unique$(LISP)$$tags" \
a2d91340 548 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $$unique $(LISP) -o $$here/TAGS)
252b5132
RH
549
550mostlyclean-tags:
551
552clean-tags:
553
554distclean-tags:
555 -rm -f TAGS ID
556
557maintainer-clean-tags:
558
559distdir = $(PACKAGE)-$(VERSION)
560top_distdir = $(distdir)
561
562# This target untars the dist file and tries a VPATH configuration. Then
563# it guarantees that the distribution is self-contained by making another
564# tarfile.
565distcheck: dist
a2d91340
AC
566 -rm -rf $(distdir)
567 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
252b5132
RH
568 mkdir $(distdir)/=build
569 mkdir $(distdir)/=inst
a2d91340
AC
570 dc_install_base=`cd $(distdir)/=inst && pwd`; \
571 cd $(distdir)/=build \
252b5132
RH
572 && ../configure --srcdir=.. --prefix=$$dc_install_base \
573 && $(MAKE) $(AM_MAKEFLAGS) \
574 && $(MAKE) $(AM_MAKEFLAGS) dvi \
575 && $(MAKE) $(AM_MAKEFLAGS) check \
576 && $(MAKE) $(AM_MAKEFLAGS) install \
577 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
a2d91340
AC
578 && $(MAKE) $(AM_MAKEFLAGS) dist
579 -rm -rf $(distdir)
252b5132
RH
580 @banner="$(distdir).tar.gz is ready for distribution"; \
581 dashes=`echo "$$banner" | sed s/./=/g`; \
582 echo "$$dashes"; \
583 echo "$$banner"; \
584 echo "$$dashes"
585dist: distdir
a2d91340
AC
586 -chmod -R a+r $(distdir)
587 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
588 -rm -rf $(distdir)
252b5132 589dist-all: distdir
a2d91340
AC
590 -chmod -R a+r $(distdir)
591 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
592 -rm -rf $(distdir)
252b5132 593distdir: $(DISTFILES)
a2d91340 594 -rm -rf $(distdir)
252b5132 595 mkdir $(distdir)
a2d91340 596 -chmod 777 $(distdir)
252b5132
RH
597 @for file in $(DISTFILES); do \
598 if test -f $$file; then d=.; else d=$(srcdir); fi; \
599 if test -d $$d/$$file; then \
a2d91340 600 cp -pr $$d/$$file $(distdir)/$$file; \
252b5132
RH
601 else \
602 test -f $(distdir)/$$file \
a2d91340
AC
603 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
604 || cp -p $$d/$$file $(distdir)/$$file || :; \
252b5132
RH
605 fi; \
606 done
607 for subdir in $(SUBDIRS); do \
608 if test "$$subdir" = .; then :; else \
609 test -d $(distdir)/$$subdir \
610 || mkdir $(distdir)/$$subdir \
611 || exit 1; \
a2d91340 612 chmod 777 $(distdir)/$$subdir; \
252b5132
RH
613 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
614 || exit 1; \
615 fi; \
616 done
617 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
618info-am: $(INFO_DEPS)
619info: info-recursive
620dvi-am: $(DVIS)
621dvi: dvi-recursive
622check-am:
623check: check-recursive
624installcheck-am:
625installcheck: installcheck-recursive
626install-info-am:
627install-info: install-info-recursive
628all-recursive-am: gconfig.h
629 $(MAKE) $(AM_MAKEFLAGS) all-recursive
630
631install-exec-am: install-binPROGRAMS
632install-exec: install-exec-recursive
633
634install-data-am: install-man
635install-data: install-data-recursive
636
637install-am: all-am
638 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
639install: install-recursive
640uninstall-am: uninstall-binPROGRAMS uninstall-man
641uninstall: uninstall-recursive
642all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
643all-redirect: all-recursive-am
644install-strip:
a2d91340 645 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
252b5132
RH
646installdirs: installdirs-recursive
647installdirs-am:
648 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
649
650
651mostlyclean-generic:
652
653clean-generic:
41b49281 654 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
252b5132
RH
655
656distclean-generic:
657 -rm -f Makefile $(CONFIG_CLEAN_FILES)
658 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
659
660maintainer-clean-generic:
661 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
662mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
663 mostlyclean-compile mostlyclean-libtool \
664 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
665
666mostlyclean: mostlyclean-recursive
667
668clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
669 clean-aminfo clean-tags clean-generic mostlyclean-am
670
671clean: clean-recursive
672
673distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
674 distclean-libtool distclean-aminfo distclean-tags \
675 distclean-generic clean-am
676 -rm -f libtool
677
678distclean: distclean-recursive
679 -rm -f config.status
680
681maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
682 maintainer-clean-compile maintainer-clean-libtool \
683 maintainer-clean-aminfo maintainer-clean-tags \
684 maintainer-clean-generic distclean-am
685 @echo "This command is intended for maintainers to use;"
686 @echo "it deletes files that may require special tools to rebuild."
687
688maintainer-clean: maintainer-clean-recursive
689 -rm -f config.status
690
691.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
692mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
693maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
694mostlyclean-compile distclean-compile clean-compile \
695maintainer-clean-compile mostlyclean-libtool distclean-libtool \
696clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
697mostlyclean-aminfo distclean-aminfo clean-aminfo \
698maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
a2d91340
AC
699uninstall-man install-data-recursive uninstall-data-recursive \
700install-exec-recursive uninstall-exec-recursive installdirs-recursive \
701uninstalldirs-recursive all-recursive check-recursive \
702installcheck-recursive info-recursive dvi-recursive \
703mostlyclean-recursive distclean-recursive clean-recursive \
252b5132
RH
704maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
705distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
706dvi-am dvi check check-am installcheck-am installcheck install-info-am \
707install-info all-recursive-am install-exec-am install-exec \
708install-data-am install-data install-am install uninstall-am uninstall \
a2d91340
AC
709all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
710distclean-generic clean-generic maintainer-clean-generic clean \
711mostlyclean distclean maintainer-clean
252b5132
RH
712
713
c45021f2 714diststuff: $(BUILT_SOURCES) info $(man_MANS)
252b5132
RH
715
716.m.c:
717 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
718 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
719 FILE=$*.m $(srcdir)/$*.m
720po/POTFILES.in: @MAINT@ Makefile
721 for file in $(POTFILES); do echo $$file; done | sort > tmp \
722 && mv tmp $(srcdir)/po/POTFILES.in
723
40f90528
AM
724# Build the man page from the texinfo file
725# The sed command removes the no-adjust Nroff command so that
726# the man output looks standard.
c45021f2
NC
727gprof.1: $(srcdir)/gprof.texi
728 touch $@
40f90528
AM
729 -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
730 -($(POD2MAN) gprof.pod | \
c45021f2
NC
731 sed -e '/^.if n .na/d' > $@.T$$$$ && \
732 mv -f $@.T$$$$ $@) || \
733 (rm -f $@.T$$$$ && exit 1)
40f90528
AM
734 rm -f gprof.pod
735
41b49281
AM
736# Targets to rebuild dependencies in this Makefile.
737# Have to get rid of DEP1 here so that "$?" later includes all sources.
738DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
739 rm -f DEP1
740 $(MAKE) MKDEP="$(MKDEP)" DEP1
0bdaf48b
AM
741 sed -f dep.sed < DEP1 > DEPA
742 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
743 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1581f8c9
AM
744 echo 'make DEP failed!'; exit 1; \
745 else \
0bdaf48b 746 mv -f DEPA $@; \
1581f8c9 747 fi
41b49281
AM
748
749DEP1: $(gprof_SOURCES)
750 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
751 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
752 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
753 mv -f DEP2 $@
754
755dep.sed: dep-in.sed config.status
756 objdir=`pwd`; \
757 sed <$(srcdir)/dep-in.sed >dep.sed \
758 -e 's!@INCDIR@!$(INCDIR)!' \
759 -e 's!@BFDDIR@!$(BFDDIR)!' \
760 -e 's!@SRCDIR@!$(srcdir)!' \
761 -e "s!@OBJDIR@!$${objdir}!"
762
763dep: DEP
764 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
765 cat DEP >> tmp-Makefile
766 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
767
768dep-in: DEP
769 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
770 cat DEP >> tmp-Makefile.in
771 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
772
773dep-am: DEP
774 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
775 cat DEP >> tmp-Makefile.am
776 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
777
778.PHONY: dep dep-in dep-am
779
780# DO NOT DELETE THIS LINE -- mkdep uses it.
781# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
782basic_blocks.o: basic_blocks.c basic_blocks.h gprof.h \
2114f57b
AM
783 $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h ../bfd/config.h \
784 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
785 $(INCDIR)/bin-bugs.h source.h search_list.h symtab.h \
786 ../bfd/bfd.h corefile.h gmon_io.h gmon.h gmon_out.h \
41b49281 787 $(INCDIR)/libiberty.h sym_ids.h
2114f57b
AM
788call_graph.o: call_graph.c cg_arcs.h gprof.h $(INCDIR)/ansidecl.h \
789 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
790 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
41b49281
AM
791 symtab.h ../bfd/bfd.h source.h search_list.h call_graph.h \
792 corefile.h gmon_io.h gmon.h gmon_out.h sym_ids.h
793cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
794 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
2114f57b
AM
795 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
796 call_graph.h symtab.h ../bfd/bfd.h source.h search_list.h \
797 cg_arcs.h cg_dfn.h cg_print.h utils.h sym_ids.h
41b49281
AM
798cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
799 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
2114f57b
AM
800 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
801 cg_arcs.h symtab.h ../bfd/bfd.h source.h search_list.h \
802 cg_dfn.h utils.h
41b49281
AM
803cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
804 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
2114f57b
AM
805 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
806 $(INCDIR)/bin-bugs.h symtab.h ../bfd/bfd.h source.h \
807 search_list.h cg_print.h hist.h utils.h
41b49281
AM
808corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
809 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
2114f57b
AM
810 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
811 corefile.h ../bfd/bfd.h symtab.h source.h search_list.h
812gmon_io.o: gmon_io.c cg_arcs.h gprof.h $(INCDIR)/ansidecl.h \
813 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
814 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
41b49281
AM
815 symtab.h ../bfd/bfd.h source.h search_list.h basic_blocks.h \
816 corefile.h call_graph.h gmon_io.h gmon.h gmon_out.h \
817 hertz.h hist.h $(INCDIR)/libiberty.h
818gprof.o: gprof.c $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
819 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
2114f57b
AM
820 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
821 $(INCDIR)/bin-bugs.h basic_blocks.h source.h search_list.h \
822 symtab.h ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
27b7e12d
AM
823 corefile.h gmon_io.h gmon.h hertz.h hist.h sym_ids.h \
824 $(INCDIR)/demangle.h
2114f57b
AM
825hertz.o: hertz.c hertz.h gprof.h $(INCDIR)/ansidecl.h \
826 $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
827 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h
41b49281
AM
828hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
829 gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
2114f57b
AM
830 $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h \
831 corefile.h ../bfd/bfd.h gmon_io.h gmon.h gmon_out.h \
832 hist.h symtab.h source.h search_list.h sym_ids.h utils.h
833source.o: source.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
834 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
835 gconfig.h $(INCDIR)/bin-bugs.h $(INCDIR)/libiberty.h \
836 search_list.h source.h
41b49281
AM
837search_list.o: search_list.c $(INCDIR)/libiberty.h \
838 $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
2114f57b
AM
839 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
840 $(INCDIR)/bin-bugs.h search_list.h
841symtab.o: symtab.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
842 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
843 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
844 source.h search_list.h corefile.h
41b49281
AM
845sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
846 cg_arcs.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
2114f57b
AM
847 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
848 $(INCDIR)/bin-bugs.h symtab.h ../bfd/bfd.h source.h \
849 search_list.h sym_ids.h
41b49281 850utils.o: utils.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
2114f57b
AM
851 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
852 $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
853 source.h search_list.h
854i386.o: i386.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
855 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
856 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
857 source.h search_list.h corefile.h hist.h
858alpha.o: alpha.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
859 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
860 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
861 source.h search_list.h corefile.h hist.h
862vax.o: vax.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
863 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
864 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
865 source.h search_list.h corefile.h hist.h
866tahoe.o: tahoe.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
867 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
868 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
869 source.h search_list.h corefile.h hist.h
870sparc.o: sparc.c gprof.h $(INCDIR)/ansidecl.h $(BFDDIR)/sysdep.h \
871 ../bfd/config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
872 gconfig.h $(INCDIR)/bin-bugs.h cg_arcs.h symtab.h ../bfd/bfd.h \
873 source.h search_list.h corefile.h hist.h
252b5132 874flat_bl.o: flat_bl.c
41b49281 875bsd_callg_bl.o: bsd_callg_bl.c
252b5132 876fsf_callg_bl.o: fsf_callg_bl.c
41b49281 877# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
252b5132
RH
878
879# Tell versions [3.59,3.63) of GNU make to not export all variables.
880# Otherwise a system limit (for SysV at least) may be exceeded.
881.NOEXPORT:
This page took 0.121861 seconds and 4 git commands to generate.