Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
[deliverable/binutils-gdb.git] / gas / Makefile.in
index 7473c7e038a98f8651fefad4bc1d99be06f73cd1..332e9d812a463947251ed4936d1cf1de35916751 100644 (file)
@@ -19,7 +19,7 @@
 
 # The targets for external use include:
 # all, doc, proto, install, uninstall, includes, TAGS,
-# clean, cleanconfig, realclean, stage1, stage2, stage3, stage4.
+# clean, mostlyclean, distclean, realclean, stage1, stage2, stage3, stage4.
 
 # Variables that exist for you to override.
 # See below for how to change them for certain systems.
@@ -50,7 +50,7 @@ infodir = $(prefix)/info
 includedir = $(prefix)/include
 docdir = $(datadir)/doc
 
-VERSION=cygnus-2.2.1
+VERSION=cygnus-2.3.1
 
 SHELL = /bin/sh
 
@@ -294,7 +294,7 @@ gasp.new: gasp.o
 installcheck:
        @echo No installcheck target is available yet for the GNU assembler.
 
-check: as.new
+check:
        @(here=`pwd` ; export here ; \
          cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $(CHECKFLAGS) check)
 
@@ -311,7 +311,9 @@ config-stamp: Makefile
        echo '#define TARGET_CANONICAL "$(target_canonical)"' >> config.new
        echo '#define GAS_VERSION      "$(VERSION)"'          >> config.new
        if [ "$(defs)" != "" ]; then \
-         echo '#define $(defs)'                              >> config.new ; \
+         for d in $(defs) ; do \
+           echo "#define $$d"                                >> config.new ; \
+         done ; \
        else true; fi
        echo '#endif /* TARGET_CPU */'                        >> config.new
        $(srcdir)/../move-if-change config.new config.h
@@ -430,17 +432,17 @@ $(srcdir)/as.info: $(srcdir)/doc/as.texinfo
 clean-here:
        -rm -f $(STAGESTUFF) core
 
-clean: clean-here
-       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) clean
+clean mostlyclean: clean-here
+       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
        @if [ -d testsuite ] ; then \
-         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) clean ; \
+         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
        else true; fi
 
 # Like clean but also delete the links made to configure gas.
-distclean: clean-here
-       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) distclean
+distclean realclean: clean-here
+       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
        @if [ -d testsuite ] ; then \
-         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) distclean ; \
+         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
        else true; fi
        -rm -f config.status Makefile host.h targ-env.h targ-cpu.h \
                targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
@@ -457,7 +459,7 @@ install:
        if [ -d $(tooldir) ]; then \
          if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
          rm -f $(tooldir)/bin/as; \
-         ln $(bindir)/$$n $(tooldir)/bin/as \
+         ln $(bindir)/$$n $(tooldir)/bin/as >/dev/null 2>/dev/null \
           || $(INSTALL_PROGRAM) as.new $(tooldir)/bin/as; \
        else true; fi
        srcroot=`cd $(srcroot); pwd`; export srcroot; \
@@ -466,8 +468,8 @@ install:
        if [ -d $(tooldir) ]; then \
          if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
          rm -f $(tooldir)/bin/gasp; \
-         ln $(bindir)/$$n $(tooldir)/bin/gasp \
-          || $(INSTALL_PROGRAM) gasp $(tooldir)/bin/gasp; \
+         ln $(bindir)/$$n $(tooldir)/bin/gasp >/dev/null 2>/dev/null \
+          || $(INSTALL_PROGRAM) gasp.new $(tooldir)/bin/gasp; \
        else true; fi
 
 # Cancel installation by deleting the installed files.
@@ -482,22 +484,22 @@ uninstall:
 
 tags TAGS: force
        etags $(REAL_HEADERS) $(REAL_SOURCES) $(srcdir)/config/*.[hc] $(srcdir)/README $(srcdir)/Makefile.in
-       
+
 bootstrap: as.new force
        $(MAKE) stage1
-       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new
+       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
        $(MAKE) stage2
-       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new
+       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
        $(MAKE) comparison against=stage2
 
 bootstrap2: force
-       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new
+       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage1/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
        $(MAKE) stage2
-       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new
+       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
        $(MAKE) comparison against=stage2
 
 bootstrap3: force
-       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new
+       $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage2/ $(CFLAGS)" libdir=$(libdir) ALLOCA= as.new gasp.new
        $(MAKE) comparison against=stage2
 
 # Copy the object files from a particular stage into a subdirectory.
@@ -534,7 +536,8 @@ de-stage3: force
        - rmdir stage3
 
 #In GNU Make, ignore whether `stage*' exists.
-.PHONY: stage1 stage2 stage3 stage4 clean realclean TAGS bootstrap
+.PHONY: stage1 stage2 stage3 stage4 clean mostlyclean realclean distclean
+.PHONY: TAGS bootstrap
 
 force:
 
This page took 0.026147 seconds and 4 git commands to generate.