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