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