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