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