Commit | Line | Data |
---|---|---|
eb1e0e80 | 1 | # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am |
252b5132 | 2 | |
eb1e0e80 | 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 | ||
a2d91340 | 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 | |
da54c6eb L |
34 | |
35 | DESTDIR = | |
36 | ||
252b5132 RH |
37 | pkgdatadir = $(datadir)/@PACKAGE@ |
38 | pkglibdir = $(libdir)/@PACKAGE@ | |
39 | pkgincludedir = $(includedir)/@PACKAGE@ | |
da54c6eb | 40 | |
252b5132 RH |
41 | top_builddir = . |
42 | ||
43 | ACLOCAL = @ACLOCAL@ | |
44 | AUTOCONF = @AUTOCONF@ | |
45 | AUTOMAKE = @AUTOMAKE@ | |
46 | AUTOHEADER = @AUTOHEADER@ | |
47 | ||
48 | INSTALL = @INSTALL@ | |
da54c6eb | 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@ | |
da54c6eb | 53 | |
252b5132 RH |
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 | AS = @AS@ | |
67 | CATALOGS = @CATALOGS@ | |
68 | CATOBJEXT = @CATOBJEXT@ | |
69 | CC = @CC@ | |
70 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
3a9d486c | 71 | CXXCPP = @CXXCPP@ |
252b5132 RH |
72 | DATADIRNAME = @DATADIRNAME@ |
73 | DLLTOOL = @DLLTOOL@ | |
3336653a | 74 | EMULATION_LIBPATH = @EMULATION_LIBPATH@ |
da54c6eb | 75 | EXEEXT = @EXEEXT@ |
252b5132 | 76 | EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ |
dd94604f L |
77 | GCJ = @GCJ@ |
78 | GCJFLAGS = @GCJFLAGS@ | |
252b5132 RH |
79 | GMOFILES = @GMOFILES@ |
80 | GMSGFMT = @GMSGFMT@ | |
81 | GT_NO = @GT_NO@ | |
82 | GT_YES = @GT_YES@ | |
83 | HDEFINES = @HDEFINES@ | |
84 | INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ | |
85 | INSTOBJEXT = @INSTOBJEXT@ | |
86 | INTLDEPS = @INTLDEPS@ | |
87 | INTLOBJS = @INTLOBJS@ | |
252b5132 RH |
88 | LIBTOOL = @LIBTOOL@ |
89 | LN_S = @LN_S@ | |
90 | MAINT = @MAINT@ | |
da54c6eb | 91 | MAKEINFO = @MAKEINFO@ |
252b5132 RH |
92 | MKINSTALLDIRS = @MKINSTALLDIRS@ |
93 | MSGFMT = @MSGFMT@ | |
94 | NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@ | |
a74801ba | 95 | OBJDUMP = @OBJDUMP@ |
3a9d486c | 96 | OBJEXT = @OBJEXT@ |
252b5132 RH |
97 | PACKAGE = @PACKAGE@ |
98 | POFILES = @POFILES@ | |
99 | POSUB = @POSUB@ | |
100 | RANLIB = @RANLIB@ | |
597e2591 | 101 | STRINGIFY = @STRINGIFY@ |
3a9d486c | 102 | STRIP = @STRIP@ |
252b5132 RH |
103 | USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ |
104 | USE_NLS = @USE_NLS@ | |
252b5132 | 105 | VERSION = @VERSION@ |
b4477fa8 NC |
106 | bfdincludedir = @bfdincludedir@ |
107 | bfdlibdir = @bfdlibdir@ | |
252b5132 RH |
108 | l = @l@ |
109 | ||
110 | INTLLIBS = @INTLLIBS@ | |
111 | ||
112 | AUTOMAKE_OPTIONS = cygnus dejagnu | |
113 | ||
114 | SUBDIRS = po | |
115 | ||
116 | tooldir = $(exec_prefix)/$(target_alias) | |
da54c6eb L |
117 | |
118 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` | |
252b5132 | 119 | YFLAGS = -d |
da54c6eb L |
120 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
121 | ||
122 | WARN_CFLAGS = @WARN_CFLAGS@ | |
a2d91340 AC |
123 | AM_CFLAGS = $(WARN_CFLAGS) |
124 | ||
252b5132 RH |
125 | # We put the scripts in the directory $(scriptdir)/ldscripts. |
126 | # We can't put the scripts in $(datadir) because the SEARCH_DIR | |
127 | # directives need to be different for native and cross linkers. | |
128 | scriptdir = $(tooldir)/lib | |
129 | ||
da54c6eb L |
130 | EMUL = @EMUL@ |
131 | EMULATION_OFILES = @EMULATION_OFILES@ | |
132 | EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@ | |
133 | ||
252b5132 RH |
134 | # Search path to override the default search path for -lfoo libraries. |
135 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. | |
136 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building | |
137 | # a cross-linker, in which case the default is empty. See genscripts.sh.) | |
138 | # Otherwise, they are replaced with the ones given in LIB_PATH, | |
139 | # which may have the form: LIB_PATH=/lib:/usr/local/lib | |
140 | LIB_PATH = | |
141 | ||
142 | BASEDIR = $(srcdir)/.. | |
143 | BFDDIR = $(BASEDIR)/bfd | |
144 | INCDIR = $(BASEDIR)/include | |
41b49281 | 145 | MKDEP = gcc -MM |
252b5132 RH |
146 | |
147 | # What version of the manual to build | |
148 | DOCVER = gen | |
149 | ||
0285c67d NC |
150 | # Options to extract the man page from ld.texinfo |
151 | MANCONF = -Dman | |
152 | ||
153 | TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl | |
154 | ||
ff5dcc92 SC |
155 | POD2MAN = pod2man --center="GNU Development Tools" \ |
156 | --release="binutils-$(VERSION)" --section=1 | |
0285c67d | 157 | |
da54c6eb L |
158 | |
159 | #stuff for self hosting (can be overridden in config file). | |
160 | HOSTING_CRT0 = @HOSTING_CRT0@ | |
161 | HOSTING_LIBS = @HOSTING_LIBS@ | |
252b5132 RH |
162 | HOSTING_EMU = -m $(EMUL) |
163 | ||
164 | # Setup the testing framework, if you have one | |
c7e40348 NC |
165 | EXPECT = `if [ -f $$r/../expect/expect ] ; \ |
166 | then echo $$r/../expect/expect ; \ | |
167 | else echo expect ; fi` | |
252b5132 RH |
168 | |
169 | ||
c7e40348 NC |
170 | RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ |
171 | then echo $${srcroot}/../dejagnu/runtest ; \ | |
172 | else echo runtest ; fi` | |
252b5132 RH |
173 | |
174 | ||
175 | RUNTESTFLAGS = | |
176 | ||
c7e40348 NC |
177 | CC_FOR_TARGET = ` \ |
178 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
179 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
180 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
181 | else \ | |
182 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
183 | fi; \ | |
184 | else \ | |
185 | if [ "@host@" = "@target@" ] ; then \ | |
186 | echo $(CC); \ | |
187 | else \ | |
188 | echo gcc | sed '$(transform)'; \ | |
189 | fi; \ | |
190 | fi` | |
252b5132 | 191 | |
da54c6eb L |
192 | |
193 | CXX = gcc | |
c7e40348 NC |
194 | CXX_FOR_TARGET = ` \ |
195 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
196 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
197 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
198 | else \ | |
199 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
200 | fi; \ | |
201 | else \ | |
202 | if [ "@host@" = "@target@" ] ; then \ | |
203 | echo $(CXX); \ | |
204 | else \ | |
205 | echo gcc | sed '$(transform)'; \ | |
206 | fi; \ | |
207 | fi` | |
252b5132 RH |
208 | |
209 | ||
210 | noinst_PROGRAMS = ld-new | |
211 | info_TEXINFOS = ld.texinfo | |
212 | noinst_TEXINFOS = ldint.texinfo | |
213 | man_MANS = ld.1 | |
214 | ||
215 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\"" | |
216 | ||
217 | BFDLIB = ../bfd/libbfd.la | |
218 | LIBIBERTY = ../libiberty/libiberty.a | |
219 | ||
c7e40348 NC |
220 | ALL_EMULATIONS = \ |
221 | ea29k.o \ | |
222 | eaixppc.o \ | |
223 | eaixrs6.o \ | |
224 | ealpha.o \ | |
225 | earcelf.o \ | |
226 | earm_epoc_pe.o \ | |
227 | earmaoutb.o \ | |
228 | earmaoutl.o \ | |
229 | earmcoff.o \ | |
230 | earmelf.o \ | |
ac3e50bf | 231 | earmelf_fbsd.o \ |
c7e40348 | 232 | earmelf_linux.o \ |
3695c299 | 233 | earmelf_nbsd.o \ |
658f2588 | 234 | earmelfb_nbsd.o \ |
c7e40348 NC |
235 | earmelf_oabi.o \ |
236 | earmnbsd.o \ | |
237 | earmpe.o \ | |
238 | eavr1200.o \ | |
239 | eavr23xx.o \ | |
240 | eavr4433.o \ | |
241 | eavr44x4.o \ | |
242 | eavr85xx.o \ | |
243 | eavrmega103.o \ | |
244 | eavrmega161.o \ | |
245 | eavrmega603.o \ | |
fae1e84f MM |
246 | eavr1.o \ |
247 | eavr2.o \ | |
248 | eavr3.o \ | |
249 | eavr4.o \ | |
250 | eavr5.o \ | |
c7e40348 NC |
251 | ecoff_sparc.o \ |
252 | ecrisaout.o \ | |
253 | ecriself.o \ | |
254 | ecrislinux.o \ | |
255 | ed10velf.o \ | |
256 | ed30v_e.o \ | |
257 | ed30v_o.o \ | |
258 | ed30velf.o \ | |
259 | edelta68.o \ | |
260 | eebmon29k.o \ | |
261 | eelf32_i960.o \ | |
262 | eelf32_i860.o \ | |
263 | eelf32_sparc.o \ | |
264 | eelf32b4300.o \ | |
265 | eelf32bmip.o \ | |
266 | eelf32bmipn32.o \ | |
267 | eelf32btsmip.o \ | |
268 | eelf32ltsmip.o \ | |
269 | eelf32ebmip.o \ | |
270 | eelf32elmip.o \ | |
271 | eelf32fr30.o \ | |
272 | eelf32i370.o \ | |
273 | eelf32l4300.o \ | |
274 | eelf32lmip.o \ | |
275 | eelf32lppc.o \ | |
276 | eelf32lppcsim.o \ | |
277 | eelf32mcore.o \ | |
278 | eelf32openrisc.o \ | |
279 | eelf32ppc.o \ | |
ac3e50bf | 280 | eelf32ppc_fbsd.o \ |
c7e40348 NC |
281 | eelf32ppclinux.o \ |
282 | eelf32ppcsim.o \ | |
94349e12 | 283 | eelf32ppcwindiss.o \ |
93fbbb04 | 284 | eelf32xstormy16.o \ |
c7e40348 NC |
285 | eelf_i386.o \ |
286 | eelf_i386_be.o \ | |
287 | eelf_i386_chaos.o \ | |
ac3e50bf | 288 | eelf_i386_fbsd.o \ |
6caa99ab | 289 | eelf_i386_ldso.o \ |
c7e40348 NC |
290 | eelf_s390.o \ |
291 | egld960.o \ | |
292 | egld960coff.o \ | |
293 | eh8300.o \ | |
294 | eh8300h.o \ | |
295 | eh8300s.o \ | |
8af6dd41 JR |
296 | eh8300elf.o \ |
297 | eh8300helf.o \ | |
298 | eh8300self.o \ | |
c7e40348 NC |
299 | eh8500.o \ |
300 | eh8500b.o \ | |
301 | eh8500c.o \ | |
302 | eh8500m.o \ | |
303 | eh8500s.o \ | |
304 | ehp300bsd.o \ | |
305 | ehp3hpux.o \ | |
306 | ehppaelf.o \ | |
307 | ehppalinux.o \ | |
006336b8 | 308 | ehppanbsd.o \ |
c7e40348 NC |
309 | ei386aout.o \ |
310 | ei386beos.o \ | |
311 | ei386bsd.o \ | |
312 | ei386coff.o \ | |
313 | ei386go32.o \ | |
314 | ei386linux.o \ | |
315 | ei386lynx.o \ | |
316 | ei386mach.o \ | |
317 | ei386moss.o \ | |
318 | ei386msdos.o \ | |
319 | ei386nbsd.o \ | |
320 | ei386nw.o \ | |
321 | ei386pe.o \ | |
322 | ei386pe_posix.o \ | |
323 | elnk960.o \ | |
324 | em68hc11elf.o \ | |
325 | em68hc11elfb.o \ | |
326 | em68hc12elf.o \ | |
327 | em68hc12elfb.o \ | |
328 | em68k4knbsd.o \ | |
329 | em68kaout.o \ | |
330 | em68kaux.o \ | |
331 | em68kcoff.o \ | |
332 | em68kelf.o \ | |
0b69cd08 | 333 | em68kelfnbsd.o \ |
c7e40348 NC |
334 | em68klinux.o \ |
335 | em68klynx.o \ | |
336 | em68knbsd.o \ | |
337 | em68kpsos.o \ | |
338 | em88kbcs.o \ | |
339 | emcorepe.o \ | |
340 | emipsbig.o \ | |
341 | emipsbsd.o \ | |
342 | emipsidt.o \ | |
343 | emipsidtl.o \ | |
344 | emipslit.o \ | |
345 | emipslnews.o \ | |
346 | emipspe.o \ | |
347 | enews.o \ | |
348 | ens32knbsd.o \ | |
3b16e843 NC |
349 | eor32.o \ |
350 | eor32elf.o \ | |
c7e40348 NC |
351 | epc532macha.o \ |
352 | epdp11.o \ | |
353 | epjelf.o \ | |
354 | epjlelf.o \ | |
355 | eppcmacos.o \ | |
356 | eppcnw.o \ | |
357 | eppcpe.o \ | |
358 | eriscix.o \ | |
359 | esa29200.o \ | |
360 | esh.o \ | |
2d92cb7d AO |
361 | eshelf32.o \ |
362 | eshlelf32.o \ | |
c7e40348 NC |
363 | eshelf.o \ |
364 | eshelf_linux.o \ | |
365 | eshlelf_linux.o \ | |
8d05742f JT |
366 | eshelf_nbsd.o \ |
367 | eshlelf_nbsd.o \ | |
c7e40348 NC |
368 | eshl.o \ |
369 | eshlelf.o \ | |
370 | eshpe.o \ | |
371 | esparcaout.o \ | |
372 | esparclinux.o \ | |
373 | esparclynx.o \ | |
374 | esparcnbsd.o \ | |
375 | est2000.o \ | |
376 | esun3.o \ | |
377 | esun4.o \ | |
378 | etic30aout.o \ | |
379 | etic30coff.o \ | |
380 | etic54xcoff.o \ | |
381 | etic80coff.o \ | |
382 | evanilla.o \ | |
383 | evax.o \ | |
384 | evsta.o \ | |
385 | ew65.o \ | |
386 | ez8001.o \ | |
387 | ez8002.o | |
388 | ||
389 | ||
390 | ALL_64_EMULATIONS = \ | |
391 | eelf64_aix.o \ | |
392 | eelf64_ia64.o \ | |
ac3e50bf | 393 | eelf64_ia64_fbsd.o \ |
2d92cb7d AO |
394 | eshelf64.o \ |
395 | eshlelf64.o \ | |
c7e40348 | 396 | eelf_x86_64.o \ |
ac3e50bf | 397 | eelf_x86_64_fbsd.o \ |
c7e40348 NC |
398 | eelf64_s390.o \ |
399 | eelf64_sparc.o \ | |
ac3e50bf | 400 | eelf64_sparc_fbsd.o \ |
c7e40348 | 401 | eelf64alpha.o \ |
ac3e50bf | 402 | eelf64alpha_fbsd.o \ |
fc18a3f3 | 403 | eelf64alpha_nbsd.o \ |
c7e40348 NC |
404 | eelf64bmip.o \ |
405 | eelf64btsmip.o \ | |
406 | eelf64ltsmip.o \ | |
6caa99ab | 407 | eelf64hppa.o \ |
3c3bdf30 NC |
408 | eelf64mmix.o \ |
409 | emmo.o \ | |
a7d792bb L |
410 | eelf64ppc.o \ |
411 | eelf64lppc.o \ | |
9f22353f | 412 | ehppa64linux.o |
c7e40348 NC |
413 | |
414 | ||
415 | ALL_EMUL_EXTRA_OFILES = \ | |
416 | deffilep.o \ | |
417 | pe-dll.o | |
418 | ||
419 | ||
420 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ | |
421 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ | |
422 | mri.c ldcref.c pe-dll.c | |
423 | ||
424 | ||
425 | HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ | |
426 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ | |
427 | ldwrite.h mri.h deffile.h pe-dll.h | |
252b5132 RH |
428 | |
429 | ||
430 | GENERATED_CFILES = ldgram.c ldlex.c deffilep.c | |
431 | GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h | |
432 | ||
c7e40348 NC |
433 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ |
434 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ | |
435 | ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} | |
252b5132 RH |
436 | |
437 | ||
438 | STAGESTUFF = *.o ldscripts/* e*.c | |
439 | ||
440 | # At the moment this is just a list of those emulation template files | |
441 | # that contain internationalised strings. | |
442 | EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em | |
443 | ||
444 | POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES) | |
445 | ||
465bc359 | 446 | # These all start with e so 'make clean' can find them. |
da54c6eb | 447 | |
3bf2994f | 448 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" |
597e2591 | 449 | GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed |
252b5132 | 450 | |
67798033 L |
451 | # We need this for automake to use YLWRAP. |
452 | EXTRA_ld_new_SOURCES = deffilep.y | |
453 | ||
c7e40348 NC |
454 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ |
455 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c | |
252b5132 RH |
456 | |
457 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS) | |
458 | ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) | |
459 | ||
da54c6eb L |
460 | # This is the real libbfd.a created by libtool. |
461 | TESTBFDLIB = @TESTBFDLIB@ | |
462 | ||
252b5132 RH |
463 | MAINTAINERCLEANFILES = ldver.texi |
464 | ||
465bc359 AM |
465 | # We want to reconfigure if configure.host or configure.tgt changes. |
466 | CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt | |
467 | ||
c7e40348 NC |
468 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ |
469 | ldemul-list.h crtbegin.o crtend.o ld.log ld.sum | |
252b5132 | 470 | |
0bdaf48b | 471 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 |
252b5132 RH |
472 | |
473 | # Stuff that should be included in a distribution. The diststuff | |
474 | # target is run by the taz target in ../Makefile.in. | |
c45021f2 | 475 | EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS) |
252b5132 | 476 | |
dca7760f | 477 | DISTCLEANFILES = tdirs site.exp site.bak stringify.sed |
252b5132 RH |
478 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
479 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
480 | CONFIG_HEADER = config.h | |
da54c6eb L |
481 | CONFIG_CLEAN_FILES = |
482 | noinst_PROGRAMS = ld-new$(EXEEXT) | |
483 | PROGRAMS = $(noinst_PROGRAMS) | |
484 | ||
485 | ||
486 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
252b5132 RH |
487 | CPPFLAGS = @CPPFLAGS@ |
488 | LDFLAGS = @LDFLAGS@ | |
489 | LIBS = @LIBS@ | |
da54c6eb L |
490 | ld_new_OBJECTS = ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \ |
491 | ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) ldmain.$(OBJEXT) \ | |
492 | ldwrite.$(OBJEXT) ldexp.$(OBJEXT) ldemul.$(OBJEXT) ldver.$(OBJEXT) \ | |
493 | ldmisc.$(OBJEXT) ldfile.$(OBJEXT) ldcref.$(OBJEXT) | |
494 | ld_new_LDFLAGS = | |
495 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | |
496 | LEXLIB = @LEXLIB@ | |
497 | YLWRAP = $(top_srcdir)/../ylwrap | |
465bc359 | 498 | CFLAGS = @CFLAGS@ |
da54c6eb L |
499 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
500 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
501 | CCLD = $(CC) | |
502 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
503 | TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi` | |
252b5132 RH |
504 | TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex |
505 | INFO_DEPS = ld.info | |
506 | DVIS = ld.dvi | |
507 | TEXINFOS = ld.texinfo | |
da54c6eb L |
508 | man1dir = $(mandir)/man1 |
509 | MANS = $(man_MANS) | |
252b5132 RH |
510 | |
511 | NROFF = nroff | |
da54c6eb L |
512 | DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \ |
513 | NEWS TODO acinclude.m4 aclocal.m4 config.in configure configure.in \ | |
514 | deffilep.c ldgram.c ldlex.c | |
252b5132 | 515 | |
252b5132 | 516 | |
da54c6eb | 517 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
465bc359 | 518 | |
94349e12 | 519 | TAR = gtar |
da54c6eb L |
520 | GZIP_ENV = --best |
521 | SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) | |
522 | OBJECTS = $(ld_new_OBJECTS) | |
252b5132 | 523 | |
da54c6eb L |
524 | all: all-redirect |
525 | .SUFFIXES: | |
526 | .SUFFIXES: .S .c .dvi .info .l .lo .o .obj .ps .s .texi .texinfo .txi .y | |
527 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
528 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
465bc359 | 529 | |
da54c6eb L |
530 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
531 | cd $(top_builddir) \ | |
532 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
465bc359 | 533 | |
da54c6eb L |
534 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 |
535 | cd $(srcdir) && $(ACLOCAL) | |
252b5132 | 536 | |
da54c6eb | 537 | config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
465bc359 | 538 | $(SHELL) ./config.status --recheck |
da54c6eb | 539 | $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
252b5132 RH |
540 | cd $(srcdir) && $(AUTOCONF) |
541 | ||
542 | config.h: stamp-h | |
543 | @if test ! -f $@; then \ | |
544 | rm -f stamp-h; \ | |
545 | $(MAKE) stamp-h; \ | |
546 | else :; fi | |
547 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status | |
548 | cd $(top_builddir) \ | |
549 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ | |
550 | $(SHELL) ./config.status | |
da54c6eb L |
551 | @echo timestamp > stamp-h 2> /dev/null |
552 | $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in | |
252b5132 | 553 | @if test ! -f $@; then \ |
da54c6eb L |
554 | rm -f $(srcdir)/stamp-h.in; \ |
555 | $(MAKE) $(srcdir)/stamp-h.in; \ | |
252b5132 | 556 | else :; fi |
da54c6eb | 557 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) |
252b5132 | 558 | cd $(top_srcdir) && $(AUTOHEADER) |
da54c6eb L |
559 | @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null |
560 | ||
561 | mostlyclean-hdr: | |
562 | ||
563 | clean-hdr: | |
252b5132 RH |
564 | |
565 | distclean-hdr: | |
566 | -rm -f config.h | |
da54c6eb L |
567 | |
568 | maintainer-clean-hdr: | |
569 | ||
570 | mostlyclean-noinstPROGRAMS: | |
252b5132 RH |
571 | |
572 | clean-noinstPROGRAMS: | |
573 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | |
574 | ||
da54c6eb | 575 | distclean-noinstPROGRAMS: |
252b5132 | 576 | |
da54c6eb | 577 | maintainer-clean-noinstPROGRAMS: |
252b5132 | 578 | |
a2d91340 | 579 | .c.o: |
da54c6eb | 580 | $(COMPILE) -c $< |
a2d91340 | 581 | |
da54c6eb L |
582 | # FIXME: We should only use cygpath when building on Windows, |
583 | # and only if it is available. | |
3a9d486c NC |
584 | .c.obj: |
585 | $(COMPILE) -c `cygpath -w $<` | |
586 | ||
da54c6eb L |
587 | .s.o: |
588 | $(COMPILE) -c $< | |
589 | ||
590 | .S.o: | |
591 | $(COMPILE) -c $< | |
592 | ||
593 | mostlyclean-compile: | |
594 | -rm -f *.o core *.core | |
595 | -rm -f *.$(OBJEXT) | |
596 | ||
597 | clean-compile: | |
598 | ||
599 | distclean-compile: | |
600 | -rm -f *.tab.c | |
601 | ||
602 | maintainer-clean-compile: | |
603 | ||
a2d91340 | 604 | .c.lo: |
da54c6eb | 605 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
252b5132 | 606 | |
da54c6eb L |
607 | .s.lo: |
608 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
252b5132 | 609 | |
da54c6eb L |
610 | .S.lo: |
611 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
612 | ||
613 | mostlyclean-libtool: | |
614 | -rm -f *.lo | |
615 | ||
616 | clean-libtool: | |
617 | -rm -rf .libs _libs | |
618 | ||
619 | distclean-libtool: | |
252b5132 | 620 | |
da54c6eb L |
621 | maintainer-clean-libtool: |
622 | ||
623 | ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) | |
624 | @rm -f ld-new$(EXEEXT) | |
625 | $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) | |
626 | .l.c: | |
627 | $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ | |
465bc359 | 628 | .y.c: |
da54c6eb L |
629 | $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS) |
630 | deffilep.h: deffilep.c | |
631 | ldgram.h: ldgram.c | |
632 | ||
252b5132 RH |
633 | |
634 | ld.info: ld.texinfo | |
635 | ld.dvi: ld.texinfo | |
636 | ||
da54c6eb L |
637 | |
638 | DVIPS = dvips | |
639 | ||
640 | .texi.info: | |
641 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
642 | $(MAKEINFO) -I $(srcdir) $< | |
643 | ||
644 | .texi.dvi: | |
645 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ | |
646 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
647 | ||
648 | .texi: | |
649 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
650 | $(MAKEINFO) -I $(srcdir) $< | |
651 | ||
252b5132 RH |
652 | .texinfo.info: |
653 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
da54c6eb L |
654 | $(MAKEINFO) -I $(srcdir) $< |
655 | ||
656 | .texinfo: | |
657 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
658 | $(MAKEINFO) -I $(srcdir) $< | |
252b5132 RH |
659 | |
660 | .texinfo.dvi: | |
da54c6eb L |
661 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ |
662 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
252b5132 | 663 | |
da54c6eb | 664 | .txi.info: |
252b5132 | 665 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
da54c6eb L |
666 | $(MAKEINFO) -I $(srcdir) $< |
667 | ||
668 | .txi.dvi: | |
669 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ | |
670 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
671 | ||
672 | .txi: | |
673 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
674 | $(MAKEINFO) -I $(srcdir) $< | |
252b5132 RH |
675 | .dvi.ps: |
676 | $(DVIPS) $< -o $@ | |
677 | ||
da54c6eb L |
678 | install-info-am: $(INFO_DEPS) |
679 | @$(NORMAL_INSTALL) | |
680 | $(mkinstalldirs) $(DESTDIR)$(infodir) | |
681 | @list='$(INFO_DEPS)'; \ | |
682 | for file in $$list; do \ | |
683 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
684 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ | |
685 | if test -f $$d/$$ifile; then \ | |
686 | echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ | |
687 | $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ | |
688 | else : ; fi; \ | |
689 | done; \ | |
690 | done | |
691 | @$(POST_INSTALL) | |
692 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
252b5132 RH |
693 | list='$(INFO_DEPS)'; \ |
694 | for file in $$list; do \ | |
da54c6eb L |
695 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ |
696 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ | |
252b5132 | 697 | done; \ |
da54c6eb L |
698 | else : ; fi |
699 | ||
700 | uninstall-info: | |
701 | $(PRE_UNINSTALL) | |
702 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
703 | ii=yes; \ | |
704 | else ii=; fi; \ | |
705 | list='$(INFO_DEPS)'; \ | |
706 | for file in $$list; do \ | |
eb1e0e80 | 707 | test -z "$$ii" \ |
da54c6eb L |
708 | || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ |
709 | done | |
252b5132 | 710 | @$(NORMAL_UNINSTALL) |
da54c6eb | 711 | list='$(INFO_DEPS)'; \ |
252b5132 | 712 | for file in $$list; do \ |
da54c6eb | 713 | (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ |
252b5132 RH |
714 | done |
715 | ||
716 | dist-info: $(INFO_DEPS) | |
717 | list='$(INFO_DEPS)'; \ | |
718 | for base in $$list; do \ | |
719 | if test -f $$base; then d=.; else d=$(srcdir); fi; \ | |
da54c6eb | 720 | for file in `cd $$d && eval echo $$base*`; do \ |
252b5132 | 721 | test -f $(distdir)/$$file \ |
da54c6eb | 722 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
252b5132 RH |
723 | || cp -p $$d/$$file $(distdir)/$$file; \ |
724 | done; \ | |
725 | done | |
726 | ||
727 | mostlyclean-aminfo: | |
da54c6eb L |
728 | -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \ |
729 | ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \ | |
730 | ld.cv ld.cn | |
731 | ||
732 | clean-aminfo: | |
733 | ||
734 | distclean-aminfo: | |
252b5132 RH |
735 | |
736 | maintainer-clean-aminfo: | |
737 | for i in $(INFO_DEPS); do \ | |
738 | rm -f $$i; \ | |
739 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ | |
740 | rm -f $$i-[0-9]*; \ | |
741 | fi; \ | |
742 | done | |
743 | clean-info: mostlyclean-aminfo | |
744 | ||
da54c6eb | 745 | install-man1: |
252b5132 | 746 | $(mkinstalldirs) $(DESTDIR)$(man1dir) |
da54c6eb L |
747 | @list='$(man1_MANS)'; \ |
748 | l2='$(man_MANS)'; for i in $$l2; do \ | |
252b5132 RH |
749 | case "$$i" in \ |
750 | *.1*) list="$$list $$i" ;; \ | |
751 | esac; \ | |
752 | done; \ | |
753 | for i in $$list; do \ | |
754 | if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ | |
755 | else file=$$i; fi; \ | |
756 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | |
757 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | |
758 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | |
759 | echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ | |
760 | $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ | |
761 | done | |
da54c6eb | 762 | |
252b5132 | 763 | uninstall-man1: |
da54c6eb L |
764 | @list='$(man1_MANS)'; \ |
765 | l2='$(man_MANS)'; for i in $$l2; do \ | |
252b5132 RH |
766 | case "$$i" in \ |
767 | *.1*) list="$$list $$i" ;; \ | |
768 | esac; \ | |
769 | done; \ | |
770 | for i in $$list; do \ | |
771 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | |
772 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | |
773 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | |
774 | echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ | |
775 | rm -f $(DESTDIR)$(man1dir)/$$inst; \ | |
776 | done | |
da54c6eb L |
777 | install-man: $(MANS) |
778 | @$(NORMAL_INSTALL) | |
779 | $(MAKE) $(AM_MAKEFLAGS) install-man1 | |
780 | uninstall-man: | |
781 | @$(NORMAL_UNINSTALL) | |
782 | $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 | |
252b5132 RH |
783 | |
784 | # This directory's subdirectories are mostly independent; you can cd | |
785 | # into them and run `make' without going through this Makefile. | |
786 | # To change the values of `make' variables: instead of editing Makefiles, | |
787 | # (1) if the variable is set in `config.status', edit `config.status' | |
788 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
789 | # (2) otherwise, pass the desired values on the `make' command line. | |
da54c6eb L |
790 | |
791 | @SET_MAKE@ | |
792 | ||
793 | all-recursive install-data-recursive install-exec-recursive \ | |
794 | installdirs-recursive install-recursive uninstall-recursive install-info-recursive \ | |
795 | check-recursive installcheck-recursive info-recursive dvi-recursive: | |
252b5132 RH |
796 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
797 | dot_seen=no; \ | |
798 | target=`echo $@ | sed s/-recursive//`; \ | |
799 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
800 | echo "Making $$target in $$subdir"; \ | |
801 | if test "$$subdir" = "."; then \ | |
802 | dot_seen=yes; \ | |
803 | local_target="$$target-am"; \ | |
804 | else \ | |
805 | local_target="$$target"; \ | |
806 | fi; \ | |
807 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
808 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ | |
809 | done; \ | |
810 | if test "$$dot_seen" = "no"; then \ | |
811 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
812 | fi; test -z "$$fail" | |
813 | ||
814 | mostlyclean-recursive clean-recursive distclean-recursive \ | |
815 | maintainer-clean-recursive: | |
816 | @set fnord $(MAKEFLAGS); amf=$$2; \ | |
817 | dot_seen=no; \ | |
da54c6eb L |
818 | rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ |
819 | rev="$$subdir $$rev"; \ | |
eb1e0e80 | 820 | test "$$subdir" != "." || dot_seen=yes; \ |
252b5132 | 821 | done; \ |
da54c6eb | 822 | test "$$dot_seen" = "no" && rev=". $$rev"; \ |
252b5132 RH |
823 | target=`echo $@ | sed s/-recursive//`; \ |
824 | for subdir in $$rev; do \ | |
825 | echo "Making $$target in $$subdir"; \ | |
826 | if test "$$subdir" = "."; then \ | |
827 | local_target="$$target-am"; \ | |
828 | else \ | |
829 | local_target="$$target"; \ | |
830 | fi; \ | |
831 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
832 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ | |
833 | done && test -z "$$fail" | |
834 | tags-recursive: | |
835 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
836 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
837 | done | |
838 | ||
839 | tags: TAGS | |
840 | ||
da54c6eb L |
841 | ID: $(HEADERS) $(SOURCES) $(LISP) |
842 | list='$(SOURCES) $(HEADERS)'; \ | |
843 | unique=`for i in $$list; do echo $$i; done | \ | |
844 | awk ' { files[$$0] = 1; } \ | |
252b5132 | 845 | END { for (i in files) print i; }'`; \ |
da54c6eb L |
846 | here=`pwd` && cd $(srcdir) \ |
847 | && mkid -f$$here/ID $$unique $(LISP) | |
252b5132 | 848 | |
da54c6eb | 849 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP) |
252b5132 RH |
850 | tags=; \ |
851 | here=`pwd`; \ | |
852 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
da54c6eb | 853 | if test "$$subdir" = .; then :; else \ |
252b5132 | 854 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
da54c6eb | 855 | fi; \ |
252b5132 | 856 | done; \ |
da54c6eb L |
857 | list='$(SOURCES) $(HEADERS)'; \ |
858 | unique=`for i in $$list; do echo $$i; done | \ | |
859 | awk ' { files[$$0] = 1; } \ | |
252b5132 RH |
860 | END { for (i in files) print i; }'`; \ |
861 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ | |
da54c6eb L |
862 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS) |
863 | ||
864 | mostlyclean-tags: | |
252b5132 | 865 | |
da54c6eb | 866 | clean-tags: |
252b5132 RH |
867 | |
868 | distclean-tags: | |
da54c6eb L |
869 | -rm -f TAGS ID |
870 | ||
871 | maintainer-clean-tags: | |
872 | ||
873 | distdir = $(PACKAGE)-$(VERSION) | |
874 | top_distdir = $(distdir) | |
875 | ||
876 | # This target untars the dist file and tries a VPATH configuration. Then | |
877 | # it guarantees that the distribution is self-contained by making another | |
878 | # tarfile. | |
879 | distcheck: dist | |
880 | -rm -rf $(distdir) | |
881 | GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz | |
882 | mkdir $(distdir)/=build | |
883 | mkdir $(distdir)/=inst | |
884 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
885 | cd $(distdir)/=build \ | |
886 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
887 | && $(MAKE) $(AM_MAKEFLAGS) \ | |
888 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
889 | && $(MAKE) $(AM_MAKEFLAGS) check \ | |
890 | && $(MAKE) $(AM_MAKEFLAGS) install \ | |
891 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |
892 | && $(MAKE) $(AM_MAKEFLAGS) dist | |
893 | -rm -rf $(distdir) | |
894 | @banner="$(distdir).tar.gz is ready for distribution"; \ | |
895 | dashes=`echo "$$banner" | sed s/./=/g`; \ | |
896 | echo "$$dashes"; \ | |
897 | echo "$$banner"; \ | |
898 | echo "$$dashes" | |
899 | dist: distdir | |
900 | -chmod -R a+r $(distdir) | |
901 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
902 | -rm -rf $(distdir) | |
903 | dist-all: distdir | |
904 | -chmod -R a+r $(distdir) | |
905 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
906 | -rm -rf $(distdir) | |
907 | distdir: $(DISTFILES) | |
908 | -rm -rf $(distdir) | |
909 | mkdir $(distdir) | |
910 | -chmod 777 $(distdir) | |
911 | @for file in $(DISTFILES); do \ | |
912 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
913 | if test -d $$d/$$file; then \ | |
914 | cp -pr $$d/$$file $(distdir)/$$file; \ | |
915 | else \ | |
916 | test -f $(distdir)/$$file \ | |
917 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
918 | || cp -p $$d/$$file $(distdir)/$$file || :; \ | |
919 | fi; \ | |
920 | done | |
921 | for subdir in $(SUBDIRS); do \ | |
922 | if test "$$subdir" = .; then :; else \ | |
923 | test -d $(distdir)/$$subdir \ | |
924 | || mkdir $(distdir)/$$subdir \ | |
925 | || exit 1; \ | |
926 | chmod 777 $(distdir)/$$subdir; \ | |
927 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ | |
928 | || exit 1; \ | |
929 | fi; \ | |
930 | done | |
931 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info | |
932 | ||
a2d91340 | 933 | DEJATOOL = $(PACKAGE) |
da54c6eb L |
934 | |
935 | RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir | |
a2d91340 AC |
936 | site.exp: Makefile |
937 | @echo 'Making a new site.exp file...' | |
da54c6eb L |
938 | @test ! -f site.bak || rm -f site.bak |
939 | @echo '## these variables are automatically generated by make ##' > $@-t | |
940 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | |
941 | @echo '# edit the last section' >> $@-t | |
942 | @echo 'set tool $(DEJATOOL)' >> $@-t | |
943 | @echo 'set srcdir $(srcdir)' >> $@-t | |
944 | @echo 'set objdir' `pwd` >> $@-t | |
945 | @echo 'set host_alias $(host_alias)' >> $@-t | |
946 | @echo 'set host_triplet $(host_triplet)' >> $@-t | |
947 | @echo 'set target_alias $(target_alias)' >> $@-t | |
948 | @echo 'set target_triplet $(target_triplet)' >> $@-t | |
949 | @echo 'set build_alias $(build_alias)' >> $@-t | |
950 | @echo 'set build_triplet $(build_triplet)' >> $@-t | |
951 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | |
952 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | |
a2d91340 | 953 | @test ! -f site.exp || mv site.exp site.bak |
da54c6eb L |
954 | @mv $@-t site.exp |
955 | info-am: $(INFO_DEPS) | |
956 | info: info-recursive | |
957 | dvi-am: $(DVIS) | |
958 | dvi: dvi-recursive | |
252b5132 RH |
959 | check-am: |
960 | $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU | |
961 | check: check-recursive | |
da54c6eb L |
962 | installcheck-am: |
963 | installcheck: installcheck-recursive | |
964 | install-info-am: | |
965 | install-info: install-info-recursive | |
966 | all-recursive-am: config.h | |
967 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
252b5132 | 968 | |
da54c6eb | 969 | install-exec-am: install-exec-local |
252b5132 | 970 | install-exec: install-exec-recursive |
da54c6eb L |
971 | |
972 | install-data-am: install-man install-data-local | |
252b5132 RH |
973 | install-data: install-data-recursive |
974 | ||
975 | install-am: all-am | |
976 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
da54c6eb L |
977 | install: install-recursive |
978 | uninstall-am: uninstall-man | |
979 | uninstall: uninstall-recursive | |
980 | all-am: Makefile $(PROGRAMS) $(MANS) config.h | |
981 | all-redirect: all-recursive-am | |
465bc359 | 982 | install-strip: |
da54c6eb L |
983 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
984 | installdirs: installdirs-recursive | |
985 | installdirs-am: | |
986 | $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 | |
987 | ||
988 | ||
252b5132 RH |
989 | mostlyclean-generic: |
990 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) | |
991 | ||
992 | clean-generic: | |
993 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
994 | ||
995 | distclean-generic: | |
da54c6eb L |
996 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
997 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
252b5132 RH |
998 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
999 | ||
1000 | maintainer-clean-generic: | |
da54c6eb L |
1001 | -test -z "ldlexldeffilephdeffilepcldgramhldgramc$(MAINTAINERCLEANFILES)" || rm -f ldlexl deffileph deffilepc ldgramh ldgramc $(MAINTAINERCLEANFILES) |
1002 | mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ | |
1003 | mostlyclean-compile mostlyclean-libtool \ | |
1004 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \ | |
1005 | mostlyclean-local | |
252b5132 | 1006 | |
da54c6eb | 1007 | mostlyclean: mostlyclean-recursive |
465bc359 | 1008 | |
da54c6eb L |
1009 | clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \ |
1010 | clean-aminfo clean-tags clean-generic mostlyclean-am | |
465bc359 | 1011 | |
da54c6eb | 1012 | clean: clean-recursive |
465bc359 | 1013 | |
da54c6eb L |
1014 | distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ |
1015 | distclean-libtool distclean-aminfo distclean-tags \ | |
1016 | distclean-generic clean-am distclean-local | |
1017 | -rm -f libtool | |
465bc359 | 1018 | |
da54c6eb L |
1019 | distclean: distclean-recursive |
1020 | -rm -f config.status | |
1021 | ||
1022 | maintainer-clean-am: maintainer-clean-hdr \ | |
1023 | maintainer-clean-noinstPROGRAMS \ | |
1024 | maintainer-clean-compile maintainer-clean-libtool \ | |
1025 | maintainer-clean-aminfo maintainer-clean-tags \ | |
1026 | maintainer-clean-generic distclean-am | |
1027 | @echo "This command is intended for maintainers to use;" | |
1028 | @echo "it deletes files that may require special tools to rebuild." | |
252b5132 RH |
1029 | |
1030 | maintainer-clean: maintainer-clean-recursive | |
da54c6eb L |
1031 | -rm -f config.status |
1032 | ||
1033 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ | |
1034 | mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ | |
1035 | clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ | |
1036 | mostlyclean-compile distclean-compile clean-compile \ | |
1037 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
1038 | clean-libtool maintainer-clean-libtool install-info-am uninstall-info \ | |
1039 | mostlyclean-aminfo distclean-aminfo clean-aminfo \ | |
1040 | maintainer-clean-aminfo install-man1 uninstall-man1 install-man \ | |
1041 | uninstall-man install-data-recursive uninstall-data-recursive \ | |
1042 | install-exec-recursive uninstall-exec-recursive installdirs-recursive \ | |
1043 | uninstalldirs-recursive all-recursive check-recursive \ | |
1044 | installcheck-recursive info-recursive dvi-recursive \ | |
1045 | mostlyclean-recursive distclean-recursive clean-recursive \ | |
1046 | maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ | |
1047 | distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \ | |
1048 | info-am info dvi-am dvi check check-am installcheck-am installcheck \ | |
1049 | install-info-am install-info all-recursive-am install-exec-local \ | |
1050 | install-exec-am install-exec install-data-local install-data-am \ | |
1051 | install-data install-am install uninstall-am uninstall all-redirect \ | |
1052 | all-am all installdirs-am installdirs mostlyclean-generic \ | |
1053 | distclean-generic clean-generic maintainer-clean-generic clean \ | |
1054 | mostlyclean distclean maintainer-clean | |
252b5132 RH |
1055 | |
1056 | ||
1057 | po/POTFILES.in: @MAINT@ Makefile | |
1058 | for file in $(POTFILES); do echo $$file; done | sort > tmp \ | |
1059 | && mv tmp $(srcdir)/po/POTFILES.in | |
1060 | ||
1061 | ldmain.o: ldmain.c config.status | |
1062 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c | |
1063 | ||
1064 | ldemul-list.h: Makefile | |
1065 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ | |
1066 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
1067 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
1068 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ | |
1069 | done;\ | |
1070 | echo "";\ | |
1071 | echo "#define EMULATION_LIST \\";\ | |
1072 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
1073 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
1074 | echo " &ld_$${f}_emulation, \\"; \ | |
1075 | done;\ | |
1076 | echo " 0") >ldemul-tmp.h | |
1077 | mv ldemul-tmp.h ldemul-list.h | |
597e2591 ILT |
1078 | |
1079 | stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) | |
1080 | cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed | |
252b5132 RH |
1081 | @TDIRS@ |
1082 | ||
1083 | ea29k.c: $(srcdir)/emulparams/a29k.sh \ | |
1084 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} | |
1085 | ${GENSCRIPTS} a29k "$(tdir_a29k)" | |
eb1e0e80 NC |
1086 | eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \ |
1087 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1088 | ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)" | |
1089 | eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \ | |
1090 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1091 | ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)" | |
252b5132 RH |
1092 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ |
1093 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1094 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" | |
1095 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ | |
1096 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1097 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" | |
1098 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ | |
1099 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} | |
1100 | ${GENSCRIPTS} alpha "$(tdir_alpha)" | |
1101 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ | |
1102 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1103 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" | |
1104 | earmelf.c: $(srcdir)/emulparams/armelf.sh \ | |
5f992e62 AM |
1105 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ |
1106 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 RH |
1107 | ${GENSCRIPTS} armelf "$(tdir_armelf)" |
1108 | earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \ | |
1109 | $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1110 | ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)" | |
ac3e50bf DB |
1111 | earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \ |
1112 | $(srcdir)/emulparams/armelf.sh \ | |
1113 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ | |
1114 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1115 | ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)" | |
252b5132 | 1116 | earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ |
5f992e62 AM |
1117 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ |
1118 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 1119 | ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" |
3695c299 AM |
1120 | earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ |
1121 | $(srcdir)/emulparams/armelf.sh \ | |
1122 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ | |
1123 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1124 | ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)" | |
658f2588 JT |
1125 | earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \ |
1126 | $(srcdir)/emulparams/armelf_nbsd.sh \ | |
1127 | $(srcdir)/emulparams/armelf.sh \ | |
1128 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ | |
1129 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1130 | ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)" | |
252b5132 RH |
1131 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
1132 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
1133 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" | |
1134 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ | |
1135 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
1136 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" | |
1137 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ | |
1138 | $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} | |
1139 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" | |
8959586a NC |
1140 | earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ |
1141 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1142 | ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" | |
cf865442 | 1143 | earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ |
e6869249 | 1144 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} |
cf865442 | 1145 | ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" |
252b5132 RH |
1146 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
1147 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1148 | ${GENSCRIPTS} armpe "$(tdir_armpe)" | |
adde6300 AM |
1149 | eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \ |
1150 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1151 | ${GEN_DEPENDS} | |
1152 | ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)" | |
1153 | eavr1200.c: $(srcdir)/emulparams/avr1200.sh \ | |
1154 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1155 | ${GEN_DEPENDS} | |
1156 | ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)" | |
1157 | eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \ | |
1158 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1159 | ${GEN_DEPENDS} | |
1160 | ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)" | |
1161 | eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \ | |
1162 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1163 | ${GEN_DEPENDS} | |
1164 | ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)" | |
1165 | eavr4433.c: $(srcdir)/emulparams/avr4433.sh \ | |
1166 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1167 | ${GEN_DEPENDS} | |
1168 | ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)" | |
1169 | eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \ | |
1170 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1171 | ${GEN_DEPENDS} | |
1172 | ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)" | |
1173 | eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \ | |
1174 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1175 | ${GEN_DEPENDS} | |
1176 | ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)" | |
1177 | eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \ | |
1178 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ | |
1179 | ${GEN_DEPENDS} | |
1180 | ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)" | |
fae1e84f MM |
1181 | eavr1.c: $(srcdir)/emulparams/avr1.sh \ |
1182 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \ | |
1183 | ${GEN_DEPENDS} | |
1184 | ${GENSCRIPTS} avr1 "$(tdir_avr85xx)" | |
1185 | eavr2.c: $(srcdir)/emulparams/avr2.sh \ | |
1186 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \ | |
1187 | ${GEN_DEPENDS} | |
1188 | ${GENSCRIPTS} avr2 "$(tdir_avr85xx)" | |
1189 | eavr3.c: $(srcdir)/emulparams/avr3.sh \ | |
1190 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \ | |
1191 | ${GEN_DEPENDS} | |
1192 | ${GENSCRIPTS} avr3 "$(tdir_avr85xx)" | |
1193 | eavr4.c: $(srcdir)/emulparams/avr4.sh \ | |
1194 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \ | |
1195 | ${GEN_DEPENDS} | |
1196 | ${GENSCRIPTS} avr4 "$(tdir_avr85xx)" | |
1197 | eavr5.c: $(srcdir)/emulparams/avr5.sh \ | |
1198 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \ | |
1199 | ${GEN_DEPENDS} | |
1200 | ${GENSCRIPTS} avr5 "$(tdir_avr85xx)" | |
252b5132 RH |
1201 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
1202 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} | |
1203 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" | |
9d06555c HPN |
1204 | ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \ |
1205 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS} | |
1206 | ${GENSCRIPTS} crisaout "$(tdir_cris)" | |
1207 | ecriself.c: $(srcdir)/emulparams/criself.sh \ | |
6caa99ab | 1208 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
9d06555c HPN |
1209 | ${GENSCRIPTS} criself "$(tdir_cris)" |
1210 | ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \ | |
1211 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1212 | ${GENSCRIPTS} crislinux "$(tdir_cris)" | |
252b5132 | 1213 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
6caa99ab | 1214 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
252b5132 RH |
1215 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
1216 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ | |
1217 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
1218 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" | |
1219 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ | |
1220 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
1221 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" | |
1222 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ | |
1223 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
1224 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" | |
1225 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ | |
1226 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} | |
1227 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" | |
1228 | eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ | |
1229 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} | |
1230 | ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" | |
93fbbb04 GK |
1231 | eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \ |
1232 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ | |
1233 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1234 | ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)" | |
252b5132 RH |
1235 | eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \ |
1236 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1237 | ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)" | |
71acc4e8 NC |
1238 | eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \ |
1239 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1240 | ${GENSCRIPTS} elf32mcore "$(tdir_mcore)" | |
252b5132 | 1241 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
18c7a9a5 | 1242 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 RH |
1243 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" |
1244 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ | |
1245 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1246 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" | |
165589e4 JE |
1247 | eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \ |
1248 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1249 | ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)" | |
0ccf812a ILT |
1250 | eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \ |
1251 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1252 | ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)" | |
252b5132 | 1253 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ |
465bc359 | 1254 | $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1255 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1256 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" | |
1257 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ | |
1258 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1259 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" | |
1260 | eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ | |
465bc359 | 1261 | $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1262 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1263 | ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" | |
3548145d | 1264 | eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \ |
465bc359 | 1265 | $(srcdir)/emulparams/elf32bmip.sh \ |
3548145d UC |
1266 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1267 | ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)" | |
fdec3cfc | 1268 | eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \ |
465bc359 | 1269 | $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
fdec3cfc L |
1270 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1271 | ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)" | |
252b5132 | 1272 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
465bc359 | 1273 | $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1274 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1275 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" | |
1276 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ | |
465bc359 | 1277 | $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1278 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1279 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" | |
85f70471 ILT |
1280 | eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \ |
1281 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1282 | ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)" | |
252b5132 | 1283 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
465bc359 | 1284 | $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1285 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1286 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" | |
1287 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ | |
465bc359 | 1288 | $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1289 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1290 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" | |
1291 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ | |
465bc359 | 1292 | $(srcdir)/emulparams/elf32ppc.sh \ |
bdbe5705 | 1293 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1294 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" |
bdbe5705 | 1295 | eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \ |
465bc359 | 1296 | $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \ |
bdbe5705 GK |
1297 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1298 | ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)" | |
94349e12 MM |
1299 | eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh ${GEN_DEPENDS} |
1300 | ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)" | |
252b5132 | 1301 | eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ |
465bc359 | 1302 | $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
252b5132 RH |
1303 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1304 | ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" | |
c7e40348 NC |
1305 | eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \ |
1306 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1307 | ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)" | |
252b5132 | 1308 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ |
bdbe5705 | 1309 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1310 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" |
ac3e50bf DB |
1311 | eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \ |
1312 | $(srcdir)/emulparams/elf32ppc.sh \ | |
1313 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1314 | ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)" | |
bdbe5705 | 1315 | eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \ |
465bc359 | 1316 | $(srcdir)/emulparams/elf32ppc.sh \ |
bdbe5705 GK |
1317 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1318 | ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)" | |
ec2f040d | 1319 | eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \ |
465bc359 | 1320 | $(srcdir)/emulparams/elf32ppc.sh \ |
bdbe5705 | 1321 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
ec2f040d | 1322 | ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)" |
1f808cd5 | 1323 | eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ |
5c67d4bb AM |
1324 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1325 | ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)" | |
1326 | eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \ | |
1f808cd5 | 1327 | $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ |
5c67d4bb AM |
1328 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1329 | ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)" | |
5b93d8bb AM |
1330 | eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ |
1331 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS} | |
1332 | ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)" | |
252b5132 RH |
1333 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
1334 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1335 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" | |
ac3e50bf DB |
1336 | eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \ |
1337 | $(srcdir)/emulparams/elf64alpha.sh \ | |
1338 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1339 | ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)" | |
fc18a3f3 | 1340 | eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ |
0b69cd08 | 1341 | $(srcdir)/emulparams/elf64alpha.sh \ |
fc18a3f3 RH |
1342 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1343 | ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" | |
730a39a0 | 1344 | eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ |
465bc359 | 1345 | $(srcdir)/emulparams/hppa64linux.sh \ |
730a39a0 JL |
1346 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1347 | ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)" | |
41c49998 TW |
1348 | eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \ |
1349 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1350 | ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)" | |
800eeca4 | 1351 | eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \ |
908d20b3 RH |
1352 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ |
1353 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
800eeca4 | 1354 | ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)" |
ac3e50bf DB |
1355 | eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \ |
1356 | $(srcdir)/emulparams/elf64_ia64.sh \ | |
1357 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ | |
1358 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1359 | ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)" | |
a85d7ed0 NC |
1360 | eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \ |
1361 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1362 | ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)" | |
252b5132 RH |
1363 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
1364 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1365 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" | |
ac3e50bf DB |
1366 | eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \ |
1367 | $(srcdir)/emulparams/elf64_sparc.sh \ | |
1368 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1369 | ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)" | |
22c675a7 | 1370 | eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \ |
465bc359 | 1371 | $(srcdir)/emulparams/elf32bmipn32.sh \ |
22c675a7 MM |
1372 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1373 | ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)" | |
3c3bdf30 NC |
1374 | eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \ |
1375 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \ | |
1376 | $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1377 | ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)" | |
1378 | emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \ | |
1379 | $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \ | |
1380 | $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS} | |
1381 | ${GENSCRIPTS} mmo "$(tdir_mmo)" | |
fdec3cfc | 1382 | eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \ |
465bc359 | 1383 | $(srcdir)/emulparams/elf32bmipn32.sh \ |
fdec3cfc L |
1384 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1385 | ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)" | |
1386 | eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \ | |
465bc359 | 1387 | $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \ |
fdec3cfc L |
1388 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1389 | ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)" | |
252b5132 RH |
1390 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ |
1391 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1392 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" | |
2be3aa03 NC |
1393 | eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \ |
1394 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1395 | ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)" | |
ac3e50bf DB |
1396 | eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \ |
1397 | $(srcdir)/emulparams/elf_x86_64.sh \ | |
1398 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1399 | ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)" | |
252b5132 RH |
1400 | eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \ |
1401 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1402 | ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)" | |
59ff2774 | 1403 | eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \ |
b4477fa8 | 1404 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS} |
59ff2774 | 1405 | ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)" |
ac3e50bf DB |
1406 | eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \ |
1407 | $(srcdir)/emulparams/elf_i386.sh \ | |
1408 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1409 | ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)" | |
506eee22 NC |
1410 | eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ |
1411 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1412 | ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" | |
a85d7ed0 NC |
1413 | eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ |
1414 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1415 | ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)" | |
252b5132 RH |
1416 | egld960.c: $(srcdir)/emulparams/gld960.sh \ |
1417 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1418 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" | |
1419 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ | |
1420 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1421 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" | |
252b5132 RH |
1422 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
1423 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} | |
1424 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" | |
1425 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ | |
1426 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} | |
1427 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" | |
1428 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ | |
1429 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} | |
1430 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" | |
8af6dd41 JR |
1431 | eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ |
1432 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1433 | ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" | |
1434 | eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \ | |
465bc359 | 1435 | $(srcdir)/emulparams/h8300elf.sh \ |
8af6dd41 JR |
1436 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1437 | ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)" | |
1438 | eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ | |
465bc359 | 1439 | $(srcdir)/emulparams/h8300elf.sh \ |
8af6dd41 JR |
1440 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1441 | ${GENSCRIPTS} h8300self "$(tdir_h8300self)" | |
252b5132 RH |
1442 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
1443 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} | |
1444 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" | |
1445 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ | |
1446 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} | |
1447 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" | |
1448 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ | |
1449 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} | |
1450 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" | |
1451 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ | |
1452 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} | |
1453 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" | |
1454 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ | |
1455 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} | |
1456 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" | |
1457 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ | |
1458 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1459 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" | |
1460 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ | |
1461 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1462 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" | |
730a39a0 | 1463 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
5f992e62 AM |
1464 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ |
1465 | $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} | |
730a39a0 | 1466 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
4900fc06 | 1467 | ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \ |
5f992e62 AM |
1468 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ |
1469 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
4900fc06 | 1470 | ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)" |
006336b8 JT |
1471 | ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \ |
1472 | $(srcdir)/emulparams/hppaelf.sh \ | |
1473 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ | |
1474 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1475 | ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)" | |
9f22353f AM |
1476 | ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \ |
1477 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1478 | ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)" | |
252b5132 RH |
1479 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
1480 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1481 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" | |
1482 | ei386beos.c: $(srcdir)/emulparams/i386beos.sh \ | |
1483 | $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS} | |
1484 | ${GENSCRIPTS} i386beos "$(tdir_i386beos)" | |
1485 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ | |
1486 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1487 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" | |
1488 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ | |
1489 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} | |
1490 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" | |
1491 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ | |
1492 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} | |
1493 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" | |
1494 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ | |
1495 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1496 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" | |
1497 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ | |
1498 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} | |
1499 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" | |
1500 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ | |
1501 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1502 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" | |
1503 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ | |
6caa99ab | 1504 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 RH |
1505 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
1506 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ | |
1507 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} | |
1508 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" | |
1509 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ | |
1510 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1511 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" | |
1512 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ | |
1513 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
1514 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" | |
1515 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ | |
1516 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1517 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" | |
a7e78dae ILT |
1518 | ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \ |
1519 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1520 | ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)" | |
252b5132 RH |
1521 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
1522 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1523 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" | |
60bcf0fa NC |
1524 | em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \ |
1525 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} | |
1526 | ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)" | |
1527 | em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \ | |
1528 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} | |
1529 | ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)" | |
1530 | em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \ | |
1531 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} | |
1532 | ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)" | |
1533 | em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ | |
1534 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} | |
1535 | ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)" | |
252b5132 RH |
1536 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
1537 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1538 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" | |
1539 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ | |
1540 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1541 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" | |
1542 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ | |
1543 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} | |
1544 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" | |
1545 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ | |
20bccb34 | 1546 | $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
252b5132 RH |
1547 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
1548 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ | |
0752970e NC |
1549 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ |
1550 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 1551 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
0b69cd08 MG |
1552 | em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ |
1553 | $(srcdir)/emulparams/m68kelf.sh \ | |
1554 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ | |
1555 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1556 | ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" | |
252b5132 RH |
1557 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
1558 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1559 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" | |
1560 | em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ | |
1561 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} | |
1562 | ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" | |
1563 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ | |
1564 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1565 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" | |
1566 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ | |
1567 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} | |
1568 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" | |
1569 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ | |
1570 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} | |
1571 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" | |
71acc4e8 NC |
1572 | emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ |
1573 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1574 | ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)" | |
252b5132 RH |
1575 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ |
1576 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1577 | ${GENSCRIPTS} mipsbig | |
1578 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ | |
1579 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} | |
1580 | ${GENSCRIPTS} mipsbsd | |
1581 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ | |
1582 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1583 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" | |
1584 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ | |
1585 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1586 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" | |
1587 | emipslit.c: $(srcdir)/emulparams/mipslit.sh \ | |
1588 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1589 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" | |
1590 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ | |
1591 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1592 | ${GENSCRIPTS} mipslnews | |
344a211f NC |
1593 | emipspe.c: $(srcdir)/emulparams/mipspe.sh \ |
1594 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1595 | ${GENSCRIPTS} mipspe "$(tdir_mips)" | |
252b5132 | 1596 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
465bc359 | 1597 | $(srcdir)/emulparams/mn10200.sh \ |
252b5132 RH |
1598 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1599 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" | |
1600 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ | |
1601 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1602 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" | |
1603 | enews.c: $(srcdir)/emulparams/news.sh \ | |
1604 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1605 | ${GENSCRIPTS} news "$(tdir_news)" | |
1606 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ | |
1607 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1608 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" | |
3b16e843 NC |
1609 | eor32.c: $(srcdir)/emulparams/or32.sh \ |
1610 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS} | |
1611 | ${GENSCRIPTS} or32 "$(tdir_or32)" | |
1612 | eor32elf.c: $(srcdir)/emulparams/or32elf.sh \ | |
1613 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1614 | ${GENSCRIPTS} or32elf "$(tdir_or32elf)" | |
252b5132 RH |
1615 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
1616 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1617 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" | |
e135f41b NC |
1618 | epdp11.c: $(srcdir)/emulparams/pdp11.sh \ |
1619 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1620 | ${GENSCRIPTS} pdp11 "$(tdir_pdp11)" | |
c6c8c6dc ILT |
1621 | epjelf.c: $(srcdir)/emulparams/pjelf.sh \ |
1622 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1623 | ${GENSCRIPTS} pjelf "$(tdir_pjelf)" | |
1624 | epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \ | |
1625 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1626 | ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)" | |
252b5132 RH |
1627 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
1628 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1629 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" | |
1630 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ | |
1631 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
1632 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" | |
1633 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ | |
1634 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} | |
1635 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" | |
1636 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ | |
1637 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1638 | ${GENSCRIPTS} riscix "$(tdir_riscix)" | |
1639 | esa29200.c: $(srcdir)/emulparams/sa29200.sh \ | |
1640 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} | |
1641 | ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" | |
1642 | esh.c: $(srcdir)/emulparams/sh.sh \ | |
1643 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
1644 | ${GENSCRIPTS} sh "$(tdir_sh)" | |
1645 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ | |
1646 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1647 | ${GENSCRIPTS} shelf "$(tdir_shelf)" | |
2d92cb7d AO |
1648 | eshelf32.c: $(srcdir)/emulparams/shelf32.sh \ |
1649 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1650 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
1651 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1652 | ${GENSCRIPTS} shelf32 "$(tdir_shelf32)" | |
1653 | eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ | |
1654 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1655 | ${GENSCRIPTS} shelf64 "$(tdir_shelf64)" | |
4a428502 | 1656 | eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \ |
465bc359 | 1657 | $(srcdir)/emulparams/shlelf_linux.sh \ |
4a428502 AO |
1658 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1659 | ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)" | |
1660 | eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \ | |
1661 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1662 | ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)" | |
8d05742f JT |
1663 | eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \ |
1664 | $(srcdir)/emulparams/shelf.sh \ | |
1665 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1666 | ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)" | |
1667 | eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \ | |
1668 | $(srcdir)/emulparams/shelf_nbsd.sh \ | |
1669 | $(srcdir)/emulparams/shelf.sh \ | |
1670 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1671 | ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)" | |
252b5132 | 1672 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ |
465bc359 | 1673 | $(srcdir)/emulparams/shelf.sh \ |
252b5132 RH |
1674 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1675 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" | |
2d92cb7d AO |
1676 | eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \ |
1677 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \ | |
1678 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
1679 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1680 | ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)" | |
1681 | eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \ | |
1682 | $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ | |
1683 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1684 | ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)" | |
252b5132 | 1685 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
465bc359 | 1686 | $(srcdir)/emulparams/sh.sh \ |
252b5132 RH |
1687 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
1688 | ${GENSCRIPTS} shl "$(tdir_shl)" | |
344a211f NC |
1689 | eshpe.c: $(srcdir)/emulparams/shpe.sh \ |
1690 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1691 | ${GENSCRIPTS} shpe "$(tdir_shl)" | |
252b5132 RH |
1692 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ |
1693 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1694 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" | |
1695 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ | |
1696 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1697 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" | |
1698 | esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ | |
1699 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} | |
1700 | ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" | |
1701 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ | |
1702 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1703 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" | |
1704 | est2000.c: $(srcdir)/emulparams/st2000.sh \ | |
1705 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} | |
1706 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" | |
1707 | esun3.c: $(srcdir)/emulparams/sun3.sh \ | |
1708 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1709 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" | |
1710 | esun4.c: $(srcdir)/emulparams/sun4.sh \ | |
1711 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1712 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" | |
1713 | etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ | |
1714 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} | |
1715 | ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" | |
1716 | etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ | |
1717 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} | |
1718 | ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" | |
74459f0e TW |
1719 | etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \ |
1720 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS} | |
1721 | ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)" | |
252b5132 RH |
1722 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
1723 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} | |
1724 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" | |
1725 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ | |
1726 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} | |
1727 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" | |
1728 | evax.c: $(srcdir)/emulparams/vax.sh \ | |
1729 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1730 | ${GENSCRIPTS} vax "$(tdir_vax)" | |
1731 | evsta.c: $(srcdir)/emulparams/vsta.sh \ | |
1732 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1733 | ${GENSCRIPTS} vsta "$(tdir_vsta)" | |
1734 | ev850.c: $(srcdir)/emulparams/v850.sh \ | |
1735 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} | |
1736 | ${GENSCRIPTS} v850 "$(tdir_v850)" | |
1737 | ew65.c: $(srcdir)/emulparams/w65.sh \ | |
1738 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} | |
1739 | ${GENSCRIPTS} w65 "$(tdir_w65)" | |
1740 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ | |
1741 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
1742 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" | |
1743 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ | |
1744 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
1745 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" | |
1746 | ||
1747 | # The generated emulation files mostly have the same dependencies. | |
1748 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ | |
1749 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ | |
1750 | ldctor.h ldexp.h ldlang.h ldgram.h | |
1751 | ||
1752 | check-DEJAGNU: site.exp | |
1753 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ | |
1754 | r=`pwd`; export r; \ | |
9282ff41 | 1755 | LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \ |
252b5132 RH |
1756 | EXPECT=$(EXPECT); export EXPECT; \ |
1757 | if [ -f $(top_builddir)/../expect/expect ]; then \ | |
1758 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ | |
1759 | export TCL_LIBRARY; \ | |
1760 | fi; \ | |
1761 | runtest=$(RUNTEST); \ | |
1762 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
1763 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ | |
1764 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ | |
1765 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ | |
1766 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ | |
1767 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ | |
af28fce3 | 1768 | LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \ |
252b5132 RH |
1769 | $(RUNTESTFLAGS); \ |
1770 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
1771 | fi | |
1772 | ||
1773 | # Rules for testing by relinking ld itself. | |
1774 | # A similar test is in the testsuite. This target is for ease of use | |
1775 | # when porting ld. | |
1776 | ||
1777 | ld-partial.o: ld-new$(EXEEXT) | |
1778 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) | |
1779 | ld1$(EXEEXT): ld-partial.o | |
af28fce3 | 1780 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1781 | |
1782 | ld1-full$(EXEEXT): ld-new | |
af28fce3 | 1783 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1784 | |
1785 | ld2$(EXEEXT): ld1$(EXEEXT) | |
af28fce3 | 1786 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1787 | |
1788 | ld3$(EXEEXT): ld2$(EXEEXT) | |
af28fce3 | 1789 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1790 | |
1791 | bootstrap: ld3$(EXEEXT) | |
1792 | cmp ld2$(EXEEXT) ld3$(EXEEXT) | |
1793 | ||
1794 | .PHONY: bootstrap | |
1795 | ||
1796 | # A test program for C++ constructors and destructors. | |
1797 | # This test is now in the testsuite. | |
1798 | # | |
1799 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1800 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ | |
1801 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) | |
1802 | # | |
1803 | #cdtest.out: cdtest | |
1804 | # ./cdtest > cdtest.tmp | |
1805 | # mv cdtest.tmp cdtest.out | |
1806 | # | |
1807 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1808 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ | |
1809 | # cdtest-bar.o cdtest-foo.o | |
1810 | # | |
1811 | #cdtest-ur: cdtest-ur.o | |
1812 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ | |
1813 | # $(HOSTING_LIBS) | |
1814 | # | |
1815 | #cdtest-ur.out: cdtest-ur | |
1816 | # ./cdtest-ur > cdtest-ur.tmp | |
1817 | # mv cdtest-ur.tmp cdtest-ur.out | |
1818 | # | |
1819 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp | |
1820 | # diff $(srcdir)/cdtest.exp cdtest.out | |
1821 | # diff $(srcdir)/cdtest.exp cdtest-ur.out | |
1822 | # | |
1823 | #.PHONY: check-cdtest | |
1824 | ||
1825 | # END OF CHECK TARGETS | |
1826 | ||
1827 | # DOCUMENTATION TARGETS | |
1828 | # Manual configuration file; not usually attached to normal configuration, | |
1829 | # because almost all configs use "gen" version of manual. | |
1830 | # Set DOCVER above to change. | |
1831 | configdoc.texi: ${DOCVER}-doc.texi | |
1832 | ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ | |
1833 | || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ | |
1834 | || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi | |
1835 | ||
1836 | ldver.texi: Makefile | |
1837 | rm -f $@ | |
1838 | echo '@set VERSION $(VERSION)' > $@ | |
1839 | ||
1840 | ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi | |
1841 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
1842 | $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo | |
1843 | ||
1844 | ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi | |
1845 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
02649152 | 1846 | MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo |
252b5132 | 1847 | |
0285c67d NC |
1848 | # Build the man page from the texinfo file |
1849 | # The sed command removes the no-adjust Nroff command so that | |
1850 | # the man output looks standard. | |
c45021f2 NC |
1851 | ld.1: $(srcdir)/ld.texinfo |
1852 | touch $@ | |
0285c67d NC |
1853 | -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod |
1854 | -($(POD2MAN) ld.pod | \ | |
c45021f2 NC |
1855 | sed -e '/^.if n .na/d' > $@.T$$$$ && \ |
1856 | mv -f $@.T$$$$ $@) || \ | |
1857 | (rm -f $@.T$$$$ && exit 1) | |
1858 | rm -f ld.pod | |
252b5132 RH |
1859 | mostlyclean-local: |
1860 | -rm -rf tmpdir | |
1861 | ||
1862 | .PHONY: install-exec-local install-data-local | |
1863 | ||
1864 | install-exec-local: ld-new$(EXEEXT) | |
d3d8a9ee | 1865 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin |
252b5132 RH |
1866 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
1867 | if test -f $$p; then \ | |
1868 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ | |
d3d8a9ee | 1869 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
252b5132 RH |
1870 | else :; fi; \ |
1871 | done | |
1872 | n=`echo ld | sed '$(transform)'`; \ | |
1873 | if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ | |
d3d8a9ee NC |
1874 | rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ |
1875 | ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
1876 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ | |
252b5132 RH |
1877 | fi |
1878 | ||
1879 | install-data-local: | |
d3d8a9ee | 1880 | $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts |
252b5132 | 1881 | for f in ldscripts/*; do \ |
d3d8a9ee | 1882 | $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \ |
252b5132 | 1883 | done |
cd8e197b HPN |
1884 | |
1885 | # We want install to imply install-info as per GNU standards, despite the | |
1886 | # cygnus option. | |
1887 | install: install-info | |
c45021f2 | 1888 | diststuff: info $(EXTRA_DIST) |
252b5132 RH |
1889 | distclean-local: |
1890 | rm -rf ldscripts | |
1891 | ||
d32820f2 AM |
1892 | Makefile: $(BFDDIR)/configure.in |
1893 | ||
252b5132 | 1894 | # Targets to rebuild dependencies in this Makefile. |
f4162f5c ILT |
1895 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
1896 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
1897 | rm -f DEP1 | |
41b49281 | 1898 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
0bdaf48b AM |
1899 | sed -f dep.sed < DEP1 > DEPA |
1900 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA | |
1901 | if grep ' /' DEPA > /dev/null 2> /dev/null; then \ | |
1581f8c9 AM |
1902 | echo 'make DEP failed!'; exit 1; \ |
1903 | else \ | |
0bdaf48b | 1904 | mv -f DEPA $@; \ |
1581f8c9 | 1905 | fi |
252b5132 | 1906 | |
f4162f5c | 1907 | DEP1: $(CFILES) $(GENERATED_CFILES) |
f4162f5c | 1908 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
1909 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
1910 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
1911 | mv -f DEP2 $@ | |
252b5132 RH |
1912 | |
1913 | dep.sed: dep-in.sed config.status | |
1914 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
1915 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
61bef6f1 AM |
1916 | -e 's!@BFDDIR@!$(BFDDIR)!' \ |
1917 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
1918 | -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!' | |
252b5132 | 1919 | |
f4162f5c | 1920 | dep: DEP |
252b5132 | 1921 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
f4162f5c | 1922 | cat DEP >> tmp-Makefile |
252b5132 RH |
1923 | $(srcdir)/../move-if-change tmp-Makefile Makefile |
1924 | ||
f4162f5c | 1925 | dep-in: DEP |
252b5132 | 1926 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
f4162f5c | 1927 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
1928 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
1929 | ||
f4162f5c | 1930 | dep-am: DEP |
252b5132 | 1931 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
f4162f5c | 1932 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
1933 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
1934 | ||
1935 | .PHONY: dep dep-in dep-am | |
1936 | ||
596dafeb AM |
1937 | @MAINT@.PHONY: mpw |
1938 | @MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \ | |
1939 | @MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \ | |
1940 | @MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c | |
1941 | @MAINT@ | |
1942 | @MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c | |
1943 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1944 | @MAINT@ | |
1945 | @MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c | |
1946 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1947 | @MAINT@ | |
1948 | @MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c | |
1949 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1950 | @MAINT@ | |
1951 | @MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c | |
1952 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1953 | @MAINT@ | |
1954 | @MAINT@$(srcdir)/mpw-esh.c: esh.c | |
1955 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1956 | @MAINT@ | |
1957 | @MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c | |
1958 | @MAINT@ $(srcdir)/../move-if-change $< $@ | |
1959 | ||
252b5132 RH |
1960 | # What appears below is generated by a hacked mkdep using gcc -MM. |
1961 | ||
1962 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
1963 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
01580992 | 1964 | ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1965 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1966 | $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \ | |
1967 | ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h | |
01580992 | 1968 | ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1969 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1970 | ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \ | |
1971 | ldfile.h ldemul.h ldmain.h ldemul-list.h | |
01580992 | 1972 | ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1973 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1974 | $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ | |
1d3fdf38 AM |
1975 | ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \ |
1976 | $(INCDIR)/safe-ctype.h | |
01580992 | 1977 | ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1978 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1979 | $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \ | |
1980 | ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ | |
1981 | ldlex.h ldemul.h $(INCDIR)/libiberty.h | |
01580992 | 1982 | ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1983 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1984 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \ | |
1985 | $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ | |
1d3fdf38 | 1986 | ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \ |
d32820f2 | 1987 | ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h |
01580992 | 1988 | ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1989 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1990 | $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \ | |
1991 | $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \ | |
1d3fdf38 | 1992 | ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \ |
d32820f2 | 1993 | ldlex.h ldfile.h ldemul.h ldctor.h |
01580992 | 1994 | ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
1995 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1996 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \ | |
1997 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \ | |
1998 | ldfile.h | |
01580992 | 1999 | ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2000 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2001 | ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \ | |
2002 | ldfile.h ldemul.h ldmain.h | |
01580992 | 2003 | ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2004 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2005 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \ | |
2006 | ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h | |
01580992 | 2007 | lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2008 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2009 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \ | |
2010 | ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \ | |
2011 | ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \ | |
2012 | $(INCDIR)/demangle.h | |
2013 | mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
2014 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ | |
01580992 L |
2015 | ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h |
2016 | ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
d32820f2 AM |
2017 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2018 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \ | |
2019 | ldmain.h ldmisc.h ldexp.h ldlang.h | |
01580992 | 2020 | pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2021 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2022 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
2023 | ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \ | |
2024 | ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \ | |
61bef6f1 | 2025 | $(BFDDIR)/libcoff.h deffile.h pe-dll.h |
01580992 | 2026 | ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2027 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2028 | $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \ | |
2029 | ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \ | |
2030 | mri.h ldctor.h ldlex.h | |
61bef6f1 AM |
2031 | ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \ |
2032 | $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ | |
2033 | $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \ | |
2034 | ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h ldmain.h \ | |
2035 | $(INCDIR)/libiberty.h | |
01580992 | 2036 | deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
d32820f2 AM |
2037 | $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \ |
2038 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ | |
2039 | ldmisc.h deffile.h | |
252b5132 | 2040 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
da54c6eb | 2041 | |
252b5132 RH |
2042 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
2043 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
2044 | .NOEXPORT: |