Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ## Process this file with automake to generate Makefile.in |
2 | ||
252b5132 RH |
3 | AUTOMAKE_OPTIONS = cygnus dejagnu |
4 | ||
c45021f2 | 5 | SUBDIRS = doc po |
252b5132 RH |
6 | |
7 | tooldir = $(exec_prefix)/$(target_alias) | |
8 | ||
9 | ## These aren't set by automake, because they appear in | |
10 | ## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and | |
11 | ## thus is not seen by automake. | |
12 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
13 | EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ | |
14 | ||
7a7b06ef | 15 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
252b5132 | 16 | YFLAGS = -d |
7a7b06ef | 17 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
252b5132 | 18 | |
a2d91340 | 19 | WARN_CFLAGS = @WARN_CFLAGS@ |
9e9b66a9 | 20 | NO_WERROR = @NO_WERROR@ |
a2d91340 AC |
21 | AM_CFLAGS = $(WARN_CFLAGS) |
22 | ||
252b5132 RH |
23 | # these two are almost the same program |
24 | AR_PROG=ar | |
25 | RANLIB_PROG=ranlib | |
26 | ||
27 | # objcopy and strip should be the same program | |
28 | OBJCOPY_PROG=objcopy | |
29 | STRIP_PROG=strip-new | |
30 | ||
31 | STRINGS_PROG=strings | |
32 | ||
33 | READELF_PROG=readelf | |
34 | ||
35 | # These should all be the same program too. | |
36 | SIZE_PROG=size | |
37 | NM_PROG=nm-new | |
38 | OBJDUMP_PROG=objdump | |
39 | ||
40 | # This is the demangler, as a standalone program. | |
41 | # Note: This one is used as the installed name too, unlike the above. | |
8a965946 | 42 | DEMANGLER_PROG=cxxfilt |
252b5132 RH |
43 | |
44 | ADDR2LINE_PROG=addr2line | |
45 | ||
46 | NLMCONV_PROG=nlmconv | |
47 | DLLTOOL_PROG=dlltool | |
48 | WINDRES_PROG=windres | |
49 | DLLWRAP_PROG=dllwrap | |
50 | ||
8b42747f | 51 | SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) |
252b5132 | 52 | |
1d97d67f | 53 | bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_INSTALL_MISC@ |
252b5132 | 54 | |
8a965946 ILT |
55 | ## We need a special rule to install the programs which are built with |
56 | ## -new, and to rename cxxfilt to c++filt. | |
b125d98b AM |
57 | RENAMED_PROGS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG) |
58 | noinst_PROGRAMS = $(RENAMED_PROGS) @BUILD_MISC@ | |
252b5132 | 59 | |
1d97d67f | 60 | EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG) |
252b5132 | 61 | |
eb1e0e80 | 62 | # Stuff that goes in tooldir/ if appropriate. |
ac40b919 | 63 | TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump |
252b5132 RH |
64 | |
65 | BASEDIR = $(srcdir)/.. | |
66 | BFDDIR = $(BASEDIR)/bfd | |
67 | INCDIR = $(BASEDIR)/include | |
68 | ||
41b49281 | 69 | MKDEP = gcc -MM |
252b5132 | 70 | |
eb1e0e80 NC |
71 | INCLUDES = -D_GNU_SOURCE \ |
72 | -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ | |
73 | @HDEFINES@ \ | |
20e95c23 | 74 | @INCINTL@ \ |
32118081 | 75 | -DLOCALEDIR="\"$(datadir)/locale\"" \ |
eb1e0e80 | 76 | -Dbin_dummy_emulation=$(EMULATION_VECTOR) |
252b5132 | 77 | |
a6637ec0 AM |
78 | HFILES = \ |
79 | arsup.h binemul.h bucomm.h budbg.h budemang.h \ | |
80 | coffgrok.h debug.h dlltool.h nlmconv.h \ | |
81 | windres.h winduni.h | |
252b5132 | 82 | |
41b49281 | 83 | GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h |
252b5132 | 84 | |
a6637ec0 | 85 | CFILES = \ |
cd14b966 | 86 | addr2line.c ar.c arsup.c bin2c.c binemul.c bucomm.c budemang.c \ |
19e6b90e L |
87 | coffdump.c coffgrok.c cxxfilt.c \ |
88 | dwarf.c debug.c dlltool.c dllwrap.c \ | |
a6637ec0 AM |
89 | emul_aix.c emul_vanilla.c filemode.c \ |
90 | ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \ | |
91 | nlmconv.c nm.c not-ranlib.c not-strip.c \ | |
92 | objcopy.c objdump.c prdbg.c \ | |
93 | rdcoff.c rddbg.c readelf.c rename.c \ | |
94 | resbin.c rescoff.c resrc.c resres.c \ | |
95 | size.c srconv.c stabs.c strings.c sysdump.c version.c \ | |
96 | windres.c winduni.c wrstabs.c | |
252b5132 RH |
97 | |
98 | GENERATED_CFILES = \ | |
bb279dc0 | 99 | arparse.c arlex.c sysroff.c sysinfo.c syslex.c \ |
252b5132 RH |
100 | defparse.c deflex.c nlmheader.c rcparse.c rclex.c |
101 | ||
102 | DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c | |
103 | WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c | |
104 | ||
105 | # Code shared by all the binutils. | |
106 | BULIBS = bucomm.c version.c filemode.c | |
107 | ||
108 | BFDLIB = ../bfd/libbfd.la | |
109 | ||
110 | OPCODES = ../opcodes/libopcodes.la | |
111 | ||
112 | LIBIBERTY = ../libiberty/libiberty.a | |
113 | ||
108a6f8e CD |
114 | .PHONY: install-html install-html-am install-html-recursive |
115 | ||
8b42747f AM |
116 | install-html: install-html-recursive |
117 | ||
108a6f8e CD |
118 | install-html-recursive: |
119 | @failcom='exit 1'; \ | |
120 | for f in x $$MAKEFLAGS; do \ | |
121 | case $$f in \ | |
122 | *=* | --[!k]*);; \ | |
123 | *k*) failcom='fail=yes';; \ | |
124 | esac; \ | |
125 | done; \ | |
126 | dot_seen=no; \ | |
127 | target=`echo $@ | sed s/-recursive//`; \ | |
128 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
129 | echo "Making $$target in $$subdir"; \ | |
130 | if test "$$subdir" = "."; then \ | |
131 | dot_seen=yes; \ | |
132 | local_target="$$target-am"; \ | |
133 | else \ | |
134 | local_target="$$target"; \ | |
135 | fi; \ | |
136 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
137 | || eval $$failcom; \ | |
138 | done; \ | |
139 | if test "$$dot_seen" = "no"; then \ | |
140 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
141 | fi; test -z "$$fail" | |
142 | ||
252b5132 RH |
143 | POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES) |
144 | po/POTFILES.in: @MAINT@ Makefile | |
51f7282a | 145 | for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \ |
252b5132 RH |
146 | && mv tmp $(srcdir)/po/POTFILES.in |
147 | ||
c3298874 BE |
148 | EXPECT = expect |
149 | RUNTEST = runtest | |
252b5132 RH |
150 | |
151 | CC_FOR_TARGET = ` \ | |
152 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
153 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
154 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
155 | else \ | |
156 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
157 | fi; \ | |
158 | else \ | |
159 | if [ "@host@" = "@target@" ] ; then \ | |
160 | echo $(CC); \ | |
161 | else \ | |
162 | echo gcc | sed '$(transform)'; \ | |
163 | fi; \ | |
164 | fi` | |
165 | ||
166 | check-DEJAGNU: site.exp | |
167 | srcdir=`cd $(srcdir) && pwd`; export srcdir; \ | |
168 | r=`pwd`; export r; \ | |
169 | EXPECT=$(EXPECT); export EXPECT; \ | |
252b5132 RH |
170 | runtest=$(RUNTEST); \ |
171 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
16474668 NC |
172 | CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \ |
173 | $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \ | |
174 | $(RUNTESTFLAGS); \ | |
252b5132 RH |
175 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ |
176 | fi | |
177 | ||
178 | installcheck: | |
179 | /bin/sh $(srcdir)/sanity.sh $(bindir) | |
180 | ||
20e95c23 DJ |
181 | # There's no global DEPENDENCIES. So, we must explicitly list everything |
182 | # which depends on libintl, since we don't know whether LIBINTL_DEP will be | |
183 | # non-empty until configure time. Ugh! | |
8b42747f AM |
184 | size_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
185 | objdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) $(OPCODES) | |
186 | nm_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 | 187 | ar_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
8b42747f AM |
188 | strings_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
189 | strip_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 | 190 | ranlib_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
8b42747f AM |
191 | cxxfilt_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
192 | objcopy_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
193 | nlmconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
194 | srconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
195 | sysdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
196 | coffdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 DJ |
197 | dlltool_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
198 | windres_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
8b42747f AM |
199 | addr2line_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
200 | readelf_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) | |
201 | dllwrap_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) | |
20e95c23 DJ |
202 | |
203 | LDADD = $(BFDLIB) $(LIBIBERTY) $(LIBINTL) | |
252b5132 RH |
204 | |
205 | size_SOURCES = size.c $(BULIBS) | |
206 | ||
207 | objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
208 | ||
209 | strings_SOURCES = strings.c $(BULIBS) | |
210 | ||
19e6b90e | 211 | readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c |
20e95c23 | 212 | readelf_LDADD = $(LIBINTL) $(LIBIBERTY) |
252b5132 RH |
213 | |
214 | strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
215 | ||
a6637ec0 | 216 | nm_new_SOURCES = nm.c budemang.c $(BULIBS) |
252b5132 | 217 | |
365544c3 | 218 | objdump_SOURCES = objdump.c dwarf.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS) |
20e95c23 | 219 | objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL) |
252b5132 | 220 | |
8b1e6df3 NC |
221 | objdump.o:objdump.c |
222 | $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c | |
223 | ||
bb279dc0 | 224 | cxxfilt_SOURCES = cxxfilt.c $(BULIBS) |
252b5132 | 225 | |
eb1e0e80 NC |
226 | ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \ |
227 | emul_$(EMULATION).c $(BULIBS) | |
20e95c23 | 228 | ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 229 | |
eb1e0e80 NC |
230 | ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \ |
231 | binemul.c emul_$(EMULATION).c $(BULIBS) | |
20e95c23 | 232 | ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 233 | |
a6637ec0 | 234 | addr2line_SOURCES = addr2line.c budemang.c $(BULIBS) |
252b5132 | 235 | |
41b49281 | 236 | # The following is commented out for the conversion to automake. |
252b5132 RH |
237 | # This rule creates a single binary that switches between ar and ranlib |
238 | # by looking at argv[0]. Use this kludge to save some disk space. | |
239 | # However, you have to install things by hand. | |
240 | # (That is after 'make install', replace the installed ranlib by a link to ar.) | |
241 | # Alternatively, you can install ranlib.sh as ranlib. | |
242 | # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o | |
243 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS) | |
244 | # -rm -f $(RANLIB_PROG) | |
245 | # -ln $(AR_PROG) $(RANLIB_PROG) | |
246 | # | |
247 | # objcopy and strip in one binary that uses argv[0] to decide its action. | |
248 | # | |
249 | #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o | |
250 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS) | |
251 | # -rm -f $(STRIP_PROG) | |
252 | # -ln $(OBJCOPY_PROG) $(STRIP_PROG) | |
253 | ||
8b42747f | 254 | sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info |
252b5132 RH |
255 | ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c |
256 | ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c | |
257 | ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c | |
258 | ||
259 | sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
260 | ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h | |
261 | ||
262 | sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o | |
dc3c06c2 | 263 | $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o |
252b5132 | 264 | |
dc3c06c2 | 265 | syslex.o: |
252b5132 | 266 | if [ -r syslex.c ]; then \ |
ceae3e33 | 267 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \ |
252b5132 | 268 | else \ |
ceae3e33 | 269 | $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\ |
252b5132 RH |
270 | fi |
271 | ||
dc3c06c2 | 272 | sysinfo.o: |
252b5132 | 273 | if [ -r sysinfo.c ]; then \ |
ceae3e33 | 274 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \ |
252b5132 | 275 | else \ |
ceae3e33 | 276 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \ |
252b5132 RH |
277 | fi |
278 | ||
1d97d67f AM |
279 | bin2c$(EXEEXT_FOR_BUILD): |
280 | $(CC_FOR_BUILD) -o $@ $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) $(srcdir)/bin2c.c $(srcdir)/version.c | |
281 | ||
669a9a2a AM |
282 | embedspu: embedspu.sh |
283 | sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@ | |
284 | chmod a+x $@ | |
285 | ||
41b49281 AM |
286 | # We need these for parallel make. |
287 | arparse.h: arparse.c | |
288 | defparse.h: defparse.c | |
289 | nlmheader.h: nlmheader.c | |
290 | rcparse.h: rcparse.c | |
291 | sysinfo.h: sysinfo.c | |
292 | ||
ceae3e33 | 293 | # Disable -Werror, if it has been enabled, since old versions of bison/ |
8b42747f | 294 | # yacc will produce working code which contain compile time warnings. |
ceae3e33 | 295 | arparse.o: |
9e9b66a9 | 296 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 297 | arlex.o: |
9e9b66a9 | 298 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 299 | sysroff.o: |
9e9b66a9 | 300 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 301 | defparse.o: |
9e9b66a9 | 302 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 303 | deflex.o: |
9e9b66a9 | 304 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 305 | nlmheader.o: |
9e9b66a9 | 306 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 307 | rcparse.o: |
9e9b66a9 | 308 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 309 | rclex.o: |
9e9b66a9 | 310 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 311 | |
252b5132 RH |
312 | srconv_SOURCES = srconv.c coffgrok.c $(BULIBS) |
313 | ||
0724d64b | 314 | dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS) |
20e95c23 | 315 | dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 316 | |
dc3c06c2 | 317 | dlltool.o: |
252b5132 RH |
318 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c |
319 | ||
dc3c06c2 | 320 | rescoff.o: |
09cda596 DD |
321 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c |
322 | ||
252b5132 RH |
323 | coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS) |
324 | ||
325 | sysdump_SOURCES = sysdump.c $(BULIBS) | |
326 | ||
327 | # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency | |
328 | # scripts, since they are only included conditionally. | |
329 | nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h | |
330 | ldname=`echo ld | sed '$(transform)'`; \ | |
331 | $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c | |
332 | ||
333 | nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS) | |
334 | ||
335 | windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \ | |
336 | winduni.c resres.c $(BULIBS) | |
20e95c23 | 337 | windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 338 | |
0724d64b | 339 | dllwrap_SOURCES = dllwrap.c version.c |
20e95c23 | 340 | dllwrap_LDADD = $(LIBIBERTY) $(LIBINTL) |
252b5132 RH |
341 | |
342 | ||
c45021f2 | 343 | EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \ |
252b5132 RH |
344 | syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c |
345 | ||
c45021f2 | 346 | diststuff: $(EXTRA_DIST) info |
e3e71e27 | 347 | all: info |
252b5132 | 348 | |
1d97d67f | 349 | DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak |
252b5132 RH |
350 | |
351 | # Targets to rebuild dependencies in this Makefile. | |
c278c150 ILT |
352 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
353 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
354 | rm -f DEP1 | |
41b49281 | 355 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
0bdaf48b AM |
356 | sed -f dep.sed < DEP1 > DEPA |
357 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA | |
358 | if grep ' /' DEPA > /dev/null 2> /dev/null; then \ | |
6d5be915 AM |
359 | echo 'make DEP failed!'; exit 1; \ |
360 | else \ | |
0bdaf48b | 361 | mv -f DEPA $@; \ |
6d5be915 | 362 | fi |
252b5132 | 363 | |
c278c150 | 364 | DEP1: $(CFILES) $(GENERATED_CFILES) |
c278c150 | 365 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
366 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
367 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
368 | mv -f DEP2 $@ | |
252b5132 RH |
369 | |
370 | dep.sed: dep-in.sed config.status | |
371 | objdir=`pwd`; \ | |
372 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
373 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
374 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
375 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
8e42bcb6 AM |
376 | -e "s!@OBJDIR@!$${objdir}!" \ |
377 | -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!' | |
252b5132 | 378 | |
c278c150 | 379 | dep: DEP |
252b5132 | 380 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
c278c150 | 381 | cat DEP >> tmp-Makefile |
252b5132 RH |
382 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile |
383 | ||
c278c150 | 384 | dep-in: DEP |
252b5132 | 385 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
c278c150 | 386 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
387 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
388 | ||
c278c150 | 389 | dep-am: DEP |
252b5132 | 390 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
c278c150 | 391 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
392 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
393 | ||
394 | .PHONY: dep dep-in dep-am | |
395 | ||
396 | ### | |
c45021f2 | 397 | |
1d97d67f AM |
398 | MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \ |
399 | binutils.log binutils.sum abcdefgh* | |
252b5132 RH |
400 | mostlyclean-local: |
401 | -rm -rf tmpdir | |
402 | ||
0bdaf48b | 403 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 |
252b5132 RH |
404 | |
405 | .PHONY: install-exec-local | |
406 | ||
a7186e88 | 407 | install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS) |
b125d98b | 408 | @list='$(RENAMED_PROGS)'; for p in $$list; do \ |
a7186e88 DJ |
409 | if test -f $$p$(EXEEXT); then \ |
410 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ | |
411 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ | |
252b5132 RH |
412 | else :; fi; \ |
413 | done | |
d3d8a9ee | 414 | $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin |
252b5132 RH |
415 | for i in $(TOOL_PROGS); do \ |
416 | if [ -f $$i$(EXEEXT) ]; then \ | |
417 | j=`echo $$i | sed -e 's/-new//'`; \ | |
418 | k=`echo $$j | sed '$(transform)'`; \ | |
75aa6618 | 419 | if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \ |
d3d8a9ee NC |
420 | rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ |
421 | ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \ | |
422 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ | |
252b5132 RH |
423 | fi; \ |
424 | else true; \ | |
425 | fi; \ | |
426 | done | |
427 | ||
428 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
429 | ||
430 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
431 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
9e5169a8 | 432 | addr2line.o: addr2line.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d | 433 | $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \ |
e9f53129 | 434 | $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ |
92f01d61 JM |
435 | bucomm.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \ |
436 | budemang.h | |
6a8c2b0d | 437 | ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ |
e9f53129 | 438 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \ |
92f01d61 JM |
439 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
440 | $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h \ | |
441 | arsup.h $(INCDIR)/filenames.h binemul.h | |
252b5132 | 442 | arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 443 | $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
444 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
445 | $(INCDIR)/filenames.h | |
cd14b966 AM |
446 | bin2c.o: bin2c.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
447 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ | |
448 | $(INCDIR)/fopen-same.h | |
a6637ec0 | 449 | binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 450 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 451 | $(INCDIR)/fopen-same.h |
252b5132 | 452 | bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
55bb4be3 | 453 | $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \ |
e9f53129 | 454 | $(INCDIR)/ansidecl.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
455 | config.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \ |
456 | $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h | |
9e5169a8 | 457 | budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 AM |
458 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
459 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h budemang.h | |
8e42bcb6 | 460 | coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 461 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 | 462 | coffgrok.h bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h |
8e42bcb6 | 463 | coffgrok.o: coffgrok.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 464 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
465 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
466 | $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ | |
467 | coffgrok.h | |
9e5169a8 | 468 | cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
469 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \ |
470 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h \ | |
471 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
58654fd8 L |
472 | dwarf.o: dwarf.c dwarf.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
473 | $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h bucomm.h \ | |
92f01d61 JM |
474 | $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
475 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h | |
252b5132 | 476 | debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 477 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
478 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
479 | debug.h | |
252b5132 | 480 | dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 481 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
482 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
483 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h $(INCDIR)/dyn-string.h \ | |
484 | dlltool.h $(INCDIR)/safe-ctype.h | |
a6637ec0 | 485 | dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 486 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
487 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
488 | $(INCDIR)/dyn-string.h | |
a6637ec0 | 489 | emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 490 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
491 | $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ |
492 | $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ | |
493 | $(BFDDIR)/libxcoff.h | |
a6637ec0 | 494 | emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \ |
e9f53129 | 495 | $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 | 496 | config.h $(INCDIR)/fopen-same.h |
bfc2f0bb | 497 | filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 498 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 499 | $(INCDIR)/fopen-same.h |
6a8c2b0d | 500 | ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ |
e9f53129 | 501 | $(INCDIR)/ieee.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
502 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
503 | debug.h budbg.h $(INCDIR)/filenames.h | |
252b5132 RH |
504 | is-ranlib.o: is-ranlib.c |
505 | is-strip.o: is-strip.c | |
506 | maybe-ranlib.o: maybe-ranlib.c | |
507 | maybe-strip.o: maybe-strip.c | |
508 | nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
e9f53129 | 509 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
510 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
511 | $(INCDIR)/safe-ctype.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \ | |
512 | $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h | |
6a8c2b0d | 513 | nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ |
e9f53129 | 514 | $(INCDIR)/progress.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
515 | config.h $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \ |
516 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \ | |
517 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
518 | $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ | |
519 | $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/common.h | |
252b5132 RH |
520 | not-ranlib.o: not-ranlib.c |
521 | not-strip.o: not-strip.c | |
522 | objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
e9f53129 | 523 | $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
524 | config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
525 | $(INCDIR)/ansidecl.h budbg.h $(INCDIR)/filenames.h \ | |
526 | $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \ | |
527 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ | |
528 | $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h | |
252b5132 | 529 | objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6e1a7e9a | 530 | $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \ |
92f01d61 JM |
531 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
532 | dwarf.h $(INCDIR)/elf/dwarf2.h budemang.h $(INCDIR)/safe-ctype.h \ | |
533 | $(INCDIR)/dis-asm.h ../bfd/bfd.h $(INCDIR)/libiberty.h \ | |
534 | $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ | |
535 | debug.h budbg.h $(INCDIR)/aout/aout64.h | |
6a8c2b0d | 536 | prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 537 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
538 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
539 | debug.h budbg.h | |
252b5132 | 540 | rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d | 541 | $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \ |
92f01d61 JM |
542 | $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
543 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h debug.h \ | |
544 | budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
252b5132 | 545 | rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 546 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
547 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
548 | debug.h budbg.h | |
58654fd8 L |
549 | readelf.o: readelf.c dwarf.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
550 | $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \ | |
92f01d61 JM |
551 | $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/h8.h \ |
552 | $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/alpha.h \ | |
553 | $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/avr.h \ | |
554 | $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/crx.h \ | |
555 | $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \ | |
556 | $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/hppa.h \ | |
557 | $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \ | |
558 | $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \ | |
559 | $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/m32c.h $(INCDIR)/elf/m32r.h \ | |
560 | $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h $(INCDIR)/elf/mcore.h \ | |
561 | $(INCDIR)/elf/mep.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \ | |
562 | $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/mt.h \ | |
563 | $(INCDIR)/elf/msp430.h $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h \ | |
564 | $(INCDIR)/elf/ppc.h $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h \ | |
565 | $(INCDIR)/elf/score.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/sparc.h \ | |
566 | $(INCDIR)/elf/spu.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h \ | |
567 | $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/xtensa.h \ | |
568 | $(INCDIR)/aout/ar.h bucomm.h $(INCDIR)/ansidecl.h config.h \ | |
e9f53129 AM |
569 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
570 | unwind-ia64.h | |
a6637ec0 | 571 | rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 572 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 573 | $(INCDIR)/fopen-same.h |
a6637ec0 | 574 | resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 575 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
576 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
577 | windres.h winduni.h | |
a6637ec0 | 578 | rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 579 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
580 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
581 | windres.h winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
582 | $(INCDIR)/bfdlink.h | |
a6637ec0 | 583 | resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 584 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
585 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
586 | $(INCDIR)/safe-ctype.h windres.h winduni.h | |
e9f53129 AM |
587 | resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
588 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ | |
92f01d61 JM |
589 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
590 | windres.h winduni.h | |
6a8c2b0d | 591 | size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ |
92f01d61 JM |
592 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
593 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h | |
8e42bcb6 | 594 | srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 595 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
596 | $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \ |
597 | $(INCDIR)/ansidecl.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
598 | $(INCDIR)/bfdlink.h sysroff.c | |
252b5132 | 599 | stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 600 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
601 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
602 | $(INCDIR)/safe-ctype.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ | |
603 | debug.h budbg.h $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \ | |
604 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def | |
252b5132 | 605 | strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 606 | $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
607 | config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
608 | $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h | |
252b5132 | 609 | sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 610 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
611 | $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \ |
612 | $(INCDIR)/ansidecl.h sysroff.h sysroff.c $(INCDIR)/ansidecl.h | |
252b5132 | 613 | version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 614 | $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h $(INCDIR)/ansidecl.h \ |
92f01d61 | 615 | config.h $(INCDIR)/fopen-same.h |
9e5169a8 | 616 | windres.o: windres.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
92f01d61 JM |
617 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \ |
618 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \ | |
619 | $(INCDIR)/obstack.h windres.h winduni.h | |
252b5132 | 620 | winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 621 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 622 | $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h |
a6637ec0 | 623 | wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 624 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
625 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
626 | $(INCDIR)/safe-ctype.h debug.h budbg.h $(INCDIR)/aout/aout64.h \ | |
627 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def | |
252b5132 | 628 | arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 629 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 630 | $(INCDIR)/fopen-same.h arsup.h |
8e42bcb6 | 631 | arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
e9f53129 | 632 | $(INCDIR)/ansidecl.h arparse.h |
252b5132 RH |
633 | sysroff.o: sysroff.c |
634 | sysinfo.o: sysinfo.c | |
dc3c06c2 | 635 | syslex.o: syslex.c config.h sysinfo.h |
252b5132 | 636 | defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 637 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 | 638 | $(INCDIR)/fopen-same.h dlltool.h |
252b5132 | 639 | deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 640 | defparse.h dlltool.h $(INCDIR)/ansidecl.h |
8e42bcb6 | 641 | nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \ |
e9f53129 | 642 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ |
92f01d61 JM |
643 | bucomm.h $(INCDIR)/ansidecl.h config.h $(INCDIR)/fopen-same.h \ |
644 | $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h nlmconv.h | |
252b5132 | 645 | rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 646 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
647 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
648 | windres.h winduni.h $(INCDIR)/safe-ctype.h | |
252b5132 | 649 | rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
e9f53129 | 650 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/ansidecl.h config.h \ |
92f01d61 JM |
651 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
652 | $(INCDIR)/safe-ctype.h windres.h winduni.h rcparse.h | |
252b5132 | 653 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |