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