* Makefile.in (M32R_OBJS): Add cpu.o.
[deliverable/binutils-gdb.git] / gprof / Makefile.in
1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = @SHELL@
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = .
34
35 ACLOCAL = @ACLOCAL@
36 AUTOCONF = @AUTOCONF@
37 AUTOMAKE = @AUTOMAKE@
38 AUTOHEADER = @AUTOHEADER@
39
40 INSTALL = @INSTALL@
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 INSTALL_DATA = @INSTALL_DATA@
43 INSTALL_SCRIPT = @INSTALL_SCRIPT@
44 transform = @program_transform_name@
45
46 NORMAL_INSTALL = true
47 PRE_INSTALL = true
48 POST_INSTALL = true
49 NORMAL_UNINSTALL = true
50 PRE_UNINSTALL = true
51 POST_UNINSTALL = true
52 build_alias = @build_alias@
53 build_triplet = @build@
54 host_alias = @host_alias@
55 host_triplet = @host@
56 target_alias = @target_alias@
57 target_triplet = @target@
58 CC = @CC@
59 EXEEXT = @EXEEXT@
60 LD = @LD@
61 LIBTOOL = @LIBTOOL@
62 LN_S = @LN_S@
63 MAINT = @MAINT@
64 MAKEINFO = @MAKEINFO@
65 NM = @NM@
66 PACKAGE = @PACKAGE@
67 RANLIB = @RANLIB@
68 VERSION = @VERSION@
69
70 AUTOMAKE_OPTIONS = cygnus
71
72 SUFFIXES = .m
73
74 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
75
76 bin_PROGRAMS = gprof
77
78 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
79 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
80 search_list.c symtab.c sym_ids.c utils.c \
81 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
82 i386.c alpha.c vax.c tahoe.c sparc.c
83 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
84 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a
85
86 noinst_HEADERS = \
87 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
88 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
89 search_list.h source.h sym_ids.h symtab.h utils.h
90
91 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
92
93 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
94
95 info_TEXINFOS = gprof.texi
96 man_MANS = gprof.1
97 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
99 CONFIG_HEADER = gconfig.h
100 CONFIG_CLEAN_FILES =
101 bin_PROGRAMS = gprof$(EXEEXT)
102 PROGRAMS = $(bin_PROGRAMS)
103
104
105 DEFS = @DEFS@ -I. -I$(srcdir) -I.
106 CPPFLAGS = @CPPFLAGS@
107 LDFLAGS = @LDFLAGS@
108 LIBS = @LIBS@
109 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
110 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
111 search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
112 fsf_callg_bl.o i386.o alpha.o vax.o tahoe.o sparc.o
113 gprof_LDFLAGS =
114 CFLAGS = @CFLAGS@
115 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
116 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
117 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
118 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
119 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
120 INFO_DEPS = gprof.info
121 DVIS = gprof.dvi
122 TEXINFOS = gprof.texi
123 MANS = gprof.1
124
125 NROFF = nroff
126 HEADERS = $(noinst_HEADERS)
127
128 DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \
129 aclocal.m4 configure configure.in gconfig.in stamp-h.in
130
131
132 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
133
134 TAR = tar
135 GZIP = --best
136 SOURCES = $(gprof_SOURCES)
137 OBJECTS = $(gprof_OBJECTS)
138
139 default: all
140
141 .SUFFIXES:
142 .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo
143 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
145
146 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
147 cd $(top_builddir) \
148 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
149
150 $(ACLOCAL_M4): @MAINT@ configure.in
151 cd $(srcdir) && $(ACLOCAL)
152
153 config.status: $(srcdir)/configure
154 $(SHELL) ./config.status --recheck
155 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
156 cd $(srcdir) && $(AUTOCONF)
157
158 gconfig.h: stamp-h ; @:
159 stamp-h: $(srcdir)/gconfig.in $(top_builddir)/config.status
160 cd $(top_builddir) \
161 && CONFIG_FILES= CONFIG_HEADERS=gconfig.h:gconfig.in \
162 $(SHELL) ./config.status
163 @echo timestamp > stamp-h
164 $(srcdir)/gconfig.in: @MAINT@$(srcdir)/stamp-h.in
165 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
166 cd $(top_srcdir) && $(AUTOHEADER)
167 @echo timestamp > $(srcdir)/stamp-h.in
168
169 mostlyclean-hdr:
170
171 clean-hdr:
172
173 distclean-hdr:
174 rm -f gconfig.h
175
176 maintainer-clean-hdr:
177
178 mostlyclean-binPROGRAMS:
179
180 clean-binPROGRAMS:
181 test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
182
183 distclean-binPROGRAMS:
184
185 maintainer-clean-binPROGRAMS:
186
187 install-binPROGRAMS: $(bin_PROGRAMS)
188 @$(NORMAL_INSTALL)
189 $(mkinstalldirs) $(bindir)
190 @list='$(bin_PROGRAMS)'; for p in $$list; do \
191 if test -f $$p; then \
192 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
193 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
194 else :; fi; \
195 done
196
197 uninstall-binPROGRAMS:
198 $(NORMAL_UNINSTALL)
199 list='$(bin_PROGRAMS)'; for p in $$list; do \
200 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
201 done
202
203 .s.o:
204 $(COMPILE) -c $<
205
206 .S.o:
207 $(COMPILE) -c $<
208
209 .c.o:
210 $(COMPILE) -c $<
211
212 mostlyclean-compile:
213 rm -f *.o core
214
215 clean-compile:
216
217 distclean-compile:
218 rm -f *.tab.c
219
220 maintainer-clean-compile:
221
222 .c.lo:
223 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
224
225 # These are just copies of the above rule.
226 .s.lo:
227 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
228
229 .S.lo:
230 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
231
232 mostlyclean-libtool:
233 rm -f *.lo
234
235 clean-libtool:
236 rm -rf .libs
237
238 distclean-libtool:
239
240 maintainer-clean-libtool:
241
242 gprof$(EXEEXT): $(gprof_OBJECTS) $(gprof_DEPENDENCIES)
243 @rm -f gprof$(EXEEXT)
244 $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS)
245
246 gprof.info: gprof.texi
247 gprof.dvi: gprof.texi
248
249
250 DVIPS = dvips
251
252 .texi.info:
253 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
254 $(MAKEINFO) -I $(srcdir) $<
255
256 .texi.dvi:
257 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
258 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
259
260 .texi:
261 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
262 $(MAKEINFO) -I $(srcdir) $<
263
264 .texinfo.info:
265 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
266 $(MAKEINFO) -I $(srcdir) $<
267
268 .texinfo:
269 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
270 $(MAKEINFO) -I $(srcdir) $<
271
272 .texinfo.dvi:
273 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
274 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
275 .dvi.ps:
276 $(DVIPS) $< -o $@
277
278 install-info-am: $(INFO_DEPS)
279 @$(NORMAL_INSTALL)
280 $(mkinstalldirs) $(infodir)
281 @for file in $(INFO_DEPS); do \
282 if test -f $$file; then d=.; else d=$(srcdir); fi; \
283 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
284 if test -f $$d/$$ifile; then \
285 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
286 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
287 else : ; fi; \
288 done; \
289 done
290 @$(POST_INSTALL)
291 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
292 for file in $(INFO_DEPS); do \
293 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
294 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
295 done; \
296 else : ; fi
297
298 uninstall-info:
299 $(PRE_UNINSTALL)
300 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
301 ii=yes; \
302 else ii=; fi; \
303 for file in $(INFO_DEPS); do \
304 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
305 done
306 $(NORMAL_UNINSTALL)
307 for file in $(INFO_DEPS); do \
308 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
309 done
310
311 dist-info: $(INFO_DEPS)
312 for base in $(INFO_DEPS); do \
313 if test -f $$base; then d=.; else d=$(srcdir); fi; \
314 for file in `cd $$d && eval echo $$base*`; do \
315 test -f $(distdir)/$$file \
316 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
317 || cp -p $$d/$$file $(distdir)/$$file; \
318 done; \
319 done
320
321 mostlyclean-aminfo:
322 rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
323 gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
324 gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
325
326 clean-aminfo:
327
328 distclean-aminfo:
329
330 maintainer-clean-aminfo:
331 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
332 clean-info: mostlyclean-aminfo
333 install-man: $(MANS)
334 $(NORMAL_INSTALL)
335 $(mkinstalldirs) $(mandir)/man1
336 @sect=1; \
337 inst=`echo "gprof" | sed '$(transform)'`.1; \
338 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
339 else file=gprof.1; fi; \
340 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
341 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
342
343 uninstall-man:
344 $(NORMAL_UNINSTALL)
345 inst=`echo "gprof" | sed '$(transform)'`.1; \
346 rm -f $(mandir)/man1/$$inst
347
348
349 tags: TAGS
350
351 ID: $(HEADERS) $(SOURCES)
352 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
353
354 TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES)
355 tags=; \
356 here=`pwd`; \
357 test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \
358 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
359
360 mostlyclean-tags:
361
362 clean-tags:
363
364 distclean-tags:
365 rm -f TAGS ID
366
367 maintainer-clean-tags:
368
369 distdir = $(PACKAGE)-$(VERSION)
370 top_distdir = $(distdir)
371
372 # This target untars the dist file and tries a VPATH configuration. Then
373 # it guarantees that the distribution is self-contained by making another
374 # tarfile.
375 distcheck: dist
376 rm -rf $(distdir)
377 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
378 mkdir $(distdir)/=build
379 mkdir $(distdir)/=inst
380 dc_install_base=`cd $(distdir)/=inst && pwd`; \
381 cd $(distdir)/=build \
382 && ../configure --srcdir=.. --prefix=$$dc_install_base \
383 && $(MAKE) \
384 && $(MAKE) dvi \
385 && $(MAKE) check \
386 && $(MAKE) install \
387 && $(MAKE) installcheck \
388 && $(MAKE) dist
389 rm -rf $(distdir)
390 @echo "========================"; \
391 echo "$(distdir).tar.gz is ready for distribution"; \
392 echo "========================"
393 dist: distdir
394 -chmod -R a+r $(distdir)
395 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
396 rm -rf $(distdir)
397 dist-all: distdir
398 -chmod -R a+r $(distdir)
399 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
400 rm -rf $(distdir)
401 distdir: $(DISTFILES)
402 rm -rf $(distdir)
403 mkdir $(distdir)
404 -chmod 777 $(distdir)
405 @for file in $(DISTFILES); do \
406 if test -f $$file; then d=.; else d=$(srcdir); fi; \
407 test -f $(distdir)/$$file \
408 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
409 || cp -p $$d/$$file $(distdir)/$$file; \
410 done
411 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
412 info: $(INFO_DEPS)
413 dvi: $(DVIS)
414 check: all
415 $(MAKE)
416 installcheck:
417 install-info: install-info-am
418 install-exec: install-binPROGRAMS
419 @$(NORMAL_INSTALL)
420
421 install-data: install-man
422 @$(NORMAL_INSTALL)
423
424 install: install-exec install-data all
425 @:
426
427 uninstall: uninstall-binPROGRAMS uninstall-man
428
429 all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
430
431 install-strip:
432 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
433 installdirs:
434 $(mkinstalldirs) $(bindir) $(mandir)/man1
435
436
437 mostlyclean-generic:
438 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
439
440 clean-generic:
441 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
442
443 distclean-generic:
444 rm -f Makefile $(DISTCLEANFILES)
445 rm -f config.cache config.log stamp-h stamp-h[0-9]*
446 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
447
448 maintainer-clean-generic:
449 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
450 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
451 mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
452 mostlyclean-compile mostlyclean-libtool \
453 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
454
455 clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
456 clean-aminfo clean-tags clean-generic mostlyclean
457
458 distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
459 distclean-libtool distclean-aminfo distclean-tags \
460 distclean-generic clean
461 rm -f config.status
462 rm -f libtool
463
464 maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
465 maintainer-clean-compile maintainer-clean-libtool \
466 maintainer-clean-aminfo maintainer-clean-tags \
467 maintainer-clean-generic distclean
468 @echo "This command is intended for maintainers to use;"
469 @echo "it deletes files that may require special tools to rebuild."
470 rm -f config.status
471
472 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
473 maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
474 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
475 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
476 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
477 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
478 mostlyclean-aminfo distclean-aminfo clean-aminfo \
479 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
480 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
481 installcheck install-info install-exec install-data install uninstall \
482 all installdirs mostlyclean-generic distclean-generic clean-generic \
483 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
484
485
486 .m.c:
487 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
488 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
489 FILE=$*.m $(srcdir)/$*.m
490
491 # Dependencies.
492 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
493 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
494 search_list.h source.h sym_ids.h symtab.h utils.h \
495 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
496 gconfig.h ../bfd/config.h
497 basic_blocks.o: basic_blocks.c
498 bsd_call_bl.o: bsd_call_bl.c
499 call_graph.o: call_graph.c
500 cg_arcs.o: cg_arcs.c
501 cg_dfn.o: cg_dfn.c
502 cg_print.o: cg_print.c
503 core.o: core.c
504 flat_bl.o: flat_bl.c
505 fsf_callg_bl.o: fsf_callg_bl.c
506 gmon_io.o: gmon_io.c
507 gprof.o: gprof.c
508 hertz.o: hertz.c
509 hist.o: hist.c
510 search_list.o: search_list.c
511 source.o: source.c
512 symtab.o: symtab.c
513 sym_ids.o: sym_ids.c
514 utils.o: utils.c
515 i386.o: i386.c
516 alpha.o: alpha.c
517 vax.o: vax.c
518 tahoe.o: tahoe.c
519 sparc.o: sparc.c
520
521 # Tell versions [3.59,3.63) of GNU make to not export all variables.
522 # Otherwise a system limit (for SysV at least) may be exceeded.
523 .NOEXPORT:
This page took 0.044546 seconds and 4 git commands to generate.