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