Commit | Line | Data |
---|---|---|
50fb7977 | 1 | # Makefile.in generated automatically by automake 1.2 from Makefile.am |
89a471fe | 2 | |
c78b9c25 | 3 | # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. |
2f1fec47 ILT |
4 | # This Makefile.in is free software; the Free Software Foundation |
5 | # gives unlimited permission to copy, distribute and modify it. | |
6 | ||
7 | ||
c3de2a19 | 8 | SHELL = @SHELL@ |
9cda8e3a | 9 | |
7858d8dc | 10 | srcdir = @srcdir@ |
2f1fec47 ILT |
11 | top_srcdir = @top_srcdir@ |
12 | VPATH = @srcdir@ | |
7858d8dc | 13 | prefix = @prefix@ |
2f1fec47 | 14 | exec_prefix = @exec_prefix@ |
7858d8dc | 15 | |
2f1fec47 ILT |
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@ | |
2f1fec47 ILT |
58 | CC = @CC@ |
59 | EXEEXT = @EXEEXT@ | |
274e44ae ILT |
60 | LD = @LD@ |
61 | LIBTOOL = @LIBTOOL@ | |
62 | LN_S = @LN_S@ | |
2f1fec47 | 63 | MAINT = @MAINT@ |
3b66bca3 | 64 | MAKEINFO = @MAKEINFO@ |
fa1a1b32 | 65 | NM = @NM@ |
2f1fec47 | 66 | PACKAGE = @PACKAGE@ |
274e44ae | 67 | RANLIB = @RANLIB@ |
2f1fec47 | 68 | VERSION = @VERSION@ |
7858d8dc | 69 | |
c3de2a19 | 70 | AUTOMAKE_OPTIONS = cygnus |
f4a0f42d | 71 | |
2f1fec47 | 72 | SUFFIXES = .m |
f4a0f42d | 73 | |
c3de2a19 | 74 | INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd |
f4a0f42d | 75 | |
2f1fec47 | 76 | bin_PROGRAMS = gprof |
c98f0ae5 | 77 | |
2f1fec47 ILT |
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 \ | |
c3de2a19 ILT |
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 | |
5489fcc3 | 85 | |
2f1fec47 | 86 | noinst_HEADERS = \ |
2f1fec47 ILT |
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 \ | |
c3de2a19 ILT |
89 | search_list.h source.h sym_ids.h symtab.h utils.h |
90 | ||
249da916 | 91 | EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl |
c98f0ae5 | 92 | |
2f1fec47 | 93 | BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c |
3d3e494e | 94 | |
2f1fec47 ILT |
95 | info_TEXINFOS = gprof.texi |
96 | man_MANS = gprof.1 | |
97 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
98 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
274e44ae | 99 | CONFIG_HEADER = gconfig.h |
2f1fec47 | 100 | CONFIG_CLEAN_FILES = |
274e44ae | 101 | bin_PROGRAMS = gprof$(EXEEXT) |
2f1fec47 ILT |
102 | PROGRAMS = $(bin_PROGRAMS) |
103 | ||
104 | ||
274e44ae | 105 | DEFS = @DEFS@ -I. -I$(srcdir) -I. |
2f1fec47 ILT |
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 \ | |
c3de2a19 | 112 | fsf_callg_bl.o i386.o alpha.o vax.o tahoe.o sparc.o |
274e44ae | 113 | gprof_LDFLAGS = |
2f1fec47 ILT |
114 | CFLAGS = @CFLAGS@ |
115 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
274e44ae ILT |
116 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
117 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
2f1fec47 ILT |
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 | ||
274e44ae ILT |
128 | DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \ |
129 | aclocal.m4 configure configure.in gconfig.in stamp-h.in | |
2f1fec47 ILT |
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: | |
c3de2a19 | 142 | .SUFFIXES: .S .c .dvi .info .lo .m .o .ps .s .texi .texinfo |
2f1fec47 ILT |
143 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
144 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
145 | ||
3b66bca3 | 146 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
2f1fec47 ILT |
147 | cd $(top_builddir) \ |
148 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
149 | ||
3b66bca3 | 150 | $(ACLOCAL_M4): @MAINT@ configure.in |
2f1fec47 ILT |
151 | cd $(srcdir) && $(ACLOCAL) |
152 | ||
3b66bca3 | 153 | config.status: $(srcdir)/configure |
2f1fec47 | 154 | $(SHELL) ./config.status --recheck |
3b66bca3 | 155 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
2f1fec47 ILT |
156 | cd $(srcdir) && $(AUTOCONF) |
157 | ||
42a62317 | 158 | gconfig.h: stamp-h ; @: |
274e44ae ILT |
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 | ||
2f1fec47 ILT |
178 | mostlyclean-binPROGRAMS: |
179 | ||
180 | clean-binPROGRAMS: | |
274e44ae | 181 | test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
2f1fec47 ILT |
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 \ | |
274e44ae ILT |
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)'`; \ | |
2f1fec47 ILT |
194 | else :; fi; \ |
195 | done | |
196 | ||
197 | uninstall-binPROGRAMS: | |
198 | $(NORMAL_UNINSTALL) | |
199 | list='$(bin_PROGRAMS)'; for p in $$list; do \ | |
274e44ae | 200 | rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \ |
2f1fec47 | 201 | done |
c98f0ae5 | 202 | |
c3de2a19 ILT |
203 | .s.o: |
204 | $(COMPILE) -c $< | |
205 | ||
206 | .S.o: | |
207 | $(COMPILE) -c $< | |
208 | ||
9138a2e2 | 209 | .c.o: |
2f1fec47 | 210 | $(COMPILE) -c $< |
89a471fe | 211 | |
2f1fec47 ILT |
212 | mostlyclean-compile: |
213 | rm -f *.o core | |
c98f0ae5 | 214 | |
2f1fec47 | 215 | clean-compile: |
3d3e494e | 216 | |
2f1fec47 ILT |
217 | distclean-compile: |
218 | rm -f *.tab.c | |
3d3e494e | 219 | |
2f1fec47 | 220 | maintainer-clean-compile: |
2518bf37 | 221 | |
274e44ae ILT |
222 | .c.lo: |
223 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
224 | ||
c3de2a19 ILT |
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 | ||
274e44ae ILT |
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) | |
2f1fec47 ILT |
243 | @rm -f gprof$(EXEEXT) |
244 | $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS) | |
2518bf37 | 245 | |
2f1fec47 | 246 | gprof.info: gprof.texi |
2518bf37 | 247 | gprof.dvi: gprof.texi |
2518bf37 | 248 | |
2518bf37 | 249 | |
2f1fec47 | 250 | DVIPS = dvips |
3d3e494e | 251 | |
2f1fec47 | 252 | .texi.info: |
3b66bca3 | 253 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
2f1fec47 ILT |
254 | $(MAKEINFO) -I $(srcdir) $< |
255 | ||
256 | .texi.dvi: | |
257 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
258 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
259 | ||
260 | .texi: | |
3b66bca3 | 261 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
2f1fec47 ILT |
262 | $(MAKEINFO) -I $(srcdir) $< |
263 | ||
264 | .texinfo.info: | |
3b66bca3 | 265 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
274e44ae | 266 | $(MAKEINFO) -I $(srcdir) $< |
2f1fec47 ILT |
267 | |
268 | .texinfo: | |
3b66bca3 | 269 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
274e44ae | 270 | $(MAKEINFO) -I $(srcdir) $< |
2f1fec47 ILT |
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) | |
3b66bca3 | 291 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
2f1fec47 ILT |
292 | for file in $(INFO_DEPS); do \ |
293 | echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\ | |
c78b9c25 | 294 | install-info --info-dir=$(infodir) $(infodir)/$$file || :;\ |
2f1fec47 ILT |
295 | done; \ |
296 | else : ; fi | |
297 | ||
298 | uninstall-info: | |
299 | $(PRE_UNINSTALL) | |
3b66bca3 | 300 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
2f1fec47 ILT |
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 | |
a215e6f9 | 320 | |
3b66bca3 | 321 | mostlyclean-aminfo: |
2f1fec47 ILT |
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 | ||
3b66bca3 | 326 | clean-aminfo: |
2f1fec47 | 327 | |
3b66bca3 | 328 | distclean-aminfo: |
2f1fec47 | 329 | |
3b66bca3 | 330 | maintainer-clean-aminfo: |
2f1fec47 | 331 | for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done |
3b66bca3 | 332 | clean-info: mostlyclean-aminfo |
2f1fec47 ILT |
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 | ||
274e44ae | 354 | TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) |
2f1fec47 ILT |
355 | tags=; \ |
356 | here=`pwd`; \ | |
274e44ae ILT |
357 | test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \ |
358 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS) | |
2f1fec47 ILT |
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) | |
3b66bca3 ILT |
370 | top_distdir = $(distdir) |
371 | ||
2f1fec47 ILT |
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) | |
3b66bca3 | 404 | -chmod 777 $(distdir) |
2f1fec47 ILT |
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; \ | |
2518bf37 | 410 | done |
3b66bca3 | 411 | $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
2f1fec47 ILT |
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) | |
2518bf37 | 420 | |
2f1fec47 ILT |
421 | install-data: install-man |
422 | @$(NORMAL_INSTALL) | |
c98f0ae5 | 423 | |
2f1fec47 ILT |
424 | install: install-exec install-data all |
425 | @: | |
89a471fe | 426 | |
2f1fec47 | 427 | uninstall: uninstall-binPROGRAMS uninstall-man |
9388476b | 428 | |
274e44ae | 429 | all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h |
9388476b | 430 | |
2f1fec47 | 431 | install-strip: |
c78b9c25 | 432 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install |
2f1fec47 ILT |
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) | |
3b66bca3 | 445 | rm -f config.cache config.log stamp-h stamp-h[0-9]* |
2f1fec47 ILT |
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) | |
274e44ae ILT |
451 | mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \ |
452 | mostlyclean-compile mostlyclean-libtool \ | |
3b66bca3 | 453 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic |
2f1fec47 | 454 | |
274e44ae ILT |
455 | clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \ |
456 | clean-aminfo clean-tags clean-generic mostlyclean | |
9388476b | 457 | |
274e44ae ILT |
458 | distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \ |
459 | distclean-libtool distclean-aminfo distclean-tags \ | |
460 | distclean-generic clean | |
2f1fec47 | 461 | rm -f config.status |
274e44ae | 462 | rm -f libtool |
869b94c5 | 463 | |
274e44ae ILT |
464 | maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ |
465 | maintainer-clean-compile maintainer-clean-libtool \ | |
3b66bca3 | 466 | maintainer-clean-aminfo maintainer-clean-tags \ |
2f1fec47 ILT |
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 | ||
274e44ae ILT |
472 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ |
473 | maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \ | |
2f1fec47 ILT |
474 | clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ |
475 | install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \ | |
274e44ae ILT |
476 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
477 | clean-libtool maintainer-clean-libtool install-info-am uninstall-info \ | |
3b66bca3 ILT |
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 \ | |
2f1fec47 ILT |
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 \ | |
c3de2a19 | 496 | gconfig.h ../bfd/config.h |
5489fcc3 KR |
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 | |
3d3e494e | 504 | flat_bl.o: flat_bl.c |
3d3e494e | 505 | fsf_callg_bl.o: fsf_callg_bl.c |
5489fcc3 KR |
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 | |
c3de2a19 ILT |
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 | |
2f1fec47 ILT |
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: |