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