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