OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gprof/] [Makefile.am] - Blame information for rev 854

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
5
 
6
SUFFIXES = .m
7
 
8
SUBDIRS = po
9
 
10
BASEDIR = $(srcdir)/..
11
BFDDIR = $(BASEDIR)/bfd
12
INCDIR  = $(BASEDIR)/include
13
 
14
WARN_CFLAGS = @WARN_CFLAGS@
15
NO_WERROR = @NO_WERROR@
16
AM_CFLAGS = $(WARN_CFLAGS)
17
 
18
MKDEP = gcc -MM
19
 
20
INCLUDES = -DDEBUG -I../bfd -I$(srcdir)/../include \
21
        -I$(srcdir)/../bfd @INCINTL@ -I. \
22
        -DLOCALEDIR="\"$(datadir)/locale\""
23
 
24
bin_PROGRAMS = gprof
25
 
26
## Convenience var listing pure sources.
27
sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
28
        cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
29
        search_list.c symtab.c sym_ids.c utils.c \
30
        i386.c alpha.c vax.c tahoe.c sparc.c mips.c
31
gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
32
gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL_DEP)
33
gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL)
34
 
35
noinst_HEADERS = \
36
        basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
37
        corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
38
        search_list.h source.h sym_ids.h symtab.h utils.h
39
 
40
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
41
EXTRA_DIST    = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
42
 
43
diststuff: $(BUILT_SOURCES) info $(man_MANS)
44
 
45
# This empty rule is a hack against gmake patched by Apple.
46
%.o:%.m
47
 
48
.m.c:
49
        awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
50
            FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
51
            FILE=$*.m $(srcdir)/$*.m
52
 
53
POTFILES = $(sources) $(noinst_HEADERS)
54
po/POTFILES.in: @MAINT@ Makefile
55
        for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
56
          && mv tmp $(srcdir)/po/POTFILES.in
57
 
58
MANCONF  = -Dman
59
 
60
TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
61
 
62
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
63
 
64
info_TEXINFOS = gprof.texi
65
gprof_TEXINFOS = config.texi
66
man_MANS = gprof.1
67
 
68
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../bfd/doc" -I ../bfd/doc
69
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../bfd/doc" -I ../bfd/doc
70
 
71
config.texi:
72
        echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
73
 
74
# Build the man page from the texinfo file
75
# The sed command removes the no-adjust Nroff command so that
76
# the man output looks standard.
77
gprof.1: $(srcdir)/gprof.texi config.texi
78
        touch $@
79
        -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
80
        -($(POD2MAN) gprof.pod | \
81
               sed -e '/^.if n .na/d' > $@.T$$$$ && \
82
               mv -f $@.T$$$$ $@) || \
83
               (rm -f $@.T$$$$ && exit 1)
84
        rm -f gprof.pod
85
 
86
.PHONY: install-html install-html-am install-html-recursive
87
 
88
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
89
 
90
install-html: install-html-recursive  install-html-am
91
 
92
install-html-am: $(HTMLS)
93
        @$(NORMAL_INSTALL)
94
        test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
95
        @list='$(HTMLS)'; for p in $$list; do \
96
          if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
97
          f=$(html__strip_dir) \
98
          if test -d "$$d$$p"; then \
99
            echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
100
            $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
101
            echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
102
            $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
103
          else \
104
            echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
105
            $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
106
          fi; \
107
        done
108
 
109
install-html-recursive:
110
        @failcom='exit 1'; \
111
        for f in x $$MAKEFLAGS; do \
112
          case $$f in \
113
            *=* | --[!k]*);; \
114
            *k*) failcom='fail=yes';; \
115
          esac; \
116
        done; \
117
        dot_seen=no; \
118
        target=`echo $@ | sed s/-recursive//`; \
119
        list='$(SUBDIRS)'; for subdir in $$list; do \
120
          echo "Making $$target in $$subdir"; \
121
          if test "$$subdir" = "."; then \
122
            dot_seen=yes; \
123
            local_target="$$target-am"; \
124
          else \
125
            local_target="$$target"; \
126
          fi; \
127
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
128
          || eval $$failcom; \
129
        done; \
130
        if test "$$dot_seen" = "no"; then \
131
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
132
        fi; test -z "$$fail"
133
 
134
# We want install to imply install-info as per GNU standards, despite the
135
# cygnus option.
136
install-data-local: install-info
137
 
138
# Targets to rebuild dependencies in this Makefile.
139
# Have to get rid of DEP1 here so that "$?" later includes all sources.
140
DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
141
        rm -f DEP1
142
        $(MAKE) MKDEP="$(MKDEP)" DEP1
143
        sed -f dep.sed < DEP1 > DEPA
144
        echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
145
        if grep ' /' DEPA > /dev/null 2> /dev/null; then \
146
          echo 'make DEP failed!'; exit 1; \
147
        else \
148
          mv -f DEPA $@; \
149
        fi
150
 
151
DEP1: $(gprof_SOURCES)
152
        echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
153
        echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
154
        $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
155
        mv -f DEP2 $@
156
 
157
dep.sed: dep-in.sed config.status
158
        objdir=`pwd`; \
159
        sed <$(srcdir)/dep-in.sed >dep.sed     \
160
                -e 's!@INCDIR@!$(INCDIR)!'      \
161
                -e 's!@BFDDIR@!$(BFDDIR)!'      \
162
                -e 's!@SRCDIR@!$(srcdir)!'      \
163
                -e "s!@OBJDIR@!$${objdir}!"     \
164
                -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/gprof$$,,`'!'
165
 
166
dep: DEP
167
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
168
        cat DEP >> tmp-Makefile
169
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
170
 
171
dep-in: DEP
172
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
173
        cat DEP >> tmp-Makefile.in
174
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
175
 
176
dep-am: DEP
177
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
178
        cat DEP >> tmp-Makefile.am
179
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
180
 
181
.PHONY: dep dep-in dep-am
182
 
183
CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
184
 
185
MAINTAINERCLEANFILES = gprof.info
186
 
187
# Automake 1.9 will only build info files in the objdir if they are
188
# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
189
# though, so we use a bogus condition.
190
if GENINSRC_NEVER
191
DISTCLEANFILES = gprof.info
192
endif
193
 
194
# DO NOT DELETE THIS LINE -- mkdep uses it.
195
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
196
basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \
197
  $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
198
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
199
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
200
  gconfig.h basic_blocks.h corefile.h gmon_io.h gmon_out.h \
201
  search_list.h source.h symtab.h sym_ids.h
202
call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
203
  ../bfd/config.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \
204
  $(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
205
  $(INCDIR)/symcat.h gconfig.h search_list.h source.h \
206
  symtab.h cg_arcs.h call_graph.h corefile.h gmon_io.h \
207
  gmon_out.h sym_ids.h
208
cg_arcs.o: cg_arcs.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
209
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
210
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
211
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
212
  source.h symtab.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
213
  utils.h sym_ids.h
214
cg_dfn.o: cg_dfn.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
215
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
216
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
217
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
218
  source.h symtab.h cg_arcs.h cg_dfn.h utils.h
219
cg_print.o: cg_print.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
220
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
221
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
222
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
223
  source.h symtab.h cg_arcs.h cg_print.h hist.h utils.h \
224
  corefile.h
225
corefile.o: corefile.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
226
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
227
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
228
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
229
  source.h symtab.h hist.h corefile.h $(INCDIR)/safe-ctype.h
230
gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
231
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
232
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
233
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
234
  basic_blocks.h corefile.h call_graph.h gmon_io.h gmon_out.h \
235
  gmon.h hertz.h hist.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h
236
gprof.o: gprof.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
237
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
238
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
239
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h ../bfd/bfdver.h \
240
  search_list.h source.h symtab.h basic_blocks.h call_graph.h \
241
  cg_arcs.h cg_print.h corefile.h gmon_io.h hertz.h hist.h \
242
  sym_ids.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
243
hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
244
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
245
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
246
  gconfig.h hertz.h
247
hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
248
  gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/ansidecl.h \
249
  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h ../bfd/bfd.h \
250
  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h gconfig.h search_list.h \
251
  source.h symtab.h corefile.h gmon_io.h gmon_out.h hist.h \
252
  sym_ids.h utils.h
253
source.o: source.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
254
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
255
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
256
  gconfig.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
257
  $(INCDIR)/filenames.h search_list.h source.h
258
search_list.o: search_list.c $(INCDIR)/libiberty.h \
259
  $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
260
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
261
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
262
  gconfig.h search_list.h
263
symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
264
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
265
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
266
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
267
  corefile.h
268
sym_ids.o: sym_ids.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
269
  $(INCDIR)/safe-ctype.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
270
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
271
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
272
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
273
  sym_ids.h corefile.h
274
utils.o: utils.c $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
275
  $(INCDIR)/ansidecl.h gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
276
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
277
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
278
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
279
  utils.h corefile.h
280
i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
281
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
282
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
283
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
284
  corefile.h hist.h
285
alpha.o: alpha.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
286
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
287
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
288
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
289
  corefile.h hist.h
290
vax.o: vax.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
291
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
292
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
293
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
294
  corefile.h hist.h
295
tahoe.o: tahoe.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
296
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
297
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
298
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
299
  corefile.h hist.h
300
sparc.o: sparc.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
301
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
302
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
303
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
304
  corefile.h hist.h
305
mips.o: mips.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
306
  $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
307
  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
308
  gconfig.h search_list.h source.h symtab.h cg_arcs.h \
309
  corefile.h hist.h
310
flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
311
bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
312
fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
313
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.