*** empty log message ***
[deliverable/binutils-gdb.git] / binutils / Makefile.in
CommitLineData
72f47744 1# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
252b5132 2
72f47744 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
252b5132
RH
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
37cc8ec1 13
252b5132
RH
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
37cc8ec1 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
252b5132
RH
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AR = @AR@
32118081 67AS = @AS@
252b5132
RH
68BUILD_DLLTOOL = @BUILD_DLLTOOL@
69BUILD_DLLWRAP = @BUILD_DLLWRAP@
70BUILD_MISC = @BUILD_MISC@
71BUILD_NLMCONV = @BUILD_NLMCONV@
72BUILD_SRCONV = @BUILD_SRCONV@
73BUILD_WINDRES = @BUILD_WINDRES@
32118081
NC
74CATALOGS = @CATALOGS@
75CATOBJEXT = @CATOBJEXT@
252b5132 76CC = @CC@
32118081
NC
77CPP = @CPP@
78CXX = @CXX@
79CXXCPP = @CXXCPP@
80DATADIRNAME = @DATADIRNAME@
8a965946 81DEMANGLER_NAME = @DEMANGLER_NAME@
32118081 82DLLTOOL = @DLLTOOL@
252b5132 83DLLTOOL_DEFS = @DLLTOOL_DEFS@
eb1e0e80
NC
84EMULATION = @EMULATION@
85EMULATION_VECTOR = @EMULATION_VECTOR@
252b5132 86EXEEXT = @EXEEXT@
32118081
NC
87GCJ = @GCJ@
88GCJFLAGS = @GCJFLAGS@
89GMOFILES = @GMOFILES@
90GMSGFMT = @GMSGFMT@
91GNATBIND = @GNATBIND@
92GT_NO = @GT_NO@
93GT_YES = @GT_YES@
252b5132 94HDEFINES = @HDEFINES@
32118081
NC
95INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
96INSTOBJEXT = @INSTOBJEXT@
97INTLDEPS = @INTLDEPS@
98INTLOBJS = @INTLOBJS@
252b5132 99LIBTOOL = @LIBTOOL@
32118081
NC
100LN = @LN@
101LN_S = @LN_S@
102MAINT = @MAINT@
103MAKEINFO = @MAKEINFO@
104MKINSTALLDIRS = @MKINSTALLDIRS@
105MSGFMT = @MSGFMT@
252b5132 106NLMCONV_DEFS = @NLMCONV_DEFS@
32118081 107OBJDUMP = @OBJDUMP@
8b1e6df3 108OBJDUMP_DEFS = @OBJDUMP_DEFS@
32118081
NC
109OBJEXT = @OBJEXT@
110PACKAGE = @PACKAGE@
111POFILES = @POFILES@
112POSUB = @POSUB@
252b5132 113RANLIB = @RANLIB@
32118081
NC
114STRIP = @STRIP@
115USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
116USE_NLS = @USE_NLS@
117VERSION = @VERSION@
118bfdincludedir = @bfdincludedir@
119bfdlibdir = @bfdlibdir@
120build_noncanonical = @build_noncanonical@
121build_subdir = @build_subdir@
122do_compare = @do_compare@
123host_noncanonical = @host_noncanonical@
124host_subdir = @host_subdir@
125l = @l@
126ncn_cv_ = @ncn_cv_@
127target_noncanonical = @target_noncanonical@
128target_subdir = @target_subdir@
252b5132
RH
129
130INTLLIBS = @INTLLIBS@
131
132AUTOMAKE_OPTIONS = cygnus dejagnu
133
c45021f2 134SUBDIRS = doc po
252b5132
RH
135
136tooldir = $(exec_prefix)/$(target_alias)
137
138CC_FOR_BUILD = @CC_FOR_BUILD@
139EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
140
7a7b06ef 141YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
252b5132 142YFLAGS = -d
7a7b06ef 143LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
252b5132 144
a2d91340
AC
145WARN_CFLAGS = @WARN_CFLAGS@
146AM_CFLAGS = $(WARN_CFLAGS)
147
252b5132
RH
148# these two are almost the same program
149AR_PROG = ar
150RANLIB_PROG = ranlib
151
152# objcopy and strip should be the same program
153OBJCOPY_PROG = objcopy
154STRIP_PROG = strip-new
155
156STRINGS_PROG = strings
157
158READELF_PROG = readelf
159
160# These should all be the same program too.
161SIZE_PROG = size
162NM_PROG = nm-new
163OBJDUMP_PROG = objdump
164
165# This is the demangler, as a standalone program.
166# Note: This one is used as the installed name too, unlike the above.
8a965946 167DEMANGLER_PROG = cxxfilt
252b5132
RH
168
169ADDR2LINE_PROG = addr2line
170
171NLMCONV_PROG = nlmconv
172DLLTOOL_PROG = dlltool
173WINDRES_PROG = windres
174DLLWRAP_PROG = dllwrap
175
176SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
177
252b5132
RH
178PROGS = $(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@
179
8a965946 180bin_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 181
8a965946 182noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
252b5132
RH
183
184EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
185
eb1e0e80 186# Stuff that goes in tooldir/ if appropriate.
ac40b919 187TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump
252b5132
RH
188
189BASEDIR = $(srcdir)/..
190BFDDIR = $(BASEDIR)/bfd
191INCDIR = $(BASEDIR)/include
192
41b49281 193MKDEP = gcc -MM
252b5132 194
6e1a7e9a
AM
195INCLUDES = -D_GNU_SOURCE \
196 -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
197 @HDEFINES@ \
198 -I$(srcdir)/../intl -I../intl \
32118081 199 -DLOCALEDIR="\"$(datadir)/locale\"" \
6e1a7e9a 200 -Dbin_dummy_emulation=$(EMULATION_VECTOR)
eb1e0e80 201
252b5132 202
6e1a7e9a
AM
203HFILES = \
204 arsup.h binemul.h bucomm.h budbg.h budemang.h \
205 coffgrok.h debug.h dlltool.h nlmconv.h \
206 windres.h winduni.h
252b5132
RH
207
208
41b49281 209GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
252b5132 210
6e1a7e9a
AM
211CFILES = \
212 addr2line.c ar.c arsup.c binemul.c bucomm.c budemang.c \
213 coffdump.c coffgrok.c cxxfilt.c debug.c dlltool.c dllwrap.c \
214 emul_aix.c emul_vanilla.c filemode.c \
215 ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
216 nlmconv.c nm.c not-ranlib.c not-strip.c \
217 objcopy.c objdump.c prdbg.c \
218 rdcoff.c rddbg.c readelf.c rename.c \
219 resbin.c rescoff.c resrc.c resres.c \
220 size.c srconv.c stabs.c strings.c sysdump.c version.c \
221 windres.c winduni.c wrstabs.c
252b5132
RH
222
223
6e1a7e9a
AM
224GENERATED_CFILES = \
225 arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
226 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
252b5132
RH
227
228
229DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
230WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
231
232# Code shared by all the binutils.
233BULIBS = bucomm.c version.c filemode.c
234
235BFDLIB = ../bfd/libbfd.la
236
237OPCODES = ../opcodes/libopcodes.la
238
239LIBIBERTY = ../libiberty/libiberty.a
240
241POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
242
6e1a7e9a
AM
243EXPECT = `if [ -f $$r/../expect/expect ] ; then \
244 echo $$r/../expect/expect ; \
245 else echo expect ; fi`
252b5132 246
6e1a7e9a
AM
247RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
248 echo ${srcdir}/../dejagnu/runtest ; \
249 else echo runtest ; fi`
252b5132 250
252b5132 251
6e1a7e9a
AM
252CC_FOR_TARGET = ` \
253 if [ -f $$r/../gcc/xgcc ] ; then \
254 if [ -f $$r/../newlib/Makefile ] ; then \
255 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
256 else \
257 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
258 fi; \
259 else \
260 if [ "@host@" = "@target@" ] ; then \
261 echo $(CC); \
262 else \
263 echo gcc | sed '$(transform)'; \
264 fi; \
265 fi`
252b5132 266
252b5132
RH
267
268LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
269
270size_SOURCES = size.c $(BULIBS)
271
272objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
273
274strings_SOURCES = strings.c $(BULIBS)
275
4d6ed7c8 276readelf_SOURCES = readelf.c version.c unwind-ia64.c
252b5132
RH
277readelf_LDADD = $(INTLLIBS) $(LIBIBERTY)
278
279strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
280
a6637ec0 281nm_new_SOURCES = nm.c budemang.c $(BULIBS)
252b5132 282
a6637ec0 283objdump_SOURCES = objdump.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
252b5132
RH
284objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
285
bb279dc0 286cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
252b5132 287
6e1a7e9a
AM
288ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \
289 emul_$(EMULATION).c $(BULIBS)
eb1e0e80 290
252b5132
RH
291ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
292
6e1a7e9a
AM
293ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \
294 binemul.c emul_$(EMULATION).c $(BULIBS)
eb1e0e80 295
252b5132
RH
296ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
297
a6637ec0 298addr2line_SOURCES = addr2line.c budemang.c $(BULIBS)
252b5132
RH
299
300srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
301
0724d64b 302dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
252b5132
RH
303dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
304
305coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
306
307sysdump_SOURCES = sysdump.c $(BULIBS)
308
309nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
310
6e1a7e9a
AM
311windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
312 winduni.c resres.c $(BULIBS)
252b5132
RH
313
314windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
315
0724d64b 316dllwrap_SOURCES = dllwrap.c version.c
bb0cb4db 317dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
252b5132 318
6e1a7e9a
AM
319EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
320 syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
252b5132
RH
321
322
6e1a7e9a
AM
323DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
324 site.exp site.bak
252b5132
RH
325
326
c45021f2 327###
252b5132 328
c45021f2 329MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
252b5132 330
0bdaf48b 331CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
32118081 332ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
252b5132
RH
333mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
334CONFIG_HEADER = config.h
335CONFIG_CLEAN_FILES =
336bin_PROGRAMS = size$(EXEEXT) objdump$(EXEEXT) ar$(EXEEXT) \
8a965946
ILT
337strings$(EXEEXT) ranlib$(EXEEXT) objcopy$(EXEEXT) @BUILD_NLMCONV@ \
338@BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ addr2line$(EXEEXT) \
339readelf$(EXEEXT) @BUILD_DLLWRAP@ @BUILD_MISC@
340noinst_PROGRAMS = nm-new$(EXEEXT) strip-new$(EXEEXT) cxxfilt$(EXEEXT)
252b5132
RH
341PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
342
343
344DEFS = @DEFS@ -I. -I$(srcdir) -I.
345CPPFLAGS = @CPPFLAGS@
346LDFLAGS = @LDFLAGS@
347LIBS = @LIBS@
32118081
NC
348nlmconv_OBJECTS = nlmconv.$(OBJEXT) nlmheader.$(OBJEXT) \
349bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
350nlmconv_LDADD = $(LDADD)
351nlmconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
352nlmconv_LDFLAGS =
32118081
NC
353srconv_OBJECTS = srconv.$(OBJEXT) coffgrok.$(OBJEXT) bucomm.$(OBJEXT) \
354version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
355srconv_LDADD = $(LDADD)
356srconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
357srconv_LDFLAGS =
32118081
NC
358sysdump_OBJECTS = sysdump.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
359filemode.$(OBJEXT)
37cc8ec1
AM
360sysdump_LDADD = $(LDADD)
361sysdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
362sysdump_LDFLAGS =
32118081
NC
363coffdump_OBJECTS = coffdump.$(OBJEXT) coffgrok.$(OBJEXT) \
364bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
252b5132
RH
365coffdump_LDADD = $(LDADD)
366coffdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
367coffdump_LDFLAGS =
32118081
NC
368dlltool_OBJECTS = dlltool.$(OBJEXT) defparse.$(OBJEXT) deflex.$(OBJEXT) \
369bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
252b5132
RH
370dlltool_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
371dlltool_LDFLAGS =
32118081
NC
372windres_OBJECTS = windres.$(OBJEXT) resrc.$(OBJEXT) rescoff.$(OBJEXT) \
373resbin.$(OBJEXT) rcparse.$(OBJEXT) rclex.$(OBJEXT) winduni.$(OBJEXT) \
374resres.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
375windres_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
376windres_LDFLAGS =
32118081 377dllwrap_OBJECTS = dllwrap.$(OBJEXT) version.$(OBJEXT)
252b5132
RH
378dllwrap_DEPENDENCIES = ../libiberty/libiberty.a
379dllwrap_LDFLAGS =
32118081
NC
380size_OBJECTS = size.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
381filemode.$(OBJEXT)
37cc8ec1
AM
382size_LDADD = $(LDADD)
383size_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
384size_LDFLAGS =
32118081
NC
385objdump_OBJECTS = objdump.$(OBJEXT) budemang.$(OBJEXT) prdbg.$(OBJEXT) \
386rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) ieee.$(OBJEXT) \
387rdcoff.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
252b5132
RH
388objdump_DEPENDENCIES = ../opcodes/libopcodes.la ../bfd/libbfd.la \
389../libiberty/libiberty.a
390objdump_LDFLAGS =
32118081
NC
391ar_OBJECTS = arparse.$(OBJEXT) arlex.$(OBJEXT) ar.$(OBJEXT) \
392not-ranlib.$(OBJEXT) arsup.$(OBJEXT) rename.$(OBJEXT) binemul.$(OBJEXT) \
393emul_$(EMULATION).$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
394filemode.$(OBJEXT)
37cc8ec1
AM
395ar_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
396ar_LDFLAGS =
32118081
NC
397strings_OBJECTS = strings.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
398filemode.$(OBJEXT)
37cc8ec1
AM
399strings_LDADD = $(LDADD)
400strings_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
401strings_LDFLAGS =
32118081
NC
402ranlib_OBJECTS = ar.$(OBJEXT) is-ranlib.$(OBJEXT) arparse.$(OBJEXT) \
403arlex.$(OBJEXT) arsup.$(OBJEXT) rename.$(OBJEXT) binemul.$(OBJEXT) \
404emul_$(EMULATION).$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
405filemode.$(OBJEXT)
252b5132
RH
406ranlib_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
407ranlib_LDFLAGS =
32118081
NC
408objcopy_OBJECTS = objcopy.$(OBJEXT) not-strip.$(OBJEXT) \
409rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \
410ieee.$(OBJEXT) rdcoff.$(OBJEXT) wrstabs.$(OBJEXT) bucomm.$(OBJEXT) \
411version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
412objcopy_LDADD = $(LDADD)
413objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
414objcopy_LDFLAGS =
32118081
NC
415addr2line_OBJECTS = addr2line.$(OBJEXT) budemang.$(OBJEXT) \
416bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
417addr2line_LDADD = $(LDADD)
418addr2line_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
419addr2line_LDFLAGS =
32118081
NC
420readelf_OBJECTS = readelf.$(OBJEXT) version.$(OBJEXT) \
421unwind-ia64.$(OBJEXT)
252b5132
RH
422readelf_DEPENDENCIES = ../libiberty/libiberty.a
423readelf_LDFLAGS =
32118081
NC
424nm_new_OBJECTS = nm.$(OBJEXT) budemang.$(OBJEXT) bucomm.$(OBJEXT) \
425version.$(OBJEXT) filemode.$(OBJEXT)
37cc8ec1
AM
426nm_new_LDADD = $(LDADD)
427nm_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
428nm_new_LDFLAGS =
32118081
NC
429strip_new_OBJECTS = objcopy.$(OBJEXT) is-strip.$(OBJEXT) \
430rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \
431ieee.$(OBJEXT) rdcoff.$(OBJEXT) wrstabs.$(OBJEXT) bucomm.$(OBJEXT) \
432version.$(OBJEXT) filemode.$(OBJEXT)
252b5132
RH
433strip_new_LDADD = $(LDADD)
434strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
435strip_new_LDFLAGS =
32118081
NC
436cxxfilt_OBJECTS = cxxfilt.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
437filemode.$(OBJEXT)
bb279dc0
ZW
438cxxfilt_LDADD = $(LDADD)
439cxxfilt_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
37cc8ec1 440cxxfilt_LDFLAGS =
252b5132
RH
441LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
442LEXLIB = @LEXLIB@
443YLWRAP = $(top_srcdir)/../ylwrap
37cc8ec1
AM
444CFLAGS = @CFLAGS@
445COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
446LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
252b5132 447CCLD = $(CC)
37cc8ec1 448LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
37cc8ec1 449DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
32118081
NC
450NEWS acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
451configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c
252b5132
RH
452
453
37cc8ec1 454DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
252b5132 455
72f47744 456TAR = tar
252b5132 457GZIP_ENV = --best
37cc8ec1
AM
458SOURCES = $(nlmconv_SOURCES) $(srconv_SOURCES) $(sysdump_SOURCES) $(coffdump_SOURCES) $(dlltool_SOURCES) $(windres_SOURCES) $(dllwrap_SOURCES) $(size_SOURCES) $(objdump_SOURCES) $(ar_SOURCES) $(strings_SOURCES) $(ranlib_SOURCES) $(objcopy_SOURCES) $(addr2line_SOURCES) $(readelf_SOURCES) $(nm_new_SOURCES) $(strip_new_SOURCES) $(cxxfilt_SOURCES)
459OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJECTS) $(dlltool_OBJECTS) $(windres_OBJECTS) $(dllwrap_OBJECTS) $(size_OBJECTS) $(objdump_OBJECTS) $(ar_OBJECTS) $(strings_OBJECTS) $(ranlib_OBJECTS) $(objcopy_OBJECTS) $(addr2line_OBJECTS) $(readelf_OBJECTS) $(nm_new_OBJECTS) $(strip_new_OBJECTS) $(cxxfilt_OBJECTS)
252b5132
RH
460
461all: all-redirect
462.SUFFIXES:
32118081 463.SUFFIXES: .S .c .l .lo .o .obj .s .y
252b5132
RH
464$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
465 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
466
467Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
468 cd $(top_builddir) \
469 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
470
471$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
472 cd $(srcdir) && $(ACLOCAL)
473
474config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
475 $(SHELL) ./config.status --recheck
476$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
477 cd $(srcdir) && $(AUTOCONF)
478
479config.h: stamp-h
480 @if test ! -f $@; then \
481 rm -f stamp-h; \
482 $(MAKE) stamp-h; \
483 else :; fi
484stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
485 cd $(top_builddir) \
486 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
487 $(SHELL) ./config.status
37cc8ec1
AM
488 @echo timestamp > stamp-h 2> /dev/null
489$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
252b5132 490 @if test ! -f $@; then \
37cc8ec1
AM
491 rm -f $(srcdir)/stamp-h.in; \
492 $(MAKE) $(srcdir)/stamp-h.in; \
252b5132 493 else :; fi
37cc8ec1 494$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
252b5132 495 cd $(top_srcdir) && $(AUTOHEADER)
37cc8ec1 496 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
252b5132
RH
497
498mostlyclean-hdr:
499
500clean-hdr:
501
502distclean-hdr:
503 -rm -f config.h
504
505maintainer-clean-hdr:
506
507mostlyclean-binPROGRAMS:
508
509clean-binPROGRAMS:
510 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
511
512distclean-binPROGRAMS:
513
514maintainer-clean-binPROGRAMS:
515
516install-binPROGRAMS: $(bin_PROGRAMS)
517 @$(NORMAL_INSTALL)
518 $(mkinstalldirs) $(DESTDIR)$(bindir)
519 @list='$(bin_PROGRAMS)'; for p in $$list; do \
520 if test -f $$p; then \
37cc8ec1
AM
521 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
522 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
252b5132
RH
523 else :; fi; \
524 done
525
526uninstall-binPROGRAMS:
527 @$(NORMAL_UNINSTALL)
37cc8ec1
AM
528 list='$(bin_PROGRAMS)'; for p in $$list; do \
529 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
252b5132
RH
530 done
531
532mostlyclean-noinstPROGRAMS:
533
534clean-noinstPROGRAMS:
535 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
536
537distclean-noinstPROGRAMS:
538
539maintainer-clean-noinstPROGRAMS:
540
37cc8ec1
AM
541.c.o:
542 $(COMPILE) -c $<
543
32118081
NC
544# FIXME: We should only use cygpath when building on Windows,
545# and only if it is available.
546.c.obj:
547 $(COMPILE) -c `cygpath -w $<`
548
37cc8ec1
AM
549.s.o:
550 $(COMPILE) -c $<
551
552.S.o:
553 $(COMPILE) -c $<
554
252b5132
RH
555mostlyclean-compile:
556 -rm -f *.o core *.core
32118081 557 -rm -f *.$(OBJEXT)
252b5132
RH
558
559clean-compile:
560
561distclean-compile:
562 -rm -f *.tab.c
563
564maintainer-clean-compile:
565
37cc8ec1
AM
566.c.lo:
567 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
568
569.s.lo:
570 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
571
572.S.lo:
573 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
574
252b5132
RH
575mostlyclean-libtool:
576 -rm -f *.lo
577
578clean-libtool:
579 -rm -rf .libs _libs
580
581distclean-libtool:
582
583maintainer-clean-libtool:
584
37cc8ec1
AM
585nlmconv$(EXEEXT): $(nlmconv_OBJECTS) $(nlmconv_DEPENDENCIES)
586 @rm -f nlmconv$(EXEEXT)
587 $(LINK) $(nlmconv_LDFLAGS) $(nlmconv_OBJECTS) $(nlmconv_LDADD) $(LIBS)
252b5132 588
37cc8ec1
AM
589srconv$(EXEEXT): $(srconv_OBJECTS) $(srconv_DEPENDENCIES)
590 @rm -f srconv$(EXEEXT)
591 $(LINK) $(srconv_LDFLAGS) $(srconv_OBJECTS) $(srconv_LDADD) $(LIBS)
592
593sysdump$(EXEEXT): $(sysdump_OBJECTS) $(sysdump_DEPENDENCIES)
594 @rm -f sysdump$(EXEEXT)
595 $(LINK) $(sysdump_LDFLAGS) $(sysdump_OBJECTS) $(sysdump_LDADD) $(LIBS)
252b5132
RH
596
597coffdump$(EXEEXT): $(coffdump_OBJECTS) $(coffdump_DEPENDENCIES)
598 @rm -f coffdump$(EXEEXT)
599 $(LINK) $(coffdump_LDFLAGS) $(coffdump_OBJECTS) $(coffdump_LDADD) $(LIBS)
600
601dlltool$(EXEEXT): $(dlltool_OBJECTS) $(dlltool_DEPENDENCIES)
602 @rm -f dlltool$(EXEEXT)
603 $(LINK) $(dlltool_LDFLAGS) $(dlltool_OBJECTS) $(dlltool_LDADD) $(LIBS)
604
37cc8ec1
AM
605windres$(EXEEXT): $(windres_OBJECTS) $(windres_DEPENDENCIES)
606 @rm -f windres$(EXEEXT)
607 $(LINK) $(windres_LDFLAGS) $(windres_OBJECTS) $(windres_LDADD) $(LIBS)
608
252b5132
RH
609dllwrap$(EXEEXT): $(dllwrap_OBJECTS) $(dllwrap_DEPENDENCIES)
610 @rm -f dllwrap$(EXEEXT)
611 $(LINK) $(dllwrap_LDFLAGS) $(dllwrap_OBJECTS) $(dllwrap_LDADD) $(LIBS)
612
37cc8ec1
AM
613size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES)
614 @rm -f size$(EXEEXT)
615 $(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS)
252b5132
RH
616
617objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
618 @rm -f objdump$(EXEEXT)
619 $(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD) $(LIBS)
620
37cc8ec1
AM
621ar$(EXEEXT): $(ar_OBJECTS) $(ar_DEPENDENCIES)
622 @rm -f ar$(EXEEXT)
623 $(LINK) $(ar_LDFLAGS) $(ar_OBJECTS) $(ar_LDADD) $(LIBS)
624
625strings$(EXEEXT): $(strings_OBJECTS) $(strings_DEPENDENCIES)
626 @rm -f strings$(EXEEXT)
627 $(LINK) $(strings_LDFLAGS) $(strings_OBJECTS) $(strings_LDADD) $(LIBS)
628
252b5132
RH
629ranlib$(EXEEXT): $(ranlib_OBJECTS) $(ranlib_DEPENDENCIES)
630 @rm -f ranlib$(EXEEXT)
631 $(LINK) $(ranlib_LDFLAGS) $(ranlib_OBJECTS) $(ranlib_LDADD) $(LIBS)
632
37cc8ec1
AM
633objcopy$(EXEEXT): $(objcopy_OBJECTS) $(objcopy_DEPENDENCIES)
634 @rm -f objcopy$(EXEEXT)
635 $(LINK) $(objcopy_LDFLAGS) $(objcopy_OBJECTS) $(objcopy_LDADD) $(LIBS)
636
637addr2line$(EXEEXT): $(addr2line_OBJECTS) $(addr2line_DEPENDENCIES)
638 @rm -f addr2line$(EXEEXT)
639 $(LINK) $(addr2line_LDFLAGS) $(addr2line_OBJECTS) $(addr2line_LDADD) $(LIBS)
640
252b5132
RH
641readelf$(EXEEXT): $(readelf_OBJECTS) $(readelf_DEPENDENCIES)
642 @rm -f readelf$(EXEEXT)
643 $(LINK) $(readelf_LDFLAGS) $(readelf_OBJECTS) $(readelf_LDADD) $(LIBS)
644
37cc8ec1
AM
645nm-new$(EXEEXT): $(nm_new_OBJECTS) $(nm_new_DEPENDENCIES)
646 @rm -f nm-new$(EXEEXT)
647 $(LINK) $(nm_new_LDFLAGS) $(nm_new_OBJECTS) $(nm_new_LDADD) $(LIBS)
252b5132
RH
648
649strip-new$(EXEEXT): $(strip_new_OBJECTS) $(strip_new_DEPENDENCIES)
650 @rm -f strip-new$(EXEEXT)
651 $(LINK) $(strip_new_LDFLAGS) $(strip_new_OBJECTS) $(strip_new_LDADD) $(LIBS)
8a965946 652
37cc8ec1
AM
653cxxfilt$(EXEEXT): $(cxxfilt_OBJECTS) $(cxxfilt_DEPENDENCIES)
654 @rm -f cxxfilt$(EXEEXT)
655 $(LINK) $(cxxfilt_LDFLAGS) $(cxxfilt_OBJECTS) $(cxxfilt_LDADD) $(LIBS)
252b5132
RH
656.l.c:
657 $(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(AM_LFLAGS) $(LFLAGS)
658.y.c:
659 $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS)
660arparse.h: arparse.c
661defparse.h: defparse.c
662nlmheader.h: nlmheader.c
663rcparse.h: rcparse.c
664
665
252b5132
RH
666# This directory's subdirectories are mostly independent; you can cd
667# into them and run `make' without going through this Makefile.
668# To change the values of `make' variables: instead of editing Makefiles,
669# (1) if the variable is set in `config.status', edit `config.status'
670# (which will cause the Makefiles to be regenerated when you run `make');
671# (2) otherwise, pass the desired values on the `make' command line.
672
37cc8ec1
AM
673@SET_MAKE@
674
252b5132
RH
675all-recursive install-data-recursive install-exec-recursive \
676installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
677check-recursive installcheck-recursive info-recursive dvi-recursive:
678 @set fnord $(MAKEFLAGS); amf=$$2; \
679 dot_seen=no; \
680 target=`echo $@ | sed s/-recursive//`; \
681 list='$(SUBDIRS)'; for subdir in $$list; do \
682 echo "Making $$target in $$subdir"; \
683 if test "$$subdir" = "."; then \
684 dot_seen=yes; \
685 local_target="$$target-am"; \
686 else \
687 local_target="$$target"; \
688 fi; \
689 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
690 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
691 done; \
692 if test "$$dot_seen" = "no"; then \
693 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
694 fi; test -z "$$fail"
695
696mostlyclean-recursive clean-recursive distclean-recursive \
697maintainer-clean-recursive:
698 @set fnord $(MAKEFLAGS); amf=$$2; \
699 dot_seen=no; \
700 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
701 rev="$$subdir $$rev"; \
72f47744 702 test "$$subdir" != "." || dot_seen=yes; \
252b5132
RH
703 done; \
704 test "$$dot_seen" = "no" && rev=". $$rev"; \
705 target=`echo $@ | sed s/-recursive//`; \
706 for subdir in $$rev; do \
707 echo "Making $$target in $$subdir"; \
708 if test "$$subdir" = "."; then \
709 local_target="$$target-am"; \
710 else \
711 local_target="$$target"; \
712 fi; \
713 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
714 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
715 done && test -z "$$fail"
716tags-recursive:
717 list='$(SUBDIRS)'; for subdir in $$list; do \
718 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
719 done
720
721tags: TAGS
722
37cc8ec1
AM
723ID: $(HEADERS) $(SOURCES) $(LISP)
724 list='$(SOURCES) $(HEADERS)'; \
725 unique=`for i in $$list; do echo $$i; done | \
726 awk ' { files[$$0] = 1; } \
252b5132 727 END { for (i in files) print i; }'`; \
37cc8ec1
AM
728 here=`pwd` && cd $(srcdir) \
729 && mkid -f$$here/ID $$unique $(LISP)
252b5132 730
37cc8ec1 731TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
252b5132
RH
732 tags=; \
733 here=`pwd`; \
734 list='$(SUBDIRS)'; for subdir in $$list; do \
735 if test "$$subdir" = .; then :; else \
736 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
737 fi; \
738 done; \
37cc8ec1
AM
739 list='$(SOURCES) $(HEADERS)'; \
740 unique=`for i in $$list; do echo $$i; done | \
741 awk ' { files[$$0] = 1; } \
252b5132
RH
742 END { for (i in files) print i; }'`; \
743 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
6e1a7e9a 744 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
252b5132
RH
745
746mostlyclean-tags:
747
748clean-tags:
749
750distclean-tags:
751 -rm -f TAGS ID
752
753maintainer-clean-tags:
754
755distdir = $(PACKAGE)-$(VERSION)
756top_distdir = $(distdir)
757
758# This target untars the dist file and tries a VPATH configuration. Then
759# it guarantees that the distribution is self-contained by making another
760# tarfile.
761distcheck: dist
37cc8ec1
AM
762 -rm -rf $(distdir)
763 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
252b5132
RH
764 mkdir $(distdir)/=build
765 mkdir $(distdir)/=inst
37cc8ec1
AM
766 dc_install_base=`cd $(distdir)/=inst && pwd`; \
767 cd $(distdir)/=build \
252b5132
RH
768 && ../configure --srcdir=.. --prefix=$$dc_install_base \
769 && $(MAKE) $(AM_MAKEFLAGS) \
770 && $(MAKE) $(AM_MAKEFLAGS) dvi \
771 && $(MAKE) $(AM_MAKEFLAGS) check \
772 && $(MAKE) $(AM_MAKEFLAGS) install \
773 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
37cc8ec1
AM
774 && $(MAKE) $(AM_MAKEFLAGS) dist
775 -rm -rf $(distdir)
252b5132
RH
776 @banner="$(distdir).tar.gz is ready for distribution"; \
777 dashes=`echo "$$banner" | sed s/./=/g`; \
778 echo "$$dashes"; \
779 echo "$$banner"; \
780 echo "$$dashes"
781dist: distdir
37cc8ec1
AM
782 -chmod -R a+r $(distdir)
783 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
784 -rm -rf $(distdir)
252b5132 785dist-all: distdir
37cc8ec1
AM
786 -chmod -R a+r $(distdir)
787 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
788 -rm -rf $(distdir)
252b5132 789distdir: $(DISTFILES)
37cc8ec1 790 -rm -rf $(distdir)
252b5132 791 mkdir $(distdir)
37cc8ec1 792 -chmod 777 $(distdir)
252b5132
RH
793 @for file in $(DISTFILES); do \
794 if test -f $$file; then d=.; else d=$(srcdir); fi; \
795 if test -d $$d/$$file; then \
1c6fb4fe 796 cp -pr $$d/$$file $(distdir)/$$file; \
252b5132
RH
797 else \
798 test -f $(distdir)/$$file \
37cc8ec1
AM
799 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
800 || cp -p $$d/$$file $(distdir)/$$file || :; \
252b5132
RH
801 fi; \
802 done
803 for subdir in $(SUBDIRS); do \
804 if test "$$subdir" = .; then :; else \
805 test -d $(distdir)/$$subdir \
806 || mkdir $(distdir)/$$subdir \
807 || exit 1; \
37cc8ec1 808 chmod 777 $(distdir)/$$subdir; \
252b5132
RH
809 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
810 || exit 1; \
811 fi; \
812 done
37cc8ec1
AM
813
814RUNTESTFLAGS =
815
816DEJATOOL = $(PACKAGE)
817
818RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
819site.exp: Makefile
820 @echo 'Making a new site.exp file...'
821 @test ! -f site.bak || rm -f site.bak
822 @echo '## these variables are automatically generated by make ##' > $@-t
823 @echo '# Do not edit here. If you wish to override these values' >> $@-t
824 @echo '# edit the last section' >> $@-t
825 @echo 'set tool $(DEJATOOL)' >> $@-t
826 @echo 'set srcdir $(srcdir)' >> $@-t
827 @echo 'set objdir' `pwd` >> $@-t
828 @echo 'set host_alias $(host_alias)' >> $@-t
829 @echo 'set host_triplet $(host_triplet)' >> $@-t
830 @echo 'set target_alias $(target_alias)' >> $@-t
831 @echo 'set target_triplet $(target_triplet)' >> $@-t
832 @echo 'set build_alias $(build_alias)' >> $@-t
833 @echo 'set build_triplet $(build_triplet)' >> $@-t
834 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
6e1a7e9a 835 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
37cc8ec1
AM
836 @test ! -f site.exp || mv site.exp site.bak
837 @mv $@-t site.exp
c45021f2 838info-am:
252b5132 839info: info-recursive
c45021f2 840dvi-am:
252b5132
RH
841dvi: dvi-recursive
842check-am:
843 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
844check: check-recursive
845installcheck-am:
846installcheck: installcheck-recursive
847install-info-am:
848install-info: install-info-recursive
849all-recursive-am: config.h
850 $(MAKE) $(AM_MAKEFLAGS) all-recursive
851
852install-exec-am: install-binPROGRAMS install-exec-local
853install-exec: install-exec-recursive
854
c45021f2 855install-data-am:
252b5132
RH
856install-data: install-data-recursive
857
858install-am: all-am
859 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
860install: install-recursive
c45021f2 861uninstall-am: uninstall-binPROGRAMS
252b5132 862uninstall: uninstall-recursive
c45021f2 863all-am: Makefile $(PROGRAMS) config.h
252b5132
RH
864all-redirect: all-recursive-am
865install-strip:
37cc8ec1 866 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
252b5132
RH
867installdirs: installdirs-recursive
868installdirs-am:
c45021f2 869 $(mkinstalldirs) $(DESTDIR)$(bindir)
252b5132
RH
870
871
872mostlyclean-generic:
873 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
874
875clean-generic:
876 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
877
878distclean-generic:
879 -rm -f Makefile $(CONFIG_CLEAN_FILES)
880 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
881 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
882
883maintainer-clean-generic:
72f47744 884 -test -z "arlex.cdeflex.crclex.carparse.harparse.cdefparse.hdefparse.cnlmheader.hnlmheader.crcparse.hrcparse.c" || rm -f arlex.c deflex.c rclex.c arparse.h arparse.c defparse.h defparse.c nlmheader.h nlmheader.c rcparse.h rcparse.c
252b5132
RH
885mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
886 mostlyclean-noinstPROGRAMS mostlyclean-compile \
c45021f2 887 mostlyclean-libtool mostlyclean-tags \
252b5132
RH
888 mostlyclean-generic mostlyclean-local
889
890mostlyclean: mostlyclean-recursive
891
892clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
c45021f2
NC
893 clean-compile clean-libtool clean-tags clean-generic \
894 mostlyclean-am
252b5132
RH
895
896clean: clean-recursive
897
898distclean-am: distclean-hdr distclean-binPROGRAMS \
899 distclean-noinstPROGRAMS distclean-compile \
c45021f2
NC
900 distclean-libtool distclean-tags distclean-generic \
901 clean-am
252b5132
RH
902 -rm -f libtool
903
904distclean: distclean-recursive
905 -rm -f config.status
906
907maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
908 maintainer-clean-noinstPROGRAMS \
909 maintainer-clean-compile maintainer-clean-libtool \
c45021f2
NC
910 maintainer-clean-tags maintainer-clean-generic \
911 distclean-am
252b5132
RH
912 @echo "This command is intended for maintainers to use;"
913 @echo "it deletes files that may require special tools to rebuild."
914
915maintainer-clean: maintainer-clean-recursive
916 -rm -f config.status
917
918.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
919mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
920maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
921mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
922clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
923mostlyclean-compile distclean-compile clean-compile \
924maintainer-clean-compile mostlyclean-libtool distclean-libtool \
c45021f2
NC
925clean-libtool maintainer-clean-libtool install-data-recursive \
926uninstall-data-recursive install-exec-recursive \
927uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
928all-recursive check-recursive installcheck-recursive info-recursive \
929dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
252b5132 930maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
37cc8ec1 931distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
252b5132
RH
932info-am info dvi-am dvi check check-am installcheck-am installcheck \
933install-info-am install-info all-recursive-am install-exec-local \
934install-exec-am install-exec install-data-am install-data install-am \
37cc8ec1
AM
935install uninstall-am uninstall all-redirect all-am all installdirs-am \
936installdirs mostlyclean-generic distclean-generic clean-generic \
937maintainer-clean-generic clean mostlyclean distclean maintainer-clean
252b5132
RH
938
939po/POTFILES.in: @MAINT@ Makefile
51f7282a 940 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
252b5132
RH
941 && mv tmp $(srcdir)/po/POTFILES.in
942
943check-DEJAGNU: site.exp
944 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
945 r=`pwd`; export r; \
946 EXPECT=$(EXPECT); export EXPECT; \
947 if [ -f $(top_builddir)/../expect/expect ]; then \
948 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
949 export TCL_LIBRARY; \
950 fi; \
951 runtest=$(RUNTEST); \
952 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
16474668
NC
953 CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
954 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
955 $(RUNTESTFLAGS); \
252b5132
RH
956 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
957 fi
958
959installcheck:
960 /bin/sh $(srcdir)/sanity.sh $(bindir)
961
8b1e6df3
NC
962objdump.o:objdump.c
963 $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
964
41b49281 965# The following is commented out for the conversion to automake.
252b5132
RH
966# This rule creates a single binary that switches between ar and ranlib
967# by looking at argv[0]. Use this kludge to save some disk space.
968# However, you have to install things by hand.
969# (That is after 'make install', replace the installed ranlib by a link to ar.)
970# Alternatively, you can install ranlib.sh as ranlib.
971# ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
972# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
973# -rm -f $(RANLIB_PROG)
974# -ln $(AR_PROG) $(RANLIB_PROG)
975#
976# objcopy and strip in one binary that uses argv[0] to decide its action.
977#
978#objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
979# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
980# -rm -f $(STRIP_PROG)
981# -ln $(OBJCOPY_PROG) $(STRIP_PROG)
982
983sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
984 ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
985 ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
986 ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
987
988sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
989 ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
990
991sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
dc3c06c2 992 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
252b5132 993
dc3c06c2 994syslex.o:
252b5132 995 if [ -r syslex.c ]; then \
dc3c06c2 996 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c ; \
252b5132 997 else \
dc3c06c2 998 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c ;\
252b5132
RH
999 fi
1000
dc3c06c2 1001sysinfo.o:
252b5132 1002 if [ -r sysinfo.c ]; then \
dc3c06c2 1003 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c ; \
252b5132 1004 else \
dc3c06c2 1005 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c ; \
252b5132
RH
1006 fi
1007
41b49281
AM
1008# We need these for parallel make.
1009arparse.h: arparse.c
1010defparse.h: defparse.c
1011nlmheader.h: nlmheader.c
1012rcparse.h: rcparse.c
1013sysinfo.h: sysinfo.c
1014
dc3c06c2 1015dlltool.o:
252b5132
RH
1016 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
1017
dc3c06c2 1018rescoff.o:
09cda596
DD
1019 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
1020
252b5132
RH
1021# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
1022# scripts, since they are only included conditionally.
1023nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
1024 ldname=`echo ld | sed '$(transform)'`; \
1025 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
1026
c45021f2 1027diststuff: $(EXTRA_DIST) info
252b5132 1028
6a8c2b0d
AM
1029Makefile: $(BFDDIR)/configure.in
1030
252b5132 1031# Targets to rebuild dependencies in this Makefile.
c278c150
ILT
1032# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1033DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1034 rm -f DEP1
41b49281 1035 $(MAKE) MKDEP="$(MKDEP)" DEP1
0bdaf48b
AM
1036 sed -f dep.sed < DEP1 > DEPA
1037 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1038 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
6d5be915
AM
1039 echo 'make DEP failed!'; exit 1; \
1040 else \
0bdaf48b 1041 mv -f DEPA $@; \
6d5be915 1042 fi
252b5132 1043
c278c150 1044DEP1: $(CFILES) $(GENERATED_CFILES)
c278c150 1045 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
41b49281
AM
1046 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1047 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1048 mv -f DEP2 $@
252b5132
RH
1049
1050dep.sed: dep-in.sed config.status
1051 objdir=`pwd`; \
1052 sed <$(srcdir)/dep-in.sed >dep.sed \
1053 -e 's!@INCDIR@!$(INCDIR)!' \
1054 -e 's!@BFDDIR@!$(BFDDIR)!' \
1055 -e 's!@SRCDIR@!$(srcdir)!' \
8e42bcb6
AM
1056 -e "s!@OBJDIR@!$${objdir}!" \
1057 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!'
252b5132 1058
c278c150 1059dep: DEP
252b5132 1060 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
c278c150 1061 cat DEP >> tmp-Makefile
252b5132
RH
1062 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
1063
c278c150 1064dep-in: DEP
252b5132 1065 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
c278c150 1066 cat DEP >> tmp-Makefile.in
252b5132
RH
1067 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1068
c278c150 1069dep-am: DEP
252b5132 1070 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
c278c150 1071 cat DEP >> tmp-Makefile.am
252b5132
RH
1072 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1073
1074.PHONY: dep dep-in dep-am
252b5132
RH
1075mostlyclean-local:
1076 -rm -rf tmpdir
1077
1078.PHONY: install-exec-local
1079
9c28aef3 1080install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
252b5132
RH
1081 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1082 if test -f $$p; then \
8a965946 1083 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 1084 $(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
1085 else :; fi; \
1086 done
d3d8a9ee 1087 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
252b5132
RH
1088 for i in $(TOOL_PROGS); do \
1089 if [ -f $$i$(EXEEXT) ]; then \
1090 j=`echo $$i | sed -e 's/-new//'`; \
1091 k=`echo $$j | sed '$(transform)'`; \
75aa6618 1092 if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
d3d8a9ee
NC
1093 rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
1094 ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
1095 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
252b5132
RH
1096 fi; \
1097 else true; \
1098 fi; \
1099 done
1100
1101# What appears below is generated by a hacked mkdep using gcc -MM.
1102
1103# DO NOT DELETE THIS LINE -- mkdep uses it.
1104# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
252b5132 1105addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1106 $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
1107 $(INCDIR)/demangle.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
a6637ec0 1108 $(INCDIR)/fopen-same.h budemang.h
6a8c2b0d
AM
1109ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1110 $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
1111 config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1ea788ee
AM
1112 $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h $(INCDIR)/filenames.h \
1113 binemul.h
252b5132 1114arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1115 $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
1116 config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1117 $(INCDIR)/filenames.h
a6637ec0
AM
1118binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1119 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1120 $(INCDIR)/fopen-same.h
252b5132 1121bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
55bb4be3
AM
1122 $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \
1123 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1124 $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h
c5b3a82a 1125budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
a6637ec0
AM
1126 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1127 budemang.h
8e42bcb6
AM
1128coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1129 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h coffgrok.h \
1130 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1131coffgrok.o: coffgrok.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1132 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
1133 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h \
1134 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h coffgrok.h
bb279dc0
ZW
1135cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1136 $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1137 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h
252b5132 1138debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1139 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1140 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h
252b5132 1141dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1142 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
1143 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \
1144 $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h
a6637ec0
AM
1145dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1146 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
1147 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
1148emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1149 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1150 $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1151 $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h
1152emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \
1153 $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h config.h \
1154 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
252b5132 1155filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1156 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1157 $(INCDIR)/fopen-same.h
1158ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1159 $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1160 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
1161 budbg.h $(INCDIR)/filenames.h
252b5132
RH
1162is-ranlib.o: is-ranlib.c
1163is-strip.o: is-strip.c
1164maybe-ranlib.o: maybe-ranlib.c
1165maybe-strip.o: maybe-strip.c
1166nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1167 $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
1168 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
1169 $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1170 $(INCDIR)/nlm/external.h nlmconv.h
1171nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1172 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
a6637ec0
AM
1173 $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \
1174 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \
1175 $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
1176 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
252b5132
RH
1177not-ranlib.o: not-ranlib.c
1178not-strip.o: not-strip.c
1179objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1180 $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \
1181 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
6ece5c52
AM
1182 budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \
1183 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1184 $(INCDIR)/bfdlink.h
252b5132 1185objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6e1a7e9a
AM
1186 $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \
1187 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1188 budemang.h $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h \
1189 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
1190 budbg.h $(INCDIR)/aout/aout64.h
6a8c2b0d
AM
1191prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1192 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1193 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
1194 budbg.h
252b5132 1195rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1196 $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \
1197 config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
a6637ec0
AM
1198 $(INCDIR)/libiberty.h debug.h budbg.h $(BFDDIR)/libcoff.h \
1199 $(INCDIR)/bfdlink.h
252b5132 1200rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1201 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1202 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
1203 budbg.h
a6637ec0
AM
1204readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1205 $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
1206 $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
1207 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
1208 $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
1209 $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
1210 $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
bb279dc0
ZW
1211 $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
1212 $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
1213 $(INCDIR)/elf/m32r.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h \
1214 $(INCDIR)/elf/mcore.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \
2469cfa2
NC
1215 $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/msp430.h \
1216 $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/ppc.h \
c833c019
AM
1217 $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/sh.h \
1218 $(INCDIR)/elf/sparc.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h \
3443c1ae
AM
1219 $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/crx.h \
1220 $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/xtensa.h $(INCDIR)/aout/ar.h \
1221 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
55bb4be3 1222 $(INCDIR)/libiberty.h unwind-ia64.h
a6637ec0
AM
1223rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1224 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1225 $(INCDIR)/fopen-same.h
1226resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1227 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1228 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
1229 winduni.h
1230rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1231 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1232 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
1233 winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
1234 $(INCDIR)/bfdlink.h
1235resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1236 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1237 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1238 windres.h winduni.h
1239resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1240 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1241 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
1242 winduni.h
6a8c2b0d 1243size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
ba323545
AM
1244 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1245 $(INCDIR)/libiberty.h
8e42bcb6
AM
1246srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1247 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1248 $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \
1249 $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
1250 sysroff.c
252b5132 1251stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1252 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1253 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1254 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \
1255 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
252b5132 1256strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
8e42bcb6
AM
1257 $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
1258 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1259 $(INCDIR)/safe-ctype.h
252b5132 1260sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d 1261 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
8e42bcb6
AM
1262 $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \
1263 sysroff.h sysroff.c
252b5132 1264version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6e1a7e9a
AM
1265 $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h config.h \
1266 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
72f47744
AM
1267windres.o: windres.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1268 $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1269 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1270 windres.h winduni.h
252b5132 1271winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1272 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1273 $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h
a6637ec0 1274wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1ea788ee 1275 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
a6637ec0
AM
1276 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1277 debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1278 $(INCDIR)/aout/stab.def
252b5132 1279arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1280 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1281 $(INCDIR)/fopen-same.h arsup.h
8e42bcb6
AM
1282arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1283 arparse.h
252b5132
RH
1284sysroff.o: sysroff.c
1285sysinfo.o: sysinfo.c
dc3c06c2 1286syslex.o: syslex.c config.h sysinfo.h
252b5132 1287defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1288 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1289 $(INCDIR)/fopen-same.h dlltool.h
252b5132
RH
1290deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1291 defparse.h dlltool.h
8e42bcb6
AM
1292nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
1293 ../bfd/bfd.h $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
6a8c2b0d
AM
1294 $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1295 nlmconv.h
252b5132 1296rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1297 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1298 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
1299 winduni.h $(INCDIR)/safe-ctype.h
252b5132 1300rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
6a8c2b0d
AM
1301 $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1302 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1303 windres.h winduni.h rcparse.h
252b5132
RH
1304# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1305
1306# Tell versions [3.59,3.63) of GNU make to not export all variables.
1307# Otherwise a system limit (for SysV at least) may be exceeded.
1308.NOEXPORT:
This page took 0.294023 seconds and 4 git commands to generate.