Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.
[deliverable/binutils-gdb.git] / gas / Makefile.in
1 # Makefile for GNU Assembler
2 # Copyright (C) 1987-1992, 1993 Free Software Foundation, Inc.
3
4 # This file is part of GNU GAS.
5
6 # GNU GAS 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, or (at your option)
9 # any later version.
10
11 # GNU GAS 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 GNU GAS; see the file COPYING. If not, write to
18 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19
20 # The targets for external use include:
21 # all, doc, proto, install, uninstall, includes, TAGS,
22 # clean, mostlyclean, distclean, realclean, stage1, stage2, stage3, stage4.
23
24 # Variables that exist for you to override.
25 # See below for how to change them for certain systems.
26
27 VPATH = @srcdir@
28 srcdir = @srcdir@
29 srcroot = $(srcdir)/..
30
31 prefix = @prefix@
32
33 program_transform_name =
34 exec_prefix = @exec_prefix@
35 bindir = $(exec_prefix)/bin
36 libdir = $(exec_prefix)/lib
37 tooldir = $(libdir)/$(target_alias)
38
39 datadir = $(prefix)/lib
40 mandir = $(prefix)/man
41 man1dir = $(mandir)/man1
42 man2dir = $(mandir)/man2
43 man3dir = $(mandir)/man3
44 man4dir = $(mandir)/man4
45 man5dir = $(mandir)/man5
46 man6dir = $(mandir)/man6
47 man7dir = $(mandir)/man7
48 man8dir = $(mandir)/man8
49 man9dir = $(mandir)/man9
50 infodir = $(prefix)/info
51 includedir = $(prefix)/include
52 docdir = $(datadir)/doc
53
54 VERSION=cygnus-2.3.1
55
56 SHELL = /bin/sh
57
58 INSTALL = $${srcroot}/install.sh -c
59 INSTALL_PROGRAM = $(INSTALL)
60 INSTALL_DATA = $(INSTALL)
61 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
62 INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
63
64 AR = ar
65 AR_FLAGS = qv
66 BISON = bison
67 MAKEINFO = makeinfo
68 TEXI2DVI = texi2dvi
69 RANLIB = ranlib
70 CC = @CC@
71 CFLAGS = -g
72
73 MAKEOVERRIDES=
74
75 AS_FOR_TARGET = $${here}/as.new
76
77 CC_FOR_TARGET = ` \
78 if [ -f $${here}/../gcc/Makefile ] ; then \
79 echo $${here}/../gcc/xgcc -B$${here}/../gcc/; \
80 else \
81 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
82 echo $(CC); \
83 else \
84 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
85 fi; \
86 fi`
87
88 NM_FOR_TARGET = ` \
89 if [ -f $${here}/../binutils/Makefile ] ; then \
90 echo $${here}/../binutils/nm ; \
91 else \
92 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
93 echo $(NM); \
94 else \
95 t='$(program_transform_name)'; echo nm | sed -e 's/brokensed/brokensed/' $$t ; \
96 fi; \
97 fi`
98
99 OBJDUMP=objdump
100 OBJDUMP_FOR_TARGET = ` \
101 if [ -f $${here}/../binutils/Makefile ] ; then \
102 echo $${here}/../binutils/objdump ; \
103 else \
104 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
105 echo $(OBJDUMP); \
106 else \
107 t='$(program_transform_name)'; echo objdump | sed -e 's/brokensed/brokensed/' $$t ; \
108 fi; \
109 fi`
110
111 FLAGS_TO_PASS = \
112 "prefix=$(prefix)" \
113 "exec_prefix=$(exec_prefix)" \
114 "tooldir=$(tooldir)" \
115 "AR=$(AR)" \
116 "AR_FLAGS=$(AR_FLAGS)" \
117 "CC=$(CC)" \
118 "CFLAGS=$(CFLAGS)" \
119 "RANLIB=$(RANLIB)" \
120 "LOADLIBES=$(LOADLIBES)" \
121 "LDFLAGS=$(LDFLAGS)" \
122 "BISON=$(BISON)" \
123 "LEX=$(LEX)" \
124 "MAKEINFO=$(MAKEINFO)" \
125 "INSTALL=$(INSTALL)" \
126 "INSTALL_DATA=$(INSTALL_DATA)" \
127 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
128
129 RUNTEST=runtest
130 CHECKFLAGS= \
131 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
132 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
133 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
134 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
135 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
136 "RUNTEST=$(RUNTEST)"
137
138 # Lists of files for various purposes.
139
140 REAL_SOURCES = \
141 $(srcdir)/app.c \
142 $(srcdir)/as.c \
143 $(srcdir)/atof-generic.c \
144 $(srcdir)/bignum-copy.c \
145 $(srcdir)/cond.c \
146 $(srcdir)/expr.c \
147 $(srcdir)/flonum-konst.c \
148 $(srcdir)/flonum-copy.c \
149 $(srcdir)/flonum-mult.c \
150 $(srcdir)/frags.c \
151 $(srcdir)/hash.c \
152 $(srcdir)/hex-value.c \
153 $(srcdir)/input-file.c \
154 $(srcdir)/input-scrub.c \
155 $(srcdir)/literal.c \
156 $(srcdir)/messages.c \
157 $(srcdir)/output-file.c \
158 $(srcdir)/read.c \
159 $(srcdir)/subsegs.c \
160 $(srcdir)/symbols.c \
161 $(srcdir)/write.c \
162 $(srcdir)/listing.c \
163 $(srcdir)/ecoff.c \
164 $(srcdir)/stabs.c \
165 $(srcdir)/xmalloc.c
166
167 # in an expedient order
168 LINKED_SOURCES = \
169 targ-cpu.c \
170 obj-format.c \
171 atof-targ.c
172
173 SOURCES = $(LINKED_SOURCES) $(REAL_SOURCES)
174
175 REAL_HEADERS = \
176 $(srcdir)/as.h \
177 $(srcdir)/bignum.h \
178 $(srcdir)/expr.h \
179 $(srcdir)/flonum.h \
180 $(srcdir)/frags.h \
181 $(srcdir)/hash.h \
182 $(srcdir)/input-file.h \
183 $(srcdir)/listing.h \
184 $(srcdir)/tc.h \
185 $(srcdir)/obj.h \
186 $(srcdir)/read.h \
187 $(srcdir)/struc-symbol.h \
188 $(srcdir)/subsegs.h \
189 $(srcdir)/symbols.h \
190 $(srcdir)/write.h \
191 $(srcdir)/ecoff.h
192
193 LINKED_HEADERS = \
194 targ-env.h \
195 targ-cpu.h \
196 obj-format.h \
197 atof-targ.h
198
199 HEADERS = $(LINKED_HEADERS) $(REAL_HEADERS)
200
201 # @target_frag@
202
203 OBJS = \
204 targ-cpu.o \
205 obj-format.o \
206 atof-targ.o \
207 app.o \
208 as.o \
209 atof-generic.o \
210 bignum-copy.o \
211 cond.o \
212 expr.o \
213 flonum-konst.o \
214 flonum-copy.o \
215 flonum-mult.o \
216 frags.o \
217 hash.o \
218 hex-value.o \
219 input-file.o \
220 input-scrub.o \
221 literal.o \
222 messages.o \
223 output-file.o \
224 read.o \
225 subsegs.o \
226 symbols.o \
227 write.o \
228 listing.o \
229 ecoff.o \
230 stabs.o \
231 xmalloc.o \
232 $(TE_OBJS)
233
234 # These are objects we know we'll be pulling in from other directories.
235 # For VMS, we have to build them explicitly.
236 VMS_OTHER_OBJS = \
237 ../libiberty/obstack.o \
238 ../libiberty/strdup.o \
239 ../libiberty/strncasecmp.o \
240 ../libiberty/getruntime.o
241
242 all: as.new gasp.new
243 @srcroot=`cd $(srcroot); pwd`; export srcroot; \
244 (cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
245
246 dvi info install-info clean-info:
247 @srcroot=`cd $(srcroot); pwd`; export srcroot; \
248 (cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@)
249
250 make-gas.com: stamp-mk.com
251 stamp-mk.com: vmsconf.sh Makefile
252 sh $(srcdir)/vmsconf.sh $(OBJS) $(VMS_OTHER_OBJS) > new-make.com
253 $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
254 touch stamp-mk.com
255
256 # Now figure out from those variables how to compile and link.
257
258 # This is the variable actually used when we compile.
259 ALL_CFLAGS = $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
260
261 # How to link with both our special library facilities
262 # and the system's installed libraries.
263
264 LIBS = @OPCODES_LIB@ @BFDLIB@ $(LOCAL_LOADLIBES) ../libiberty/libiberty.a
265
266 # Specify the directories to be searched for header files.
267 # Both . and srcdir are used, in that order,
268 # so that tm.h and config.h will be found in the compilation
269 # subdirectory rather than in the source directory.
270 INCLUDES = -I. -I$(srcdir) -I../bfd -I.. -I$(srcdir)/config -I$(srcdir)/../include -I$(srcdir)/..
271 SUBDIR_INCLUDES = -I.. -I$(srcdir) -I$(srcdir)/config
272
273 # Always use -I$(srcdir)/config when compiling.
274 .c.o:
275 $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $<
276
277 # This tells GNU make version 3 not to export all the variables
278 # defined in this file into the environment.
279 .NOEXPORT:
280
281 # Files to be copied away after each stage in building.
282 STAGESTUFF = *.o as.new gasp.new
283
284 $(OBJS): @ALL_OBJ_DEPS@
285
286 as.new: $(OBJS) $(LIBS)
287 $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES)
288
289 $(OBJS): config.h
290
291 gasp.new: gasp.o
292 $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o gasp.new gasp.o $(LIBS) $(LOADLIBES)
293
294 installcheck:
295 @echo No installcheck target is available yet for the GNU assembler.
296
297 check:
298 @(here=`pwd` ; export here ; \
299 cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $(CHECKFLAGS) check)
300
301 config.status: configure
302 if [ -r config.status ]; then \
303 sh $(srcdir)/config.status --recheck ; \
304 else \
305 echo You must configure gas. Look at the INSTALL file for details. ; \
306 exit 1 ; \
307 fi
308
309 configure: configure.in aclocal.m4 acconfig.h
310 (cd ${srcdir} && \
311 autoheader configure.in > conf-in.h && \
312 ../move-if-change conf-in.h conf.in)
313 (cd ${srcdir} && autoconf )
314
315 config.h: config-stamp ; @true
316 config-stamp: Makefile conf
317 -rm -f config.new config-stamp
318 echo '#ifndef GAS_VERSION' > config.new
319 echo '#define GAS_VERSION "$(VERSION)"' >> config.new
320 echo '' >> config.new
321 cat conf >> config.new
322 echo '#endif /* GAS_VERSION */' >> config.new
323 $(srcdir)/../move-if-change config.new config.h
324 touch config-stamp
325
326 # Compiling object files from source files.
327
328 gasp.o : gasp.c
329 app.o : app.c as.h targ-env.h obj-format.h \
330 targ-cpu.h struc-symbol.h \
331 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
332 as.o : as.c as.h targ-env.h obj-format.h output-file.h \
333 targ-cpu.h struc-symbol.h \
334 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h subsegs.h \
335 tc.h obj.h config.h
336 atof-generic.o : atof-generic.c as.h targ-env.h obj-format.h \
337 targ-cpu.h struc-symbol.h \
338 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
339 bignum-copy.o : bignum-copy.c as.h \
340 targ-env.h obj-format.h \
341 targ-cpu.h struc-symbol.h \
342 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
343 cond.o : cond.c as.h targ-env.h obj-format.h \
344 targ-cpu.h struc-symbol.h \
345 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
346
347 debug.o : debug.c as.h targ-env.h obj-format.h \
348 targ-cpu.h struc-symbol.h \
349 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
350 subsegs.h
351 expr.o : expr.c as.h targ-env.h obj-format.h \
352 targ-cpu.h struc-symbol.h \
353 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
354
355 flonum-konst.o : flonum-konst.c flonum.h bignum.h
356 flonum-copy.o : flonum-copy.c as.h targ-env.h obj-format.h \
357 targ-cpu.h struc-symbol.h \
358 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
359 flonum-mult.o : flonum-mult.c flonum.h bignum.h
360 frags.o : frags.c as.h targ-env.h obj-format.h \
361 targ-cpu.h struc-symbol.h \
362 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
363 subsegs.h
364 hash.o : hash.c as.h targ-env.h obj-format.h \
365 targ-cpu.h struc-symbol.h \
366 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
367 hex-value.o : hex-value.c
368 input-file.o : input-file.c as.h \
369 targ-env.h obj-format.h targ-cpu.h \
370 struc-symbol.h write.h flonum.h bignum.h expr.h \
371 frags.h hash.h read.h symbols.h tc.h obj.h input-file.h
372 input-scrub.o : input-scrub.c /usr/include/errno.h /usr/include/sys/errno.h \
373 as.h targ-env.h obj-format.h \
374 targ-cpu.h struc-symbol.h \
375 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
376 input-file.h
377 listing.o : listing.c as.h targ-env.h flonum.h bignum.h \
378 listing.h obj-format.h targ-cpu.h struc-symbol.h write.h expr.h \
379 frags.h hash.h read.h symbols.h tc.h obj.h input-file.h subsegs.h
380 literal.o : literal.c subsegs.h as.h targ-env.h obj-format.h \
381 targ-cpu.h struc-symbol.h \
382 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
383 messages.o : messages.c as.h targ-env.h obj-format.h \
384 targ-cpu.h struc-symbol.h \
385 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
386 output-file.o : output-file.c as.h targ-env.h obj-format.h \
387 targ-cpu.h struc-symbol.h \
388 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
389 output-file.h
390 read.o : read.c as.h targ-env.h obj-format.h \
391 targ-cpu.h struc-symbol.h \
392 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
393 subsegs.o : subsegs.c as.h targ-env.h obj-format.h \
394 targ-cpu.h struc-symbol.h \
395 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
396 subsegs.h
397 symbols.o : symbols.c as.h targ-env.h obj-format.h \
398 targ-cpu.h struc-symbol.h \
399 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
400 subsegs.h
401 write.o : write.c as.h targ-env.h obj-format.h \
402 targ-cpu.h struc-symbol.h \
403 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
404 subsegs.h output-file.h
405 ecoff.o : ecoff.c as.h targ-env.h obj-format.h \
406 targ-cpu.h struc-symbol.h \
407 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
408 ecoff.h $(srcdir)/../include/coff/internal.h \
409 $(srcdir)/../include/coff/sym.h $(srcdir)/../include/coff/ecoff.h \
410 $(srcdir)/../include/coff/symconst.h $(srcdir)/../include/aout/stab_gnu.h
411 stabs.o : stabs.c as.h targ-env.h obj-format.h \
412 targ-cpu.h struc-symbol.h \
413 write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \
414 subsegs.h $(srcdir)/../include/aout/stab_gnu.h
415 xmalloc.o : xmalloc.c
416 atof-targ.o : atof-targ.c as.h targ-env.h obj-format.h \
417 targ-cpu.h struc-symbol.h \
418 write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
419 symbols.h tc.h obj.h
420 obj-format.o : obj-format.c as.h targ-env.h obj-format.h \
421 targ-cpu.h struc-symbol.h \
422 write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
423 subsegs.h symbols.h tc.h obj.h
424 targ-cpu.o : targ-cpu.c config.h targ-env.h obj-format.h \
425 targ-cpu.h struc-symbol.h \
426 write.h flonum.h bignum.h expr.h frags.h hash.h read.h \
427 symbols.h tc.h obj.h $(TARG_CPU_DEPENDENTS)
428
429 # Remake the info files.
430
431 doc: $(srcdir)/as.info
432
433 $(srcdir)/as.info: $(srcdir)/doc/as.texinfo
434 @(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
435
436 clean-here:
437 -rm -f $(STAGESTUFF) core
438
439 clean mostlyclean: clean-here
440 @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
441 @if [ -d testsuite ] ; then \
442 cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
443 else true; fi
444
445 # Like clean but also delete the links made to configure gas.
446 distclean realclean: clean-here
447 @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
448 @if [ -d testsuite ] ; then \
449 cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
450 else true; fi
451 -rm -f config.status Makefile targ-env.h targ-cpu.h \
452 targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
453 config-stamp config.h conf config.log config.cache
454
455 # Entry points `install', `includes' and `uninstall'.
456
457 # Copy the files into directories where they will be run.
458 install:
459 srcroot=`cd $(srcroot); pwd`; export srcroot; \
460 $(INSTALL_XFORM) as.new $(bindir)/as; \
461 $(INSTALL_XFORM1) $(srcdir)/doc/as.1 $(man1dir)/as.1; \
462 n=`t='$(program_transform_name)'; echo as | sed -e "s/brokensed/brokensed/" $$t`; \
463 if [ -d $(tooldir) ]; then \
464 if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
465 rm -f $(tooldir)/bin/as; \
466 ln $(bindir)/$$n $(tooldir)/bin/as >/dev/null 2>/dev/null \
467 || $(INSTALL_PROGRAM) as.new $(tooldir)/bin/as; \
468 else true; fi
469 srcroot=`cd $(srcroot); pwd`; export srcroot; \
470 $(INSTALL_XFORM) gasp.new $(bindir)/gasp; \
471 n=`t='$(program_transform_name)'; echo gasp | sed -e "s/brokensed/brokensed/" $$t`; \
472 if [ -d $(tooldir) ]; then \
473 if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
474 rm -f $(tooldir)/bin/gasp; \
475 ln $(bindir)/$$n $(tooldir)/bin/gasp >/dev/null 2>/dev/null \
476 || $(INSTALL_PROGRAM) gasp.new $(tooldir)/bin/gasp; \
477 else true; fi
478
479 # Cancel installation by deleting the installed files.
480 uninstall:
481 -n=`t='$(program_transform_name)'; echo as | sed -e "s/brokensed/brokensed/" $$t`; \
482 rm -f $(bindir)/$$n; \
483 rm -f $(mandir)/$$n.1
484 -n=`t='$(program_transform_name)'; echo gasp | sed -e "s/brokensed/brokensed/" $$t`; \
485 rm -f $(bindir)/$$n; \
486
487 # These exist for maintenance purposes.
488
489 tags TAGS: force
490 etags $(REAL_HEADERS) $(REAL_SOURCES) $(srcdir)/config/*.[hc] $(srcdir)/README $(srcdir)/Makefile.in
491
492 bootstrap: as.new force
493 $(MAKE) stage1
494 $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
495 $(MAKE) stage2
496 $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
497 $(MAKE) comparison against=stage2
498
499 bootstrap2: force
500 $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
501 $(MAKE) stage2
502 $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
503 $(MAKE) comparison against=stage2
504
505 bootstrap3: force
506 $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
507 $(MAKE) comparison against=stage2
508
509 # Copy the object files from a particular stage into a subdirectory.
510 stage1: force
511 -mkdir stage1
512 -mv $(STAGESTUFF) stage1
513 if [ -f stage1/as.new -a ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
514
515 stage2: force
516 -mkdir stage2
517 -mv $(STAGESTUFF) stage2
518 if [ -f stage2/as.new -a ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
519
520 stage3: force
521 -mkdir stage3
522 -mv $(STAGESTUFF) stage3
523 if [ -f stage3/as.new -a ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
524
525 against=stage2
526
527 comparison: force
528 for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
529
530 de-stage1: force
531 - (cd stage1 ; rm -f as ; mv -f * ..)
532 - rmdir stage1
533
534 de-stage2: force
535 - (cd stage2 ; rm -f as ; mv -f * ..)
536 - rmdir stage2
537
538 de-stage3: force
539 - (cd stage3 ; rm -f as ; mv -f * ..)
540 - rmdir stage3
541
542 #In GNU Make, ignore whether `stage*' exists.
543 .PHONY: stage1 stage2 stage3 stage4 clean mostlyclean realclean distclean
544 .PHONY: TAGS bootstrap
545
546 force:
547
548 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
549 $(srcdir)/configure.in
550 $(SHELL) ./config.status
This page took 0.041857 seconds and 5 git commands to generate.