4c066b628623d6eaccc12cf65c138209dda00c9a
[deliverable/binutils-gdb.git] / ld / Makefile.in
1 # Makefile for the GNU linker ld (version 2)
2 # Copyright (C) 1989-1992 Free Software Foundation, Inc.
3
4 # This file is part of GNU ld..
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
20
21 srcdir = .
22
23 prefix = /usr/local
24
25 program_prefix =
26 program_suffix =
27 exec_prefix = $(prefix)
28 bindir = $(exec_prefix)/bin
29 libdir = $(exec_prefix)/lib
30 tooldir = $(bindir)
31 datadir = $(prefix)/lib
32 mandir = $(prefix)/man
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = $(prefix)/info
43 includedir = $(prefix)/include
44 docdir = $(datadir)/doc
45
46 gcclibdir = $(libdir)/gcc/$(target_alias)
47
48 SHELL = /bin/sh
49
50 INSTALL = install -c
51 INSTALL_PROGRAM = $(INSTALL)
52 INSTALL_DATA = $(INSTALL)
53 AR = ar
54 AR_FLAGS = qv
55 CFLAGS = -g
56 MAKEINFO = makeinfo
57 RANLIB = ranlib
58 HOST_CC=$(CC)
59 BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
60 LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex -S../flex/flex.skel ; else echo flex ; fi`
61
62 #version=/`./../gcc/gcc -dumpversion`
63 version=
64
65 # Seach path to override the default search path for -lfoo libraries.
66 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
67 # (The default is usually /lib:usr/lib:/usr/local/lib, unless building
68 # a cross-linker, in which case the default is empty. See genscripts.sh.)
69 # Otherwise, they are replaced with the ones given in LIB_PATH,
70 # which may have the form: LIB_PATH=/lib:/usr/local/lib
71 LIB_PATH =
72
73 BASEDIR = ../..
74 INCLUDE = $(srcdir)/../include
75 INCLUDES = -I. -I$(srcdir) -I$(INCLUDE)
76
77 # Where to find texinfo.tex to format docn with TeX
78 TEXIDIR = $(srcdir)/../texinfo/fsf
79
80 # Whether to get roff to put indexing entries on stderr
81 TEXI2OPT =
82 # You neeed this to generate ld-index.ms (or .mm or .me)
83 # TEXI2OPT = -i
84
85 TEXI2ROFF=texi2roff
86
87 # Which roff program to use to generate index for texi2roff'd doc
88 ROFF = groff
89
90 #stuff for self hosting (can be overridden in config file).
91 HOSTING_CRT0=/lib/crt0.o
92 HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc
93 HOSTING_EMU=LDEMULATION=$(EMUL); export LDEMULATION
94
95 C++ = g++ -fgnu-linker
96
97 ### Host, target, and site specific Makefile fragments come in here.
98 ###
99
100 LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
101
102 .SUFFIXES: .y .x .xr .xu .xn .xbn .sc .scu .scr .scn $(SUFFIXES) .cc
103
104 .c.o:
105 $(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $<
106
107 .cc.o:
108 $(C++) -c $(CFLAGS) -I$(srcdir) $<
109
110 # go directly to ld.new in case this ld isn't capable of
111 # linking native object on this host. It can be renamed on
112 # install.
113 LD_PROG = ld.new
114
115 # for self hosting
116 BFDLIB=./../bfd/libbfd.a
117 LIBIBERTY=./../libiberty/libiberty.a
118
119 ALL_EMULATIONS=ld__lnk960.o ld__sun3.o ld__i386aout.o \
120 ld__go32.o ld__m88kbcs.o ld__a29k.o ld__news.o ld__hp300bsd.o ld__h8300hms.o ld__ebmon29k.o \
121 ld__sun4.o ld__gld960.o ld__vanilla.o ld__h8300xray.o ld__st2000.o ld__sa29200.o
122
123 EMULATION_OFILES=${ALL_EMULATIONS}
124 #EMULATION_OFILES=ld__${EMUL}.o ${OTHER_EMULATIONS}
125
126 OFILES= ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldindr.o \
127 ldwarn.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldsym.o \
128 ldfile.o relax.o lderror.o cplus-dem.o ${EMULATION_OFILES}
129
130 HEADERS=config.h ldmain.h ldmain.h ldwarn.h ldmisc.h ldindr.h \
131 ldsym.h ldctor.h ldlang.h ldexp.h \
132 ldlex.h ldwrite.h ldver.h ldemul.h ldfile.h ldgram.h ld.h
133
134 MANSOURCES=ld.tex
135
136 LDCSOURCES=ldlang.c lexsup.c ldctor.c mri.c ldindr.c ldmain.c ldwrite.c ldwarn.c ldlnk960.c \
137 ld__gld.c ld__sun3.c ld__go32.c ld__m88k.c ld__ebmon29k.c \
138 ldgld960.c ldemul.c ldver.c ldmisc.c ldexp.c ldsym.c ldfile.c \
139 relax.c lderror.c cplus-dem.c
140
141 GENERATED_SOURCES=ldgram.c ldlex.c ld__*.c ldemul-list.h
142 GENERATED_HEADERS=ldgram.h ldemul-list.h
143
144 LDSOURCES=$(LDCSOURCES) ldgram.y ldlex.l ldgram.h
145
146 BFDSOURCES=../../bfd/common/*.c
147
148 SOURCES= $(LDSOURCES) $(BFDSOURCES)
149 LINTSOURCES= $(LDCSOURCES) $(BFDSOURCES) $(GENERATED_SOURCES)
150
151 STAGESTUFF = *.x *.x[runN] *.sc[runN] $(GENERATED_SOURCES) $(GENERATED_HEADERS) $(OFILES) $(LD_PROG) mkscript
152
153 all: Makefile $(LD_PROG)
154
155 check: bootstrap check-cdtest
156 info: ld.info
157
158 ldgram.h ldgram.c: ldgram.y
159 $(BISON) $(BISONFLAGS) -d $(srcdir)/ldgram.y
160 mv -f y.tab.c ldgram.c
161 mv -f y.tab.h ldgram.h
162
163 ldmain.o: ldmain.c
164 $(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) -DDEFAULT_EMULATION='"$(EMUL)"' -c $<
165
166 ldemul-list.h: Makefile
167 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
168 for f in `echo " " ${EMULATION_OFILES} "" \
169 | sed -e 's/ld__/ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
170 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
171 done;\
172 echo "";\
173 echo "#define EMULATION_LIST \\";\
174 for f in `echo " " ${EMULATION_OFILES} "" \
175 | sed -e 's/ld__/ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
176 echo " &ld_$${f}_emulation, \\"; \
177 done;\
178 echo " 0") >ldemul-list.h
179
180 ldemul.o: ldemul-list.h
181
182 ldlex.c: ldlex.l
183 $(LEX) -I -Cem $(srcdir)/ldlex.l
184 mv lex.yy.c ldlex.c
185
186 # These all start with ld__ so 'make clean' can find them.
187
188 GENSCRIPTS=sh $(srcdir)/genscripts.sh ${srcdir} ${host_alias} ${target_alias}
189 GEN_DEPENDS=./mkscript $(srcdir)/genscripts.sh
190
191 ld__sun4.c: $(srcdir)/sun4.sh \
192 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
193 ${GENSCRIPTS} sun4.sh
194 ld__sun3.c: $(srcdir)/sun3.sh \
195 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
196 ${GENSCRIPTS} sun3.sh
197 ld__go32.c: $(srcdir)/go32.sh \
198 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
199 ${GENSCRIPTS} go32.sh
200 ld__news.c: $(srcdir)/news.sh \
201 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
202 ${GENSCRIPTS} news.sh
203 ld__hp300bsd.c: $(srcdir)/hp300bsd.sh \
204 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
205 ${GENSCRIPTS} hp300bsd.sh
206 ld__i386aout.c: $(srcdir)/i386aout.sh \
207 $(srcdir)/generic.em $(srcdir)/aout.sc-sh ${GEN_DEPENDS}
208 ${GENSCRIPTS} i386aout.sh
209 ld__ebmon29k.c: $(srcdir)/ebmon29k.sh \
210 $(srcdir)/generic.em $(srcdir)/ebmon29k.sc-sh ${GEN_DEPENDS}
211 ${GENSCRIPTS} ebmon29k.sh
212 ld__sa29200.c: $(srcdir)/sa29200.sh \
213 $(srcdir)/generic.em $(srcdir)/sa29200.sc-sh ${GEN_DEPENDS}
214 ${GENSCRIPTS} sa29200.sh
215 ld__a29k.c: $(srcdir)/a29k.sh \
216 $(srcdir)/generic.em $(srcdir)/a29k.sc-sh ${GEN_DEPENDS}
217 ${GENSCRIPTS} a29k.sh
218 ld__m88kbcs.c: $(srcdir)/m88kbcs.sh \
219 $(srcdir)/generic.em $(srcdir)/h8300hms.sc-sh ${GEN_DEPENDS}
220 ${GENSCRIPTS} m88kbcs.sh
221 ld__h8300hms.c: $(srcdir)/h8300hms.sh \
222 $(srcdir)/h8300hms.em $(srcdir)/h8300hms.sc-sh ${GEN_DEPENDS}
223 ${GENSCRIPTS} h8300hms.sh
224 ld__h8300xray.c: $(srcdir)/h8300xray.sh \
225 $(srcdir)/h8300xray.em $(srcdir)/h8300xray.sc-sh ${GEN_DEPENDS}
226 ${GENSCRIPTS} h8300xray.sh
227 ld__st2000.c: $(srcdir)/st2000.sh \
228 $(srcdir)/st2000.em $(srcdir)/st2000.sc-sh ${GEN_DEPENDS}
229 ${GENSCRIPTS} st2000.sh
230 ld__vanilla.c: $(srcdir)/vanilla.sh \
231 $(srcdir)/vanilla.em $(srcdir)/vanilla.sc-sh ${GEN_DEPENDS}
232 ${GENSCRIPTS} vanilla.sh
233 ld__lnk960.c: $(srcdir)/lnk960.sh \
234 $(srcdir)/lnk960.em $(srcdir)/i960.sc-sh ${GEN_DEPENDS}
235 ${GENSCRIPTS} lnk960.sh
236 ld__gld960.c: $(srcdir)/gld960.sh \
237 $(srcdir)/gld960.em $(srcdir)/i960.sc-sh ${GEN_DEPENDS}
238 ${GENSCRIPTS} gld960.sh
239
240 $(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
241 $(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES)
242
243 # Rules for testing by relinking ld itself.
244
245 ld-partial.o: ld.new
246 $(HOSTING_EMU); ./ld.new -o ld-partial.o -r $(OFILES)
247 ld1: ld-partial.o
248 $(HOSTING_EMU); ./ld.new -o ld1 $(HOSTING_CRT0) ld-partial.o $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
249
250 ld1-full: ld.new
251 $(HOSTING_EMU); ./ld.new -o ld1-full $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
252
253 ld2: ld1
254 $(HOSTING_EMU); ./ld1 -o ld2 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
255
256 ld3: ld2
257 $(HOSTING_EMU); ./ld2 -o ld3 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
258
259 bootstrap: ld3
260 cmp ld2 ld3
261
262 cdtest: cdtest-main.o cdtest-func.o cdtest-foo.o
263 $(HOSTING_EMU); ./ld.new -o cdtest $(HOSTING_CRT0) \
264 cdtest-main.o cdtest-func.o cdtest-foo.o $(HOSTING_LIBS)
265
266 check-cdtest: cdtest $(srcdir)/cdtest.exp
267 ./cdtest >cdtest.out
268 diff $(srcdir)/cdtest.exp cdtest.out
269
270 ######################################################################
271 # DOCUMENTATION TARGETS
272 # TeX output
273 ld.dvi: $(srcdir)/ld.texinfo
274 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
275 texindex ld.??
276 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ld.texinfo
277 ldint.dvi: $(srcdir)/ldint.texinfo
278 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ldint.texinfo
279 texindex ldint.??
280 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/ldint.texinfo
281
282 # info file for online browsing
283 ld.info: $(srcdir)/ld.texinfo
284 $(MAKEINFO) -o ld.info $(srcdir)/ld.texinfo
285
286 ldint.info: $(srcdir)/ldint.texinfo
287 $(MAKEINFO) -o ldint.info $(srcdir)/ldint.texinfo
288
289 #separate targets for "ms", "me", and "mm" forms of roff doc
290 # Try to use a recent texi2roff. v2 was put on prep in jan91.
291 # If you want an index, see texi2roff doc for postprocessing
292 # and add -i to texi2roff invocations below.
293 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
294 # correspondint -e lines when later texi2roff's are current)
295 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
296 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
297 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
298 # + @alphaenumerate is ridiculously new, turned into @enumerate
299
300 ld.ms: $(srcdir)/ld.texinfo
301 sed -e '/\\input texinfo/d' \
302 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
303 -e '/^@ifinfo/,/^@end ifinfo/d' \
304 -e '/^@c/d' \
305 -e 's/{.*,,/{/' \
306 -e 's/@ / /g' \
307 -e 's/^@alphaenumerate/@enumerate/g' \
308 -e 's/^@end alphaenumerate/@end enumerate/g' \
309 $(srcdir)/ld.texinfo | \
310 $(TEXI2ROFF) $(TEXI2OPT) -ms | \
311 sed -e 's/---/\\(em/g' \
312 >>ld.ms
313
314 # index for roff output
315 ld-index.ms: ld.ms
316 $(ROFF) -ms ld.ms 2>&1 1>/dev/null | \
317 sed -e '/: warning:/d' | \
318 texi2index >ld-index.ms
319
320 # roff output (-mm)
321 ld.mm: $(srcdir)/ld.texinfo
322 sed -e '/\\input texinfo/d' \
323 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
324 -e '/^@ifinfo/,/^@end ifinfo/d' \
325 -e '/^@c/d' \
326 -e 's/{.*,,/{/' \
327 -e '/@noindent/d' \
328 -e 's/@ / /g' \
329 -e 's/^@alphaenumerate/@enumerate/g' \
330 -e 's/^@end alphaenumerate/@end enumerate/g' \
331 $(srcdir)/ld.texinfo | \
332 $(TEXI2ROFF) $(TEXI2OPT) -mm | \
333 sed -e 's/---/\\(em/g' \
334 >ld.mm
335
336 # index for roff output
337 ld-index.mm: ld.mm
338 $(ROFF) -mm ld.mm 2>&1 1>/dev/null | \
339 sed -e '/: warning:/d' | \
340 texi2index >ld-index.mm
341
342 # roff output (-me)
343 ld.me: $(srcdir)/ld.texinfo
344 sed -e '/\\input texinfo/d' \
345 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
346 -e '/^@ifinfo/,/^@end ifinfo/d' \
347 -e '/^@c/d' \
348 -e 's/{.*,,/{/' \
349 -e 's/@ / /g' \
350 -e 's/^@alphaenumerate/@enumerate/g' \
351 -e 's/^@end alphaenumerate/@end enumerate/g' \
352 $(srcdir)/ld.texinfo | \
353 $(TEXI2ROFF) $(TEXI2OPT) -me | \
354 sed -e 's/---/\\(em/g' \
355 >>ld.me
356
357 # index for roff output
358 ld-index.me: ld.me
359 $(ROFF) -me ld.me 2>&1 1>/dev/null | \
360 sed -e '/: warning:/d' | \
361 texi2index >ld-index.me
362
363
364 ######################################################################
365
366 ./mkscript: $(srcdir)/mkscript.c
367 $(HOST_CC) -o mkscript $(srcdir)/mkscript.c
368
369 ldlex.c: ldlex.l ldgram.h
370 ldlex.o: ldlex.c ldgram.h
371 ldgram.o: ldgram.c
372 ldgram.c:ldgram.y
373
374 h8300hms.o:h8300hms.c
375 h8300xray.o:h8300xray.c
376 st2000.o:st2000.c
377
378 stage1: force
379 -mkdir stage1
380 -mv -f $(STAGESTUFF) stage1
381 -(cd stage1 ; ln -s $(LD_PROG) ld)
382
383 stage2: force
384 -mkdir stage2
385 -mv -f $(STAGESTUFF) stage2
386 -(cd stage2 ; ln -s $(LD_PROG) ld)
387
388 stage3: force
389 -mkdir stage3
390 -mv -f $(STAGESTUFF) stage3
391 -(cd stage3 ; ln -s $(LD_PROG) ld)
392
393 against=stage2
394
395 comparison: force
396 for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
397
398 de-stage1: force
399 -(cd stage1 ; mv -f * ..)
400 -rm ld
401 -rmdir stage1
402
403 de-stage2: force
404 -(cd stage2 ; mv -f * ..)
405 -rm ld
406 -rmdir stage2
407
408 de-stage3: force
409 -(cd stage3 ; mv -f * ..)
410 -rm ld
411 -rmdir stage3
412
413 clean:
414 -rm -f TAGS $(STAGESTUFF)
415 -rm -f ld.?? ld.??? ldlex.[qp]
416 -rm -f ld ld1 ld2 ld3 *.o y.output cdtest cdtest.out
417
418 lintlog:$(SOURCES) Makefile
419 $(LINT) -abhxzn $(LINTFLAGS) $(LINTSOURCES) \
420 | grep -v "pointer casts may be troublesome" \
421 | grep -v "possible pointer alignment problem" \
422 | grep -v "ignore" \
423 | grep -v "conversion from long may lose accuracy" \
424 | grep -v "warning: constant argument to NOT" \
425 | grep -v "enumeration type clash, operator CAST" \
426 | grep -v "warning: constant in conditional context"\
427 | grep -v "archive\.c"
428
429
430 tags TAGS:$(SOURCES) $(HEADERS)
431 etags -t $?
432
433
434 objdump:objdump.c
435
436 .PHONY: install
437 install: $(LD_PROG)
438 -rm -f $(bindir)/$(program_prefix)ld$(program_suffix)
439 $(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld$(program_suffix)
440 -rm -f $(tooldir)/ld
441 if [ -d $(tooldir) ]; then $(INSTALL_PROGRAM) ld.new $(tooldir)/ld; else true; fi
442 -rm -f $(man1dir)/$(program_prefix)ld$(program_suffix).1
443 $(INSTALL_DATA) $(srcdir)/gld.1 $(man1dir)/$(program_prefix)ld$(program_suffix).1
444
445 install-info: info
446 for i in ld.info* ; do \
447 $(INSTALL_DATA) $$i $(infodir)/$$i ; \
448 done
449
450 clean-info:
451 -rm -rf *.info*
452
453 #-----------------------------------------------------------------------------
454 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
455 #
456 # 'VERSION' file must be present and contain a string of the form "x.y"
457 #-----------------------------------------------------------------------------
458
459 ver960.c: FORCE
460 rm -f ver960.c
461 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
462
463
464 # This target should be invoked before building a new release.
465 # 'VERSION' file must be present and contain a string of the form "x.y"
466 #
467 roll:
468 @V=`cat VERSION` ; \
469 MAJ=`sed 's/\..*//' VERSION` ; \
470 MIN=`sed 's/.*\.//' VERSION` ; \
471 V=$$MAJ.`expr $$MIN + 1` ; \
472 rm -f VERSION ; \
473 echo $$V >VERSION ; \
474 echo Version $$V
475
476
477 dep: $(LDSOURCES)
478 mkdep $(CFLAGS) $?
479
480 # Dummy target to force execution of dependent targets.
481 #
482 force:
483
484 # Target to uncomment host-specific lines in this makefile. Such lines must
485 # have the following string beginning in column 1: #__<hostname>__#
486 # Original Makefile is backed up as 'Makefile.old'.
487 #
488 # Invoke with: make make HOST=xxx
489 #
490 make:
491 -@if test $(HOST)x = x ; then \
492 echo '\aSpecify "make make HOST=???"'; \
493 exit 1; \
494 fi ; \
495 grep -s "^#The next line was generated by 'make make'" Makefile; \
496 if test $$? = 0 ; then \
497 echo "\aMakefile has already been processed with 'make make'";\
498 exit 1; \
499 fi ; \
500 mv -f Makefile Makefile.old; \
501 echo "#The next line was generated by 'make make'" >Makefile ; \
502 echo "HOST=$(HOST)" >>Makefile ; \
503 echo >>Makefile ; \
504 sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
505
506 #\f
507
508 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
509 $(SHELL) ./config.status
510
511 ### mode:fundamental ***
512 ### Local Variables: ***
513 ### page-delimiter: "^#\f" ***
514 ### End: ***
515 ### end of file
516
517
518 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.038256 seconds and 3 git commands to generate.