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 | ||
8 | SHELL = /bin/sh | |
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@ |
2f1fec47 | 65 | PACKAGE = @PACKAGE@ |
274e44ae | 66 | RANLIB = @RANLIB@ |
2f1fec47 | 67 | VERSION = @VERSION@ |
7858d8dc | 68 | |
2f1fec47 | 69 | AUTOMAKE_OPTIONS = foreign |
f4a0f42d | 70 | |
2f1fec47 | 71 | SUFFIXES = .m |
f4a0f42d | 72 | |
3b66bca3 | 73 | INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd |
3ecd5c7d | 74 | |
2f1fec47 | 75 | MY_TARGET = @MY_TARGET@ |
f4a0f42d | 76 | |
2f1fec47 | 77 | bin_PROGRAMS = gprof |
c98f0ae5 | 78 | |
2f1fec47 ILT |
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 | |
274e44ae ILT |
83 | gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a |
84 | gprof_LDADD = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a | |
5489fcc3 | 85 | |
2f1fec47 ILT |
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 | |
c98f0ae5 | 91 | |
2f1fec47 ILT |
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 | |
3d3e494e | 96 | |
2f1fec47 ILT |
97 | info_TEXINFOS = gprof.texi |
98 | man_MANS = gprof.1 | |
99 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
100 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
274e44ae | 101 | CONFIG_HEADER = gconfig.h |
2f1fec47 | 102 | CONFIG_CLEAN_FILES = |
274e44ae | 103 | bin_PROGRAMS = gprof$(EXEEXT) |
2f1fec47 ILT |
104 | PROGRAMS = $(bin_PROGRAMS) |
105 | ||
106 | ||
274e44ae | 107 | DEFS = @DEFS@ -I. -I$(srcdir) -I. |
2f1fec47 ILT |
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 | |
274e44ae | 115 | gprof_LDFLAGS = |
2f1fec47 ILT |
116 | CFLAGS = @CFLAGS@ |
117 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
274e44ae ILT |
118 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
119 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
2f1fec47 ILT |
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 | ||
274e44ae ILT |
130 | DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO acconfig.h \ |
131 | aclocal.m4 configure configure.in gconfig.in stamp-h.in | |
2f1fec47 ILT |
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: | |
274e44ae | 144 | .SUFFIXES: .c .dvi .info .lo .m .o .ps .texi .texinfo |
2f1fec47 ILT |
145 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
146 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
147 | ||
3b66bca3 | 148 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
2f1fec47 ILT |
149 | cd $(top_builddir) \ |
150 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
151 | ||
3b66bca3 | 152 | $(ACLOCAL_M4): @MAINT@ configure.in |
2f1fec47 ILT |
153 | cd $(srcdir) && $(ACLOCAL) |
154 | ||
3b66bca3 | 155 | config.status: $(srcdir)/configure |
2f1fec47 | 156 | $(SHELL) ./config.status --recheck |
3b66bca3 | 157 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
2f1fec47 ILT |
158 | cd $(srcdir) && $(AUTOCONF) |
159 | ||
42a62317 | 160 | gconfig.h: stamp-h ; @: |
274e44ae ILT |
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 | ||
2f1fec47 ILT |
180 | mostlyclean-binPROGRAMS: |
181 | ||
182 | clean-binPROGRAMS: | |
274e44ae | 183 | test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
2f1fec47 ILT |
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 \ | |
274e44ae ILT |
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)'`; \ | |
2f1fec47 ILT |
196 | else :; fi; \ |
197 | done | |
198 | ||
199 | uninstall-binPROGRAMS: | |
200 | $(NORMAL_UNINSTALL) | |
201 | list='$(bin_PROGRAMS)'; for p in $$list; do \ | |
274e44ae | 202 | rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \ |
2f1fec47 | 203 | done |
c98f0ae5 | 204 | |
9138a2e2 | 205 | .c.o: |
2f1fec47 | 206 | $(COMPILE) -c $< |
89a471fe | 207 | |
2f1fec47 ILT |
208 | mostlyclean-compile: |
209 | rm -f *.o core | |
c98f0ae5 | 210 | |
2f1fec47 | 211 | clean-compile: |
3d3e494e | 212 | |
2f1fec47 ILT |
213 | distclean-compile: |
214 | rm -f *.tab.c | |
3d3e494e | 215 | |
2f1fec47 | 216 | maintainer-clean-compile: |
2518bf37 | 217 | |
274e44ae ILT |
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) | |
2f1fec47 ILT |
232 | @rm -f gprof$(EXEEXT) |
233 | $(LINK) $(gprof_LDFLAGS) $(gprof_OBJECTS) $(gprof_LDADD) $(LIBS) | |
2518bf37 | 234 | |
2f1fec47 | 235 | gprof.info: gprof.texi |
2518bf37 | 236 | gprof.dvi: gprof.texi |
2518bf37 | 237 | |
2518bf37 | 238 | |
2f1fec47 | 239 | DVIPS = dvips |
3d3e494e | 240 | |
2f1fec47 | 241 | .texi.info: |
3b66bca3 | 242 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
2f1fec47 ILT |
243 | $(MAKEINFO) -I $(srcdir) $< |
244 | ||
245 | .texi.dvi: | |
246 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
247 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
248 | ||
249 | .texi: | |
3b66bca3 | 250 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
2f1fec47 ILT |
251 | $(MAKEINFO) -I $(srcdir) $< |
252 | ||
253 | .texinfo.info: | |
3b66bca3 | 254 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
274e44ae | 255 | $(MAKEINFO) -I $(srcdir) $< |
2f1fec47 ILT |
256 | |
257 | .texinfo: | |
3b66bca3 | 258 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
274e44ae | 259 | $(MAKEINFO) -I $(srcdir) $< |
2f1fec47 ILT |
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) | |
3b66bca3 | 280 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
2f1fec47 ILT |
281 | for file in $(INFO_DEPS); do \ |
282 | echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\ | |
c78b9c25 | 283 | install-info --info-dir=$(infodir) $(infodir)/$$file || :;\ |
2f1fec47 ILT |
284 | done; \ |
285 | else : ; fi | |
286 | ||
287 | uninstall-info: | |
288 | $(PRE_UNINSTALL) | |
3b66bca3 | 289 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
2f1fec47 ILT |
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 | |
a215e6f9 | 309 | |
3b66bca3 | 310 | mostlyclean-aminfo: |
2f1fec47 ILT |
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 | ||
3b66bca3 | 315 | clean-aminfo: |
2f1fec47 | 316 | |
3b66bca3 | 317 | distclean-aminfo: |
2f1fec47 | 318 | |
3b66bca3 | 319 | maintainer-clean-aminfo: |
2f1fec47 | 320 | for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done |
3b66bca3 | 321 | clean-info: mostlyclean-aminfo |
2f1fec47 ILT |
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 | ||
274e44ae | 343 | TAGS: $(HEADERS) $(SOURCES) gconfig.in $(TAGS_DEPENDENCIES) |
2f1fec47 ILT |
344 | tags=; \ |
345 | here=`pwd`; \ | |
274e44ae ILT |
346 | test -z "$(ETAGS_ARGS)gconfig.in$(SOURCES)$(HEADERS)$$tags" \ |
347 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags gconfig.in $(SOURCES) $(HEADERS) -o $$here/TAGS) | |
2f1fec47 ILT |
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) | |
3b66bca3 ILT |
359 | top_distdir = $(distdir) |
360 | ||
2f1fec47 ILT |
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) | |
3b66bca3 | 393 | -chmod 777 $(distdir) |
2f1fec47 ILT |
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; \ | |
2518bf37 | 399 | done |
3b66bca3 | 400 | $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
2f1fec47 ILT |
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) | |
2518bf37 | 409 | |
2f1fec47 ILT |
410 | install-data: install-man |
411 | @$(NORMAL_INSTALL) | |
c98f0ae5 | 412 | |
2f1fec47 ILT |
413 | install: install-exec install-data all |
414 | @: | |
89a471fe | 415 | |
2f1fec47 | 416 | uninstall: uninstall-binPROGRAMS uninstall-man |
9388476b | 417 | |
274e44ae | 418 | all: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h |
9388476b | 419 | |
2f1fec47 | 420 | install-strip: |
c78b9c25 | 421 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install |
2f1fec47 ILT |
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) | |
3b66bca3 | 434 | rm -f config.cache config.log stamp-h stamp-h[0-9]* |
2f1fec47 ILT |
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) | |
274e44ae ILT |
440 | mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \ |
441 | mostlyclean-compile mostlyclean-libtool \ | |
3b66bca3 | 442 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic |
2f1fec47 | 443 | |
274e44ae ILT |
444 | clean: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \ |
445 | clean-aminfo clean-tags clean-generic mostlyclean | |
9388476b | 446 | |
274e44ae ILT |
447 | distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \ |
448 | distclean-libtool distclean-aminfo distclean-tags \ | |
449 | distclean-generic clean | |
2f1fec47 | 450 | rm -f config.status |
274e44ae | 451 | rm -f libtool |
869b94c5 | 452 | |
274e44ae ILT |
453 | maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ |
454 | maintainer-clean-compile maintainer-clean-libtool \ | |
3b66bca3 | 455 | maintainer-clean-aminfo maintainer-clean-tags \ |
2f1fec47 ILT |
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 | ||
274e44ae ILT |
461 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ |
462 | maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \ | |
2f1fec47 ILT |
463 | clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ |
464 | install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \ | |
274e44ae ILT |
465 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
466 | clean-libtool maintainer-clean-libtool install-info-am uninstall-info \ | |
3b66bca3 ILT |
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 \ | |
2f1fec47 ILT |
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 \ | |
274e44ae | 485 | gconfig.h ../bfd/config.h $(MY_TARGET).h |
4c92f064 | 486 | $(MY_TARGET).o: $(MY_TARGET).c |
5489fcc3 KR |
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 | |
3d3e494e | 494 | flat_bl.o: flat_bl.c |
3d3e494e | 495 | fsf_callg_bl.o: fsf_callg_bl.c |
5489fcc3 KR |
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 | |
2f1fec47 ILT |
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: |