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