Commit | Line | Data |
---|---|---|
49c009b5 | 1 | # Makefile.in generated automatically by automake 1.2 from Makefile.am |
ce4d59e2 | 2 | |
49c009b5 ILT |
3 | # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. |
4 | # This Makefile.in is free software; the Free Software Foundation | |
5 | # gives unlimited permission to copy, distribute and modify it. | |
eb02fd64 | 6 | |
eb02fd64 | 7 | |
f5870264 | 8 | SHELL = @SHELL@ |
e06ba18d | 9 | |
49c009b5 ILT |
10 | srcdir = @srcdir@ |
11 | top_srcdir = @top_srcdir@ | |
12 | VPATH = @srcdir@ | |
13 | prefix = @prefix@ | |
d66c832b | 14 | exec_prefix = @exec_prefix@ |
49c009b5 | 15 | |
f14a5192 | 16 | bindir = @bindir@ |
49c009b5 ILT |
17 | sbindir = @sbindir@ |
18 | libexecdir = @libexecdir@ | |
f14a5192 | 19 | datadir = @datadir@ |
49c009b5 ILT |
20 | sysconfdir = @sysconfdir@ |
21 | sharedstatedir = @sharedstatedir@ | |
22 | localstatedir = @localstatedir@ | |
23 | libdir = @libdir@ | |
f14a5192 | 24 | infodir = @infodir@ |
49c009b5 | 25 | mandir = @mandir@ |
f14a5192 | 26 | includedir = @includedir@ |
49c009b5 | 27 | oldincludedir = /usr/include |
f14a5192 | 28 | |
49c009b5 ILT |
29 | pkgdatadir = $(datadir)/@PACKAGE@ |
30 | pkglibdir = $(libdir)/@PACKAGE@ | |
31 | pkgincludedir = $(includedir)/@PACKAGE@ | |
e06ba18d | 32 | |
49c009b5 ILT |
33 | top_builddir = . |
34 | ||
35 | ACLOCAL = @ACLOCAL@ | |
36 | AUTOCONF = @AUTOCONF@ | |
37 | AUTOMAKE = @AUTOMAKE@ | |
38 | AUTOHEADER = @AUTOHEADER@ | |
e06ba18d | 39 | |
ba69384d | 40 | INSTALL = @INSTALL@ |
f14a5192 JM |
41 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
42 | INSTALL_DATA = @INSTALL_DATA@ | |
49c009b5 ILT |
43 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
44 | transform = @program_transform_name@ | |
45 | ||
46 | NORMAL_INSTALL = true | |
47 | PRE_INSTALL = true | |
48 | POST_INSTALL = true | |
49 | NORMAL_UNINSTALL = true | |
50 | PRE_UNINSTALL = true | |
51 | POST_UNINSTALL = true | |
52 | build_alias = @build_alias@ | |
53 | build_triplet = @build@ | |
54 | host_alias = @host_alias@ | |
55 | host_triplet = @host@ | |
56 | target_alias = @target_alias@ | |
57 | target_triplet = @target@ | |
d66c832b | 58 | CC = @CC@ |
b9a5c27f | 59 | EXEEXT = @EXEEXT@ |
49c009b5 ILT |
60 | HDEFINES = @HDEFINES@ |
61 | LD = @LD@ | |
62 | LIBTOOL = @LIBTOOL@ | |
63 | LN_S = @LN_S@ | |
64 | MAINT = @MAINT@ | |
65 | MAKEINFO = @MAKEINFO@ | |
66 | NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@ | |
67 | PACKAGE = @PACKAGE@ | |
68 | RANLIB = @RANLIB@ | |
69 | TDIRS = @TDIRS@ | |
70 | VERSION = @VERSION@ | |
71 | ||
72 | AUTOMAKE_OPTIONS = dejagnu | |
73 | ||
74 | tooldir = $(exec_prefix)/$(target_alias) | |
75 | ||
76 | YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi` | |
77 | YFLAGS = -d | |
78 | LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` | |
79 | ||
80 | # We put the scripts in the directory $(scriptdir)/ldscripts. | |
81 | # We can't put the scripts in $(datadir) because the SEARCH_DIR | |
82 | # directives need to be different for native and cross linkers. | |
83 | scriptdir = $(tooldir)/lib | |
8c32cf6e | 84 | |
d66c832b ILT |
85 | EMUL = @EMUL@ |
86 | EMULATION_OFILES = @EMULATION_OFILES@ | |
87 | ||
efa6c497 | 88 | # Search path to override the default search path for -lfoo libraries. |
ee17cac9 | 89 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. |
208bc89e | 90 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building |
917bffa7 | 91 | # a cross-linker, in which case the default is empty. See genscripts.sh.) |
ee17cac9 PB |
92 | # Otherwise, they are replaced with the ones given in LIB_PATH, |
93 | # which may have the form: LIB_PATH=/lib:/usr/local/lib | |
94 | LIB_PATH = | |
95 | ||
959eba20 JO |
96 | BASEDIR = $(srcdir)/.. |
97 | BFDDIR = $(BASEDIR)/bfd | |
98 | INCDIR = $(BASEDIR)/include | |
4a6afc88 | 99 | DEP = mkdep |
2ee11735 | 100 | |
2412a768 RP |
101 | # What version of the manual to build |
102 | DOCVER = gen | |
103 | ||
5cdea2ac | 104 | #stuff for self hosting (can be overridden in config file). |
d66c832b ILT |
105 | HOSTING_CRT0 = @HOSTING_CRT0@ |
106 | HOSTING_LIBS = @HOSTING_LIBS@ | |
74e6b793 | 107 | HOSTING_EMU = -m $(EMUL) |
5cdea2ac | 108 | |
3a9149a7 | 109 | # Setup the testing framework, if you have one |
32286e08 C |
110 | EXPECT = `if [ -f $$r/../expect/expect ] ; \ |
111 | then echo $$r/../expect/expect ; \ | |
112 | else echo expect ; fi` | |
113 | ||
114 | RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ | |
115 | then echo $${srcroot}/../dejagnu/runtest ; \ | |
116 | else echo runtest ; fi` | |
099c286e | 117 | |
03372cf4 | 118 | RUNTESTFLAGS = |
32286e08 C |
119 | |
120 | CC_FOR_TARGET = ` \ | |
65d22248 | 121 | if [ -f $$r/../gcc/xgcc ] ; then \ |
32286e08 C |
122 | if [ -f $$r/../newlib/Makefile ] ; then \ |
123 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
124 | else \ | |
125 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
126 | fi; \ | |
127 | else \ | |
dfc84b08 | 128 | if [ "@host@" = "@target@" ] ; then \ |
32286e08 C |
129 | echo $(CC); \ |
130 | else \ | |
b5f076d4 | 131 | echo gcc | sed '$(program_transform_name)'; \ |
32286e08 C |
132 | fi; \ |
133 | fi` | |
134 | ||
135 | CXX = gcc | |
136 | CXX_FOR_TARGET = ` \ | |
65d22248 | 137 | if [ -f $$r/../gcc/xgcc ] ; then \ |
32286e08 C |
138 | if [ -f $$r/../newlib/Makefile ] ; then \ |
139 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
140 | else \ | |
141 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
142 | fi; \ | |
143 | else \ | |
dfc84b08 | 144 | if [ "@host@" = "@target@" ] ; then \ |
32286e08 C |
145 | echo $(CXX); \ |
146 | else \ | |
b5f076d4 | 147 | echo gcc | sed '$(program_transform_name)'; \ |
32286e08 C |
148 | fi; \ |
149 | fi` | |
c97b9003 | 150 | |
49c009b5 ILT |
151 | noinst_PROGRAMS = ld-new |
152 | info_TEXINFOS = ld.texinfo | |
153 | noinst_TEXINFOS = ldint.texinfo | |
154 | man_MANS = ld.1 | |
565c93e9 | 155 | |
49c009b5 | 156 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) $(HDEFINES) $(CFLAGS) |
f78e2569 | 157 | |
49c009b5 | 158 | BFDLIB = ../bfd/libbfd.la |
959eba20 | 159 | LIBIBERTY = ../libiberty/libiberty.a |
eb02fd64 | 160 | |
efa6c497 ILT |
161 | ALL_EMULATIONS = \ |
162 | ea29k.o \ | |
163 | eaixppc.o \ | |
164 | eaixrs6.o \ | |
165 | ealpha.o \ | |
0c0b16f9 | 166 | earcelf.o \ |
efa6c497 ILT |
167 | earmaoutb.o \ |
168 | earmaoutl.o \ | |
169 | earmcoff.o \ | |
170 | earmpe.o \ | |
171 | ecoff_sparc.o \ | |
e48412a2 MM |
172 | ed10velf.o \ |
173 | $(start-sanitize-d30v) \ | |
174 | ed30velf.o \ | |
f5870264 DE |
175 | ed30v_e.o \ |
176 | ed30v_o.o \ | |
e48412a2 | 177 | $(end-sanitize-d30v) \ |
efa6c497 ILT |
178 | edelta68.o \ |
179 | eebmon29k.o \ | |
180 | eelf32_sparc.o \ | |
181 | eelf32b4300.o \ | |
182 | eelf32bmip.o \ | |
719de0ea ILT |
183 | eelf32ebmip.o \ |
184 | eelf32elmip.o \ | |
efa6c497 ILT |
185 | eelf32l4300.o \ |
186 | eelf32lmip.o \ | |
187 | eelf32lppc.o \ | |
188 | eelf32ppc.o \ | |
efa6c497 ILT |
189 | eelf_i386.o \ |
190 | egld960.o \ | |
191 | egld960coff.o \ | |
192 | ego32.o \ | |
193 | eh8300.o \ | |
194 | eh8300h.o \ | |
f14a5192 | 195 | eh8300s.o \ |
efa6c497 ILT |
196 | eh8500.o \ |
197 | eh8500b.o \ | |
198 | eh8500c.o \ | |
199 | eh8500m.o \ | |
200 | eh8500s.o \ | |
201 | ehp300bsd.o \ | |
202 | ehp3hpux.o \ | |
203 | ehppaelf.o \ | |
204 | ei386aout.o \ | |
205 | ei386bsd.o \ | |
206 | ei386coff.o \ | |
207 | ei386go32.o \ | |
208 | ei386linux.o \ | |
209 | ei386lynx.o \ | |
210 | ei386mach.o \ | |
211 | ei386moss.o \ | |
212 | ei386msdos.o \ | |
213 | ei386nbsd.o \ | |
214 | ei386nw.o \ | |
215 | ei386pe.o \ | |
216 | elnk960.o \ | |
217 | em68k4knbsd.o \ | |
218 | em68kaout.o \ | |
219 | em68kaux.o \ | |
220 | em68kcoff.o \ | |
221 | em68kelf.o \ | |
222 | em68klinux.o \ | |
223 | em68klynx.o \ | |
224 | em68knbsd.o \ | |
225 | em68kpsos.o \ | |
226 | em88kbcs.o \ | |
227 | emipsbig.o \ | |
228 | emipsbsd.o \ | |
229 | emipsidt.o \ | |
230 | emipsidtl.o \ | |
231 | emipslit.o \ | |
9ae9e582 | 232 | emipslnews.o \ |
efa6c497 ILT |
233 | enews.o \ |
234 | ens32knbsd.o \ | |
1ab4cd57 | 235 | epc532macha.o \ |
efa6c497 ILT |
236 | eppcmacos.o \ |
237 | eppcnw.o \ | |
238 | eppcpe.o \ | |
239 | eriscix.o \ | |
240 | esa29200.o \ | |
241 | esh.o \ | |
79e9dc20 DE |
242 | eshelf.o \ |
243 | eshlelf.o \ | |
efa6c497 ILT |
244 | eshl.o \ |
245 | esparcaout.o \ | |
ba69384d | 246 | esparclinux.o \ |
efa6c497 ILT |
247 | esparclynx.o \ |
248 | esparcnbsd.o \ | |
249 | est2000.o \ | |
250 | esun3.o \ | |
251 | esun4.o \ | |
e48412a2 MM |
252 | $(start-sanitize-tic80) \ |
253 | etic80coff.o \ | |
254 | $(end-sanitize-tic80) \ | |
efa6c497 ILT |
255 | evanilla.o \ |
256 | evax.o \ | |
257 | evsta.o \ | |
258 | ew65.o \ | |
259 | ez8001.o \ | |
260 | ez8002.o | |
7e5c1057 | 261 | |
30bddd33 | 262 | ALL_64_EMULATIONS = \ |
e48412a2 | 263 | eelf64_sparc.o \ |
30bddd33 ILT |
264 | eelf64alpha.o |
265 | ||
74e6b793 | 266 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ |
4a6afc88 | 267 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ |
3fac4887 | 268 | mri.c ldcref.c |
eb02fd64 | 269 | |
74e6b793 | 270 | HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ |
4a6afc88 | 271 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ |
3fac4887 | 272 | ldwrite.h mri.h |
eb02fd64 | 273 | |
74e6b793 | 274 | GENERATED_CFILES = ldgram.c ldlex.c |
208bc89e | 275 | GENERATED_HFILES = ldgram.h ldemul-list.h |
eb02fd64 | 276 | |
74e6b793 | 277 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ |
4a6afc88 | 278 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ |
3fac4887 | 279 | ldfile.o ldcref.o ${EMULATION_OFILES} |
eb02fd64 | 280 | |
82ebe9a2 | 281 | STAGESTUFF = *.o ldscripts/* e*.c |
e06ba18d | 282 | |
49c009b5 ILT |
283 | # These all start with e so 'make clean' can find them. |
284 | ||
285 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@" | |
286 | GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed | |
287 | ||
288 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ | |
289 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c | |
24d2330e | 290 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) |
49c009b5 ILT |
291 | ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) @LEXLIB@ |
292 | ||
293 | # This is the real libbfd.a created by libtool. | |
294 | TESTBFDLIB = ../bfd/.libs/libbfd.a | |
295 | ||
296 | MOSTCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ | |
297 | ldemul-list.h tmpdir crtbegin.o crtend.o | |
0c0b16f9 | 298 | CLEANFILES = dep.sed .dep .dep1 bfdsumm.texi |
49c009b5 ILT |
299 | DISTCLEANFILES = ldscripts |
300 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
301 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
302 | CONFIG_HEADER = config.h | |
303 | CONFIG_CLEAN_FILES = | |
304 | noinst_PROGRAMS = ld-new$(EXEEXT) | |
305 | PROGRAMS = $(noinst_PROGRAMS) | |
306 | ||
307 | ||
308 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
309 | CPPFLAGS = @CPPFLAGS@ | |
310 | LDFLAGS = @LDFLAGS@ | |
311 | LIBS = @LIBS@ | |
312 | ld_new_OBJECTS = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o \ | |
313 | ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o | |
314 | ld_new_LDFLAGS = | |
315 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | |
316 | LEXLIB = @LEXLIB@ | |
317 | CFLAGS = @CFLAGS@ | |
318 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
319 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
320 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
321 | TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi` | |
322 | TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex | |
323 | INFO_DEPS = ld.info | |
324 | DVIS = ld.dvi | |
325 | TEXINFOS = ld.texinfo | |
326 | MANS = ld.1 | |
327 | ||
328 | NROFF = nroff | |
329 | DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \ | |
330 | acconfig.h acinclude.m4 aclocal.m4 config.in configure configure.in \ | |
331 | ldgram.c ldlex.c stamp-h.in | |
332 | ||
333 | ||
334 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
335 | ||
336 | TAR = tar | |
337 | GZIP = --best | |
338 | SOURCES = $(ld_new_SOURCES) | |
339 | OBJECTS = $(ld_new_OBJECTS) | |
340 | ||
341 | default: all | |
342 | ||
343 | .SUFFIXES: | |
f5870264 | 344 | .SUFFIXES: .S .c .dvi .h .info .l .lo .o .ps .s .texi .texinfo .y |
49c009b5 ILT |
345 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
346 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
347 | ||
348 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
349 | cd $(top_builddir) \ | |
350 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
351 | ||
352 | $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4 | |
353 | cd $(srcdir) && $(ACLOCAL) | |
354 | ||
355 | config.status: $(srcdir)/configure | |
356 | $(SHELL) ./config.status --recheck | |
357 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) | |
358 | cd $(srcdir) && $(AUTOCONF) | |
359 | ||
0c0b16f9 | 360 | config.h: stamp-h ; @: |
49c009b5 ILT |
361 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
362 | cd $(top_builddir) \ | |
363 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ | |
364 | $(SHELL) ./config.status | |
365 | @echo timestamp > stamp-h | |
366 | $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in | |
367 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h | |
368 | cd $(top_srcdir) && $(AUTOHEADER) | |
369 | @echo timestamp > $(srcdir)/stamp-h.in | |
370 | ||
371 | mostlyclean-hdr: | |
372 | ||
373 | clean-hdr: | |
374 | ||
375 | distclean-hdr: | |
376 | rm -f config.h | |
377 | ||
378 | maintainer-clean-hdr: | |
379 | ||
380 | mostlyclean-noinstPROGRAMS: | |
381 | ||
382 | clean-noinstPROGRAMS: | |
383 | test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | |
384 | ||
385 | distclean-noinstPROGRAMS: | |
386 | ||
387 | maintainer-clean-noinstPROGRAMS: | |
388 | ||
f5870264 DE |
389 | .s.o: |
390 | $(COMPILE) -c $< | |
391 | ||
392 | .S.o: | |
393 | $(COMPILE) -c $< | |
394 | ||
49c009b5 ILT |
395 | .c.o: |
396 | $(COMPILE) -c $< | |
397 | ||
398 | mostlyclean-compile: | |
399 | rm -f *.o core | |
400 | ||
401 | clean-compile: | |
402 | ||
403 | distclean-compile: | |
404 | rm -f *.tab.c | |
405 | ||
406 | maintainer-clean-compile: | |
407 | ||
408 | .c.lo: | |
409 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
410 | ||
f5870264 DE |
411 | # These are just copies of the above rule. |
412 | .s.lo: | |
413 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
414 | ||
415 | .S.lo: | |
416 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
417 | ||
49c009b5 ILT |
418 | mostlyclean-libtool: |
419 | rm -f *.lo | |
420 | ||
421 | clean-libtool: | |
422 | rm -rf .libs | |
423 | ||
424 | distclean-libtool: | |
425 | ||
426 | maintainer-clean-libtool: | |
427 | ||
428 | ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) | |
429 | @rm -f ld-new$(EXEEXT) | |
430 | $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) | |
431 | .y.c: | |
432 | $(YACC) $(YFLAGS) $< && mv y.tab.c $@ | |
433 | if test -f y.tab.h; then \ | |
434 | if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ | |
435 | else :; fi | |
436 | .y.h: | |
437 | $(YACC) $(YFLAGS) $< && mv y.tab.c $@ | |
438 | if test -f y.tab.h; then \ | |
439 | if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ | |
440 | else :; fi | |
441 | .l.c: | |
442 | $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ | |
443 | ||
444 | ld.info: ld.texinfo | |
445 | ld.dvi: ld.texinfo | |
446 | ||
447 | ||
448 | DVIPS = dvips | |
449 | ||
450 | .texi.info: | |
451 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
452 | $(MAKEINFO) -I $(srcdir) $< | |
453 | ||
454 | .texi.dvi: | |
455 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
456 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
457 | ||
458 | .texi: | |
459 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
460 | $(MAKEINFO) -I $(srcdir) $< | |
461 | ||
462 | .texinfo.info: | |
463 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
464 | $(MAKEINFO) -I $(srcdir) $< | |
465 | ||
466 | .texinfo: | |
467 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
468 | $(MAKEINFO) -I $(srcdir) $< | |
469 | ||
470 | .texinfo.dvi: | |
471 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
472 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
473 | .dvi.ps: | |
474 | $(DVIPS) $< -o $@ | |
475 | ||
476 | install-info-am: $(INFO_DEPS) | |
477 | @$(NORMAL_INSTALL) | |
478 | $(mkinstalldirs) $(infodir) | |
479 | @for file in $(INFO_DEPS); do \ | |
480 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
481 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ | |
482 | if test -f $$d/$$ifile; then \ | |
483 | echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \ | |
484 | $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \ | |
485 | else : ; fi; \ | |
486 | done; \ | |
487 | done | |
488 | @$(POST_INSTALL) | |
489 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
490 | for file in $(INFO_DEPS); do \ | |
491 | echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\ | |
492 | install-info --info-dir=$(infodir) $(infodir)/$$file || :;\ | |
493 | done; \ | |
494 | else : ; fi | |
495 | ||
496 | uninstall-info: | |
497 | $(PRE_UNINSTALL) | |
498 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
499 | ii=yes; \ | |
500 | else ii=; fi; \ | |
501 | for file in $(INFO_DEPS); do \ | |
502 | test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \ | |
503 | done | |
504 | $(NORMAL_UNINSTALL) | |
505 | for file in $(INFO_DEPS); do \ | |
506 | (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ | |
507 | done | |
508 | ||
509 | dist-info: $(INFO_DEPS) | |
510 | for base in $(INFO_DEPS); do \ | |
511 | if test -f $$base; then d=.; else d=$(srcdir); fi; \ | |
512 | for file in `cd $$d && eval echo $$base*`; do \ | |
513 | test -f $(distdir)/$$file \ | |
514 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
515 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
516 | done; \ | |
517 | done | |
518 | ||
519 | mostlyclean-aminfo: | |
520 | rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.log ld.pg ld.toc \ | |
521 | ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr ld.cv | |
522 | ||
523 | clean-aminfo: | |
524 | ||
525 | distclean-aminfo: | |
526 | ||
527 | maintainer-clean-aminfo: | |
528 | for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done | |
529 | clean-info: mostlyclean-aminfo | |
530 | install-man: $(MANS) | |
531 | $(NORMAL_INSTALL) | |
532 | $(mkinstalldirs) $(mandir)/man1 | |
533 | @sect=1; \ | |
534 | inst=`echo "ld" | sed '$(transform)'`.1; \ | |
535 | if test -f $(srcdir)/ld.1; then file=$(srcdir)/ld.1; \ | |
536 | else file=ld.1; fi; \ | |
537 | echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \ | |
538 | $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst | |
539 | ||
540 | uninstall-man: | |
541 | $(NORMAL_UNINSTALL) | |
542 | inst=`echo "ld" | sed '$(transform)'`.1; \ | |
543 | rm -f $(mandir)/man1/$$inst | |
544 | ||
545 | ||
546 | tags: TAGS | |
547 | ||
548 | ID: $(HEADERS) $(SOURCES) | |
549 | here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) | |
550 | ||
551 | TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) | |
552 | tags=; \ | |
553 | here=`pwd`; \ | |
554 | test -z "$(ETAGS_ARGS)config.in$(SOURCES)$(HEADERS)$$tags" \ | |
555 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $(SOURCES) $(HEADERS) -o $$here/TAGS) | |
556 | ||
557 | mostlyclean-tags: | |
558 | ||
559 | clean-tags: | |
560 | ||
561 | distclean-tags: | |
562 | rm -f TAGS ID | |
563 | ||
564 | maintainer-clean-tags: | |
565 | ||
566 | distdir = $(PACKAGE)-$(VERSION) | |
567 | top_distdir = $(distdir) | |
568 | ||
569 | # This target untars the dist file and tries a VPATH configuration. Then | |
570 | # it guarantees that the distribution is self-contained by making another | |
571 | # tarfile. | |
572 | distcheck: dist | |
573 | rm -rf $(distdir) | |
574 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz | |
575 | mkdir $(distdir)/=build | |
576 | mkdir $(distdir)/=inst | |
577 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
578 | cd $(distdir)/=build \ | |
579 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
580 | && $(MAKE) \ | |
581 | && $(MAKE) dvi \ | |
582 | && $(MAKE) check \ | |
583 | && $(MAKE) install \ | |
584 | && $(MAKE) installcheck \ | |
585 | && $(MAKE) dist | |
586 | rm -rf $(distdir) | |
587 | @echo "========================"; \ | |
588 | echo "$(distdir).tar.gz is ready for distribution"; \ | |
589 | echo "========================" | |
590 | dist: distdir | |
591 | -chmod -R a+r $(distdir) | |
592 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
593 | rm -rf $(distdir) | |
594 | dist-all: distdir | |
595 | -chmod -R a+r $(distdir) | |
596 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
597 | rm -rf $(distdir) | |
598 | distdir: $(DISTFILES) | |
599 | rm -rf $(distdir) | |
600 | mkdir $(distdir) | |
601 | -chmod 777 $(distdir) | |
602 | @for file in $(DISTFILES); do \ | |
603 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
604 | test -f $(distdir)/$$file \ | |
605 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
606 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
607 | done | |
608 | $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info | |
609 | ||
610 | DEJATOOL = $(PACKAGE) | |
611 | site.exp: Makefile | |
612 | @echo 'Making a new site.exp file...' | |
613 | -@rm -f site.bak | |
614 | @echo '## these variables are automatically generated by make ##' > $@-t | |
615 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | |
616 | @echo '# edit the last section' >> $@-t | |
617 | @echo 'set tool $(DEJATOOL)' >> $@-t | |
618 | @echo 'set srcdir $(srcdir)' >> $@-t | |
619 | @echo 'set objdir' `pwd` >> $@-t | |
620 | @echo 'set host_alias $(host_alias)' >> $@-t | |
621 | @echo 'set host_triplet $(host_triplet)' >> $@-t | |
622 | @echo 'set target_alias $(target_alias)' >> $@-t | |
623 | @echo 'set target_triplet $(target_triplet)' >> $@-t | |
624 | @echo 'set build_alias $(build_alias)' >> $@-t | |
625 | @echo 'set build_triplet $(build_triplet)' >> $@-t | |
626 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | |
627 | -@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t | |
628 | -@mv site.exp site.bak | |
629 | @mv $@-t site.exp | |
630 | info: $(INFO_DEPS) | |
631 | dvi: $(DVIS) | |
632 | check: all | |
633 | $(MAKE) check-DEJAGNU | |
634 | installcheck: | |
635 | install-info: install-info-am | |
636 | install-exec: install-exec-local | |
637 | @$(NORMAL_INSTALL) | |
638 | ||
639 | install-data: install-man install-data-local | |
640 | @$(NORMAL_INSTALL) | |
641 | ||
642 | install: install-exec install-data all | |
643 | @: | |
644 | ||
645 | uninstall: uninstall-man | |
646 | ||
647 | all: Makefile $(PROGRAMS) $(MANS) config.h | |
648 | ||
649 | install-strip: | |
650 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install | |
651 | installdirs: | |
652 | $(mkinstalldirs) $(mandir)/man1 | |
653 | ||
2ee11735 | 654 | |
49c009b5 ILT |
655 | mostlyclean-generic: |
656 | test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) | |
657 | ||
658 | clean-generic: | |
659 | test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
660 | ||
661 | distclean-generic: | |
662 | rm -f Makefile $(DISTCLEANFILES) | |
663 | rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
664 | test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
665 | ||
666 | maintainer-clean-generic: | |
667 | test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | |
668 | test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |
669 | mostlyclean: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ | |
670 | mostlyclean-compile mostlyclean-libtool \ | |
671 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic | |
672 | ||
673 | clean: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \ | |
674 | clean-aminfo clean-tags clean-generic mostlyclean | |
675 | ||
676 | distclean: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ | |
677 | distclean-libtool distclean-aminfo distclean-tags \ | |
678 | distclean-generic clean | |
679 | rm -f config.status | |
680 | rm -f libtool | |
681 | ||
682 | maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstPROGRAMS \ | |
683 | maintainer-clean-compile maintainer-clean-libtool \ | |
684 | maintainer-clean-aminfo maintainer-clean-tags \ | |
685 | maintainer-clean-generic distclean | |
686 | @echo "This command is intended for maintainers to use;" | |
687 | @echo "it deletes files that may require special tools to rebuild." | |
688 | rm -f config.status | |
689 | ||
690 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ | |
691 | maintainer-clean-hdr mostlyclean-noinstPROGRAMS \ | |
692 | distclean-noinstPROGRAMS clean-noinstPROGRAMS \ | |
693 | maintainer-clean-noinstPROGRAMS mostlyclean-compile distclean-compile \ | |
694 | clean-compile maintainer-clean-compile mostlyclean-libtool \ | |
695 | distclean-libtool clean-libtool maintainer-clean-libtool \ | |
696 | install-info-am uninstall-info mostlyclean-aminfo distclean-aminfo \ | |
697 | clean-aminfo maintainer-clean-aminfo install-man uninstall-man tags \ | |
698 | mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ | |
699 | distdir check-DEJAGNU info dvi installcheck install-info install-exec \ | |
700 | install-data install uninstall all installdirs mostlyclean-generic \ | |
701 | distclean-generic clean-generic maintainer-clean-generic clean \ | |
702 | mostlyclean distclean maintainer-clean | |
cc964c6f | 703 | |
32286e08 | 704 | |
4a6afc88 | 705 | ldmain.o: ldmain.c config.status |
49c009b5 | 706 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c |
4a6afc88 | 707 | |
82ebe9a2 | 708 | ldemul-list.h: Makefile |
7e5c1057 PB |
709 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ |
710 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
82ebe9a2 | 711 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
7e5c1057 PB |
712 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ |
713 | done;\ | |
714 | echo "";\ | |
715 | echo "#define EMULATION_LIST \\";\ | |
716 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
82ebe9a2 | 717 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
7e5c1057 PB |
718 | echo " &ld_$${f}_emulation, \\"; \ |
719 | done;\ | |
4a6afc88 ILT |
720 | echo " 0") >ldemul-tmp.h |
721 | mv ldemul-tmp.h ldemul-list.h | |
95d31c3c | 722 | @TDIRS@ |
7e5c1057 | 723 | |
efa6c497 ILT |
724 | ea29k.c: $(srcdir)/emulparams/a29k.sh \ |
725 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} | |
726 | ${GENSCRIPTS} a29k "$(tdir_a29k)" | |
727 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ | |
728 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
729 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" | |
730 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ | |
731 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
732 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" | |
733 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ | |
734 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} | |
735 | ${GENSCRIPTS} alpha "$(tdir_alpha)" | |
efa6c497 ILT |
736 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ |
737 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
738 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" | |
efa6c497 ILT |
739 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
740 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
741 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" | |
742 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ | |
743 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
744 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" | |
745 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ | |
746 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} | |
747 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" | |
28d0c3ce | 748 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
d66c832b | 749 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
95d31c3c | 750 | ${GENSCRIPTS} armpe "$(tdir_armpe)" |
efa6c497 ILT |
751 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
752 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} | |
753 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" | |
e9525d96 | 754 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
10e31c75 | 755 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
04c17a75 | 756 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
49c009b5 | 757 | start-sanitize-d30v: |
9ae9e582 ILT |
758 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ |
759 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
760 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" | |
f5870264 DE |
761 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ |
762 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
763 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" | |
764 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ | |
765 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
766 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" | |
49c009b5 | 767 | end-sanitize-d30v: |
efa6c497 ILT |
768 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ |
769 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} | |
770 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" | |
771 | eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ | |
772 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} | |
773 | ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" | |
79e9dc20 DE |
774 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
775 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
776 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" | |
efa6c497 ILT |
777 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ |
778 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
779 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" | |
780 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ | |
781 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
782 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" | |
783 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ | |
b9a5c27f | 784 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 | 785 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" |
719de0ea | 786 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
b9a5c27f | 787 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
719de0ea ILT |
788 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" |
789 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ | |
b9a5c27f | 790 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
719de0ea | 791 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" |
efa6c497 ILT |
792 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
793 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
794 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" | |
795 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ | |
b9a5c27f | 796 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 ILT |
797 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" |
798 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ | |
799 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} | |
800 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" | |
801 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ | |
802 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} | |
803 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" | |
f14a5192 JM |
804 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
805 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
806 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" | |
efa6c497 | 807 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
e48412a2 | 808 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 ILT |
809 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" |
810 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ | |
811 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
812 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" | |
813 | egld960.c: $(srcdir)/emulparams/gld960.sh \ | |
814 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
815 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" | |
816 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ | |
817 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
818 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" | |
82ebe9a2 | 819 | ego32.c: $(srcdir)/emulparams/go32.sh \ |
8ddef552 | 820 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 821 | ${GENSCRIPTS} go32 "$(tdir_go32)" |
efa6c497 ILT |
822 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
823 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} | |
824 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" | |
825 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ | |
826 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} | |
827 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" | |
f14a5192 JM |
828 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ |
829 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} | |
830 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" | |
efa6c497 ILT |
831 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
832 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} | |
833 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" | |
834 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ | |
835 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} | |
836 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" | |
837 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ | |
838 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} | |
839 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" | |
840 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ | |
841 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} | |
842 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" | |
843 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ | |
844 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} | |
845 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" | |
82ebe9a2 | 846 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ |
8ddef552 | 847 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 848 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" |
82ebe9a2 | 849 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ |
8ddef552 | 850 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 851 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" |
82ebe9a2 | 852 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
db0a7149 | 853 | $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} |
95d31c3c | 854 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
82ebe9a2 | 855 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
8ddef552 | 856 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 857 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" |
efa6c497 ILT |
858 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ |
859 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
860 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" | |
861 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ | |
862 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} | |
863 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" | |
82ebe9a2 | 864 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ |
6c86b9ff | 865 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} |
95d31c3c | 866 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" |
efa6c497 ILT |
867 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ |
868 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
869 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" | |
870 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ | |
871 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} | |
872 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" | |
82ebe9a2 | 873 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ |
3c1af24d | 874 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 875 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" |
943fbd5b KR |
876 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ |
877 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
95d31c3c | 878 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
943fbd5b KR |
879 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ |
880 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} | |
95d31c3c | 881 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" |
efa6c497 ILT |
882 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ |
883 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
884 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" | |
885 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ | |
886 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
887 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" | |
888 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ | |
889 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
890 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" | |
82ebe9a2 | 891 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
8ddef552 | 892 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
95d31c3c | 893 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" |
efa6c497 ILT |
894 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
895 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
896 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" | |
897 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ | |
898 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
899 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" | |
2e598345 ILT |
900 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ |
901 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} | |
95d31c3c | 902 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" |
82ebe9a2 | 903 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ |
8ddef552 | 904 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
95d31c3c | 905 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
417ced0d MM |
906 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ |
907 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
95d31c3c | 908 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
efa6c497 ILT |
909 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
910 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
911 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" | |
82ebe9a2 | 912 | em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ |
028f8872 | 913 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} |
95d31c3c | 914 | ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" |
efa6c497 | 915 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ |
8ddef552 | 916 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
917 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" |
918 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ | |
919 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} | |
920 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" | |
921 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ | |
9ae9e582 | 922 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} |
efa6c497 | 923 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" |
82ebe9a2 | 924 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ |
8ddef552 | 925 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
efa6c497 | 926 | ${GENSCRIPTS} mipsbig |
82ebe9a2 KR |
927 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ |
928 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} | |
efa6c497 | 929 | ${GENSCRIPTS} mipsbsd |
82ebe9a2 | 930 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ |
417ced0d | 931 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
95d31c3c | 932 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" |
82ebe9a2 | 933 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ |
417ced0d | 934 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
95d31c3c | 935 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" |
efa6c497 ILT |
936 | emipslit.c: $(srcdir)/emulparams/mipslit.sh \ |
937 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
938 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" | |
9ae9e582 ILT |
939 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ |
940 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
941 | ${GENSCRIPTS} mipslnews | |
10e31c75 JL |
942 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
943 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
944 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" | |
945 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ | |
946 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
947 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" | |
efa6c497 | 948 | enews.c: $(srcdir)/emulparams/news.sh \ |
dd37f215 | 949 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
950 | ${GENSCRIPTS} news "$(tdir_news)" |
951 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ | |
82ebe9a2 | 952 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 | 953 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" |
1ab4cd57 | 954 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
cdf71377 | 955 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
1ab4cd57 | 956 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" |
4fe13b2b MM |
957 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
958 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
95d31c3c | 959 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" |
32286e08 C |
960 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ |
961 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
95d31c3c | 962 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" |
efa6c497 ILT |
963 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ |
964 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} | |
965 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" | |
efa6c497 | 966 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ |
e93e87cb | 967 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
968 | ${GENSCRIPTS} riscix "$(tdir_riscix)" |
969 | esa29200.c: $(srcdir)/emulparams/sa29200.sh \ | |
970 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} | |
971 | ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" | |
972 | esh.c: $(srcdir)/emulparams/sh.sh \ | |
973 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
974 | ${GENSCRIPTS} sh "$(tdir_sh)" | |
79e9dc20 DE |
975 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ |
976 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
977 | ${GENSCRIPTS} shelf "$(tdir_shelf)" | |
978 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ | |
979 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
980 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" | |
efa6c497 ILT |
981 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
982 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
983 | ${GENSCRIPTS} shl "$(tdir_shl)" | |
984 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ | |
e93e87cb | 985 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 | 986 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" |
ba69384d ILT |
987 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ |
988 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
989 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" | |
efa6c497 ILT |
990 | esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ |
991 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} | |
992 | ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" | |
32286e08 | 993 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ |
e93e87cb | 994 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 995 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" |
efa6c497 ILT |
996 | est2000.c: $(srcdir)/emulparams/st2000.sh \ |
997 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} | |
998 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" | |
999 | esun3.c: $(srcdir)/emulparams/sun3.sh \ | |
1000 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1001 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" | |
1002 | esun4.c: $(srcdir)/emulparams/sun4.sh \ | |
1003 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1004 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" | |
49c009b5 | 1005 | start-sanitize-tic80: |
c6c7035c MM |
1006 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
1007 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} | |
1008 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" | |
49c009b5 | 1009 | end-sanitize-tic80: |
f5870264 DE |
1010 | start-sanitize-sky: |
1011 | etxvuelf.c: $(srcdir)/emulparams/txvuelf.sh \ | |
1012 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1013 | ${GENSCRIPTS} txvuelf "$(tdir_txvu)" | |
1014 | end-sanitize-sky: | |
efa6c497 ILT |
1015 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ |
1016 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} | |
1017 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" | |
1018 | evax.c: $(srcdir)/emulparams/vax.sh \ | |
1019 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1020 | ${GENSCRIPTS} vax "$(tdir_vax)" | |
1021 | evsta.c: $(srcdir)/emulparams/vsta.sh \ | |
1022 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1023 | ${GENSCRIPTS} vsta "$(tdir_vsta)" | |
04c17a75 | 1024 | ev850.c: $(srcdir)/emulparams/v850.sh \ |
d27d34c3 | 1025 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} |
04c17a75 | 1026 | ${GENSCRIPTS} v850 "$(tdir_v850)" |
efa6c497 ILT |
1027 | ew65.c: $(srcdir)/emulparams/w65.sh \ |
1028 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} | |
1029 | ${GENSCRIPTS} w65 "$(tdir_w65)" | |
65d22248 C |
1030 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ |
1031 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
95d31c3c | 1032 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" |
65d22248 C |
1033 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ |
1034 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
95d31c3c | 1035 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" |
eb02fd64 | 1036 | |
d17eb3db | 1037 | # The generated emulation files mostly have the same dependencies. |
d66c832b ILT |
1038 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ |
1039 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ | |
2a80ec10 | 1040 | ldctor.h ldexp.h ldlang.h ldgram.h |
4a6afc88 | 1041 | |
49c009b5 ILT |
1042 | check-DEJAGNU: site.exp |
1043 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ | |
32286e08 | 1044 | r=`pwd`; export r; \ |
49c009b5 ILT |
1045 | EXPECT=$(EXPECT); export EXPECT; \ |
1046 | if [ -f $(top_builddir)/../expect/expect ]; then \ | |
1047 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ | |
1048 | export TCL_LIBRARY; \ | |
1049 | fi; \ | |
1050 | runtest=$(RUNTEST); \ | |
1051 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
1052 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ | |
1053 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ | |
1054 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ | |
1055 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ | |
1056 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ | |
1057 | LIBIBERTY="$(LIBIBERTY)" HOSTING_EMU="$(HOSTING_EMU)" \ | |
1058 | HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \ | |
1059 | $(RUNTESTFLAGS); \ | |
1060 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
1061 | fi | |
e7921bd4 | 1062 | |
7e5c1057 | 1063 | # Rules for testing by relinking ld itself. |
32286e08 C |
1064 | # A similar test is in the testsuite. This target is for ease of use |
1065 | # when porting ld. | |
eb02fd64 | 1066 | |
49c009b5 ILT |
1067 | ld-partial.o: ld-new$(EXEEXT) |
1068 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) | |
1069 | ld1$(EXEEXT): ld-partial.o | |
1070 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1071 | |
49c009b5 ILT |
1072 | ld1-full$(EXEEXT): ld-new |
1073 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1074 | |
49c009b5 ILT |
1075 | ld2$(EXEEXT): ld1$(EXEEXT) |
1076 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
60048a2c | 1077 | |
49c009b5 ILT |
1078 | ld3$(EXEEXT): ld2$(EXEEXT) |
1079 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1080 | |
49c009b5 ILT |
1081 | bootstrap: ld3$(EXEEXT) |
1082 | cmp ld2$(EXEEXT) ld3$(EXEEXT) | |
d20fb445 | 1083 | |
4a6afc88 ILT |
1084 | .PHONY: bootstrap |
1085 | ||
8ddef552 | 1086 | # A test program for C++ constructors and destructors. |
32286e08 C |
1087 | # This test is now in the testsuite. |
1088 | # | |
1089 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1090 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ | |
1091 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) | |
1092 | # | |
1093 | #cdtest.out: cdtest | |
1094 | # ./cdtest > cdtest.tmp | |
1095 | # mv cdtest.tmp cdtest.out | |
1096 | # | |
1097 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1098 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ | |
1099 | # cdtest-bar.o cdtest-foo.o | |
1100 | # | |
1101 | #cdtest-ur: cdtest-ur.o | |
1102 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ | |
1103 | # $(HOSTING_LIBS) | |
1104 | # | |
1105 | #cdtest-ur.out: cdtest-ur | |
1106 | # ./cdtest-ur > cdtest-ur.tmp | |
1107 | # mv cdtest-ur.tmp cdtest-ur.out | |
1108 | # | |
1109 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp | |
1110 | # diff $(srcdir)/cdtest.exp cdtest.out | |
1111 | # diff $(srcdir)/cdtest.exp cdtest-ur.out | |
1112 | # | |
1113 | #.PHONY: check-cdtest | |
4a6afc88 | 1114 | |
d301e438 | 1115 | # END OF CHECK TARGETS |
917bffa7 | 1116 | |
8073190b | 1117 | # DOCUMENTATION TARGETS |
2412a768 RP |
1118 | # Manual configuration file; not usually attached to normal configuration, |
1119 | # because almost all configs use "gen" version of manual. | |
1120 | # Set DOCVER above to change. | |
1121 | configdoc.texi: ${DOCVER}-doc.texi | |
49c009b5 ILT |
1122 | ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
1123 | || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ | |
1124 | || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi | |
2412a768 | 1125 | |
0c0b16f9 DE |
1126 | ld.info: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi |
1127 | ld.dvi: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi | |
1128 | ||
1129 | # We want to include a file from the BFD documentation. automake | |
1130 | # doesn't give us a way to set the include directories for makeinfo, | |
1131 | # so we just create a file locally to include it. | |
1132 | bfdsumm.texi: Makefile | |
1133 | echo @include $(BFDDIR)/doc/bfdsumm.texi > bfdsumm.texi | |
2412a768 | 1134 | |
49c009b5 | 1135 | .PHONY: install-exec-local install-data-local |
8d317d2a | 1136 | |
49c009b5 ILT |
1137 | install-exec-local: ld-new$(EXEEXT) |
1138 | $(mkinstalldirs) $(bindir) $(tooldir)/bin | |
1139 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | |
1140 | if test -f $$p; then \ | |
1141 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \ | |
1142 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \ | |
1143 | else :; fi; \ | |
d360d135 | 1144 | done |
49c009b5 ILT |
1145 | rm -f $(tooldir)/bin/ld$(EXEEXT) |
1146 | n=`echo ld | sed '$(transform)'`; \ | |
1147 | ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
1148 | || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) | |
ba69384d | 1149 | |
49c009b5 ILT |
1150 | install-data-local: |
1151 | $(mkinstalldirs) $(scriptdir) | |
1152 | for f in ldscripts/*; do \ | |
1153 | $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \ | |
afe3aa73 RP |
1154 | done |
1155 | ||
4a6afc88 ILT |
1156 | # Targets to rebuild dependencies in this Makefile. |
1157 | # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES). | |
208bc89e | 1158 | .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h |
4a6afc88 ILT |
1159 | rm -f .dep1 |
1160 | $(MAKE) DEP=$(DEP) .dep1 | |
1161 | sed -f dep.sed <.dep1 >.dep | |
eb02fd64 | 1162 | |
4a6afc88 ILT |
1163 | # This rule really wants a mkdep that runs "gcc -MM". |
1164 | .dep1: $(CFILES) $(GENERATED_CFILES) | |
1165 | rm -f .dep2 | |
1166 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 | |
49c009b5 | 1167 | $(DEP) -f .dep2 $(INCLUDES) $? |
4a6afc88 | 1168 | $(srcdir)/../move-if-change .dep2 .dep1 |
eb02fd64 | 1169 | |
4a6afc88 ILT |
1170 | dep.sed: dep-in.sed config.status |
1171 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
1172 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
d66c832b | 1173 | -e 's!@SRCDIR@!$(srcdir)!' |
eb02fd64 | 1174 | |
4a6afc88 ILT |
1175 | dep: .dep |
1176 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile | |
1177 | cat .dep >> tmp-Makefile | |
1178 | $(srcdir)/../move-if-change tmp-Makefile Makefile | |
239d28f3 | 1179 | |
4a6afc88 ILT |
1180 | dep-in: .dep |
1181 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in | |
1182 | cat .dep >> tmp-Makefile.in | |
1183 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in | |
1184 | ||
49c009b5 ILT |
1185 | dep-am: .dep |
1186 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am | |
1187 | cat .dep >> tmp-Makefile.am | |
1188 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am | |
eb02fd64 | 1189 | |
49c009b5 | 1190 | .PHONY: dep dep-in dep-am |
eb02fd64 | 1191 | |
4a6afc88 ILT |
1192 | # What appears below is generated by a hacked mkdep using gcc -MM. |
1193 | ||
1194 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
1195 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
1196 | ||
dd37f215 | 1197 | ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1198 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1199 | ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h | |
dd37f215 | 1200 | ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1201 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \ |
1202 | ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h | |
dd37f215 | 1203 | ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1204 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1205 | ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h | |
dd37f215 | 1206 | ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1207 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1208 | ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ | |
1209 | ldlex.h ldemul.h | |
dd37f215 | 1210 | ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1211 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1212 | $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
4725fb48 | 1213 | ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \ |
3fac4887 | 1214 | ldctor.h ldfile.h $(INCDIR)/fnmatch.h |
dd37f215 | 1215 | ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1216 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1217 | $(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
1218 | ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \ | |
1219 | ldlex.h ldfile.h ldctor.h | |
dd37f215 | 1220 | ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1221 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1222 | $(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \ | |
1223 | ldgram.h ldlex.h ldmain.h ldfile.h | |
dd37f215 | 1224 | ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1225 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \ |
1226 | ldemul.h ldmain.h | |
dd37f215 | 1227 | ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1228 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1229 | $(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \ | |
1230 | ldmisc.h ldgram.h ldmain.h | |
dd37f215 | 1231 | lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1232 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1233 | $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
1234 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \ | |
1235 | ldver.h ldemul.h | |
1236 | mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \ | |
1237 | config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \ | |
1238 | ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h | |
f14a5192 | 1239 | ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1240 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1241 | $(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \ | |
1242 | ldlang.h | |
dd37f215 | 1243 | ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1244 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1245 | ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \ | |
1246 | ldmain.h mri.h ldlex.h | |
1247 | ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \ | |
1248 | ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \ | |
1249 | ldmain.h | |
239d28f3 SC |
1250 | |
1251 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY | |
49c009b5 ILT |
1252 | |
1253 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
1254 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
1255 | .NOEXPORT: |