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