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