Change to use automake:
[deliverable/binutils-gdb.git] / gprof / Makefile.in
1 # Makefile.in generated automatically by automake 1.1n from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 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 PACKAGE = @PACKAGE@
65 VERSION = @VERSION@
66
67 AUTOMAKE_OPTIONS = foreign
68
69 SUFFIXES = .m
70
71 INCLUDES = -D_GNU_SOURCE -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
72
73 LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
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_LDFLAGS = $(HLDFLAGS)
84 gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.a ../libiberty/libiberty.a
85 gprof_LDADD = $(MY_TARGET).o @BFDLIB@ ../libiberty/libiberty.a
86
87 noinst_HEADERS = \
88 alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \
89 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
90 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
91 search_list.h source.h sparc.h sym_ids.h symtab.h utils.h
92
93 EXTRA_DIST = \
94 alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \
95 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
96 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
97
98 info_TEXINFOS = gprof.texi
99 man_MANS = gprof.1
100 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
101 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
102 CONFIG_CLEAN_FILES =
103 PROGRAMS = $(bin_PROGRAMS)
104
105
106 DEFS = @DEFS@ -I. -I$(srcdir)
107 CPPFLAGS = @CPPFLAGS@
108 LDFLAGS = @LDFLAGS@
109 LIBS = @LIBS@
110 gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \
111 cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \
112 search_list.o symtab.o sym_ids.o utils.o flat_bl.o bsd_callg_bl.o \
113 fsf_callg_bl.o
114 CFLAGS = @CFLAGS@
115 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
116 MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
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 .o .texi .texinfo .info .dvi .ps .m
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 $(BUILT_SOURCES)
146 cd $(top_builddir) \
147 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
148
149 $(srcdir)/aclocal.m4: @MAINT@ configure.in
150 cd $(srcdir) && $(ACLOCAL)
151
152 config.status: configure
153 $(SHELL) ./config.status --recheck
154 $(srcdir)/configure: @MAINT@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 $(MAKEINFO) -I $(srcdir) $<
210
211 .texi.dvi:
212 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
213 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
214
215 .texi:
216 $(MAKEINFO) -I $(srcdir) $<
217
218 .texinfo.info:
219 $(MAKEINFO) $<
220
221 .texinfo:
222 $(MAKEINFO) $<
223
224 .texinfo.dvi:
225 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
226 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
227 .dvi.ps:
228 $(DVIPS) $< -o $@
229
230 install-info-am: $(INFO_DEPS)
231 @$(NORMAL_INSTALL)
232 $(mkinstalldirs) $(infodir)
233 @for file in $(INFO_DEPS); do \
234 if test -f $$file; then d=.; else d=$(srcdir); fi; \
235 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
236 if test -f $$d/$$ifile; then \
237 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
238 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
239 else : ; fi; \
240 done; \
241 done
242 @$(POST_INSTALL)
243 @if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
244 for file in $(INFO_DEPS); do \
245 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
246 install-info --info-dir=$(infodir) $(infodir)/$$file; :;\
247 done; \
248 else : ; fi
249
250 uninstall-info:
251 $(PRE_UNINSTALL)
252 if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
253 ii=yes; \
254 else ii=; fi; \
255 for file in $(INFO_DEPS); do \
256 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
257 done
258 $(NORMAL_UNINSTALL)
259 for file in $(INFO_DEPS); do \
260 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
261 done
262
263 dist-info: $(INFO_DEPS)
264 for base in $(INFO_DEPS); do \
265 if test -f $$base; then d=.; else d=$(srcdir); fi; \
266 for file in `cd $$d && eval echo $$base*`; do \
267 test -f $(distdir)/$$file \
268 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
269 || cp -p $$d/$$file $(distdir)/$$file; \
270 done; \
271 done
272
273 mostlyclean-info:
274 rm -f gprof.aux gprof.cp gprof.cps gprof.dvi gprof.fn gprof.fns \
275 gprof.ky gprof.log gprof.pg gprof.toc gprof.tp gprof.tps \
276 gprof.vr gprof.vrs gprof.op gprof.tr gprof.cv
277
278 clean-info:
279
280 distclean-info:
281
282 maintainer-clean-info:
283 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
284 install-man: $(MANS)
285 $(NORMAL_INSTALL)
286 $(mkinstalldirs) $(mandir)/man1
287 @sect=1; \
288 inst=`echo "gprof" | sed '$(transform)'`.1; \
289 if test -f $(srcdir)/gprof.1; then file=$(srcdir)/gprof.1; \
290 else file=gprof.1; fi; \
291 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
292 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
293
294 uninstall-man:
295 $(NORMAL_UNINSTALL)
296 inst=`echo "gprof" | sed '$(transform)'`.1; \
297 rm -f $(mandir)/man1/$$inst
298
299
300 tags: TAGS
301
302 ID: $(HEADERS) $(SOURCES)
303 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
304
305 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
306 tags=; \
307 here=`pwd`; \
308 list='$(SUBDIRS)'; for subdir in $$list; do \
309 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
310 done; \
311 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
312 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
313
314 mostlyclean-tags:
315
316 clean-tags:
317
318 distclean-tags:
319 rm -f TAGS ID
320
321 maintainer-clean-tags:
322
323 distdir = $(PACKAGE)-$(VERSION)
324 # This target untars the dist file and tries a VPATH configuration. Then
325 # it guarantees that the distribution is self-contained by making another
326 # tarfile.
327 distcheck: dist
328 rm -rf $(distdir)
329 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
330 mkdir $(distdir)/=build
331 mkdir $(distdir)/=inst
332 dc_install_base=`cd $(distdir)/=inst && pwd`; \
333 cd $(distdir)/=build \
334 && ../configure --srcdir=.. --prefix=$$dc_install_base \
335 && $(MAKE) \
336 && $(MAKE) dvi \
337 && $(MAKE) check \
338 && $(MAKE) install \
339 && $(MAKE) installcheck \
340 && $(MAKE) dist
341 rm -rf $(distdir)
342 @echo "========================"; \
343 echo "$(distdir).tar.gz is ready for distribution"; \
344 echo "========================"
345 dist: distdir
346 -chmod -R a+r $(distdir)
347 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
348 rm -rf $(distdir)
349 dist-all: distdir
350 -chmod -R a+r $(distdir)
351 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
352 rm -rf $(distdir)
353 distdir: $(DISTFILES)
354 rm -rf $(distdir)
355 mkdir $(distdir)
356 -chmod 755 $(distdir)
357 @for file in $(DISTFILES); do \
358 if test -f $$file; then d=.; else d=$(srcdir); fi; \
359 test -f $(distdir)/$$file \
360 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
361 || cp -p $$d/$$file $(distdir)/$$file; \
362 done
363 $(MAKE) distdir="$(distdir)" dist-info
364 info: $(INFO_DEPS)
365 dvi: $(DVIS)
366 check: all
367 $(MAKE)
368 installcheck:
369 install-info: install-info-am
370 install-exec: install-binPROGRAMS
371 @$(NORMAL_INSTALL)
372
373 install-data: install-man
374 @$(NORMAL_INSTALL)
375
376 install: install-exec install-data all
377 @:
378
379 uninstall: uninstall-binPROGRAMS uninstall-man
380
381 all: $(PROGRAMS) $(MANS) $(HEADERS) Makefile
382
383 install-strip:
384 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
385 installdirs:
386 $(mkinstalldirs) $(bindir) $(mandir)/man1
387
388
389 mostlyclean-generic:
390 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
391
392 clean-generic:
393 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
394
395 distclean-generic:
396 rm -f Makefile $(DISTCLEANFILES)
397 rm -f config.cache config.log stamp-h
398 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
399
400 maintainer-clean-generic:
401 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
402 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
403 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
404 mostlyclean-info mostlyclean-tags mostlyclean-generic
405
406 clean: clean-binPROGRAMS clean-compile clean-info clean-tags \
407 clean-generic mostlyclean
408
409 distclean: distclean-binPROGRAMS distclean-compile distclean-info \
410 distclean-tags distclean-generic clean
411 rm -f config.status
412
413 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
414 maintainer-clean-info maintainer-clean-tags \
415 maintainer-clean-generic distclean
416 @echo "This command is intended for maintainers to use;"
417 @echo "it deletes files that may require special tools to rebuild."
418 rm -f config.status
419
420 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
421 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
422 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
423 maintainer-clean-compile install-info-am uninstall-info \
424 mostlyclean-info distclean-info clean-info maintainer-clean-info \
425 install-man uninstall-man tags mostlyclean-tags distclean-tags \
426 clean-tags maintainer-clean-tags distdir info dvi installcheck \
427 install-info install-exec install-data install uninstall all \
428 installdirs mostlyclean-generic distclean-generic clean-generic \
429 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
430
431
432 .m.c:
433 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
434 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
435 FILE=$*.m $(srcdir)/$*.m
436
437 # Dependencies.
438 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
439 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
440 search_list.h source.h sym_ids.h symtab.h utils.h \
441 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
442 $(MY_TARGET).h
443 $(MY_TARGET).o: $(MY_TARGET).c
444 basic_blocks.o: basic_blocks.c
445 bsd_call_bl.o: bsd_call_bl.c
446 call_graph.o: call_graph.c
447 cg_arcs.o: cg_arcs.c
448 cg_dfn.o: cg_dfn.c
449 cg_print.o: cg_print.c
450 core.o: core.c
451 flat_bl.o: flat_bl.c
452 fsf_callg_bl.o: fsf_callg_bl.c
453 gmon_io.o: gmon_io.c
454 gprof.o: gprof.c
455 hertz.o: hertz.c
456 hist.o: hist.c
457 search_list.o: search_list.c
458 source.o: source.c
459 symtab.o: symtab.c
460 sym_ids.o: sym_ids.c
461 utils.o: utils.c
462
463 # Tell versions [3.59,3.63) of GNU make to not export all variables.
464 # Otherwise a system limit (for SysV at least) may be exceeded.
465 .NOEXPORT:
This page took 0.03827 seconds and 5 git commands to generate.