tc-m68k.c change
[deliverable/binutils-gdb.git] / Makefile.in
index 1452ba7205a9c6a7142da2215270ccf5cd92e776..8411f8b8e9ab21c9debad392b0f9dad179f0cf65 100644 (file)
@@ -65,7 +65,6 @@ RANLIB = ranlib
 NM = nm
 MUNCH_NM = $(NM)
 GZIP = gzip
-COMPRESS = compress
 
 # BISON: This line sed'ed to BISON = bison -y for FSF releases, don't remove.
 BISON = `if [ -f $${rootme}/byacc/byacc ] ; \
@@ -227,14 +226,13 @@ BASE_FLAGS_TO_PASS = \
        "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
        "CXXFLAGS=$(CXXFLAGS)" \
        "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
-       "GCC_FOR_TARGET=$$(CC_FOR_TARGET)" \
+       "GCC_FOR_TARGET=$(CC_FOR_TARGET)" \
        "INSTALL=$(INSTALL)" \
        "INSTALL_DATA=$(INSTALL_DATA)" \
        "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
        "INSTALL_XFORM=$(INSTALL_XFORM)" \
        "LDFLAGS=$(LDFLAGS)" \
        "LEX=$(LEX)" \
-       "LOADLIBES=$(LOADLIBES)" \
        "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
        "MUNCH_NM=$(MUNCH_NM)" \
        "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
@@ -317,6 +315,7 @@ ALL_MODULES = \
        all-cvs \
        all-dejagnu \
        all-diff \
+       all-dosutils \
        all-etc \
        all-fileutils \
        all-find \
@@ -480,6 +479,7 @@ ALL_TARGET_MODULES = \
        $(start-sanitize-chill) \
        all-chillrt \
        $(end-sanitize-chill) \
+       all-libio \
        all-libg++ \
        all-newlib \
        all-xiberty
@@ -490,6 +490,7 @@ CHECK_TARGET_MODULES = \
        $(start-sanitize-chill) \
        check-chillrt \
        $(end-sanitize-chill) \
+       check-libio \
        check-libg++ \
        check-newlib \
        check-xiberty
@@ -500,15 +501,16 @@ INSTALL_TARGET_MODULES = \
        $(start-sanitize-chill) \
        install-chillrt \
        $(end-sanitize-chill) \
+       install-libio \
        install-libg++ \
        install-newlib \
        install-xiberty
 
 # This is a shell case of all modules which are compiled using
 # $(TARGET_FLAGS_TO_PASS), used in the do-X rule.
-TARGET_LIBS = libg++ | newlib | xiberty
+TARGET_LIBS = libio | libg++ | newlib | xiberty
 # start-sanitize-chill
-TARGET_LIBS = chillrt | libg++ | newlib | xiberty
+TARGET_LIBS = chillrt | libio | libg++ | newlib | xiberty
 # end-sanitize-chill
 
 # The first rule in the file had better be this one.  Don't put any above it.
@@ -837,13 +839,13 @@ all-gcc: all-libiberty all-byacc all-binutils all-gas
 all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim
 all-glob:
 all-gprof: all-libiberty all-bfd
-all-grep:
+all-grep: all-libiberty
 all-gzip: all-libiberty
 all-hello: all-libiberty
 all-indent:
 all-ispell: all-emacs
 all-ld: all-libiberty all-bfd all-byacc all-flex
-all-libg++: all-gas all-ld all-gcc all-xiberty all-newlib
+all-libg++: all-gas all-ld all-gcc all-xiberty all-newlib all-libio
 all-libiberty:
 all-m4: all-libiberty
 all-make: all-libiberty
@@ -851,12 +853,12 @@ all-mmalloc:
 all-newlib: all-binutils all-gas all-gcc
 all-opcodes: all-bfd
 all-patch:
-all-prms:
+all-prms: all-libiberty
 all-rcs:
 all-readline:
 all-recode: all-libiberty
-all-sed:
-all-send-pr:
+all-sed: all-libiberty
+all-send-pr: all-prms
 all-shellutils:
 all-sim: all-libiberty all-bfd
 all-tar: all-libiberty
@@ -882,7 +884,7 @@ MAKEDIRS= \
 install-dirs:
        @for i in $(MAKEDIRS) ; do \
                echo Making $$i... ; \
-               parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \
+               parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
                if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
                if [ ! -d $$i ] ; then \
                        if mkdir $$i ; then \
@@ -927,33 +929,41 @@ ls:
 
 # with the gnu make, this is done automatically.
 
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
+Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
        $(SHELL) ./config.status
 
 #
-# Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
+# Support for building net releases
 
+# Files in devo used in any net release.
+# ChangeLog omitted because it may refer to files which are not in this
+# distribution (perhaps it would be better to include it anyway).
 DEVO_SUPPORT= README Makefile.in configure configure.in \
        config.guess config.sub config move-if-change \
        COPYING COPYING.LIB install.sh
+
+# Files in devo/etc used in any net release.
+# ChangeLog omitted because it may refer to files which are not in this
+# distribution (perhaps it would be better to include it anyway).
 ETC_SUPPORT= Makefile.in cfg-paper.texi configure.in configure.man \
        configure.texi standards.texi make-stds.texi
+
 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob sim
 GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS)
 
-.PHONY: setup-dirs-gdb gdb.tar.Z make-gdb.tar.Z
+.PHONY: setup-dirs-gdb gdb.tar.gz make-gdb.tar.gz
 setup-dirs-gdb:
        ./configure sun4
        $(MAKE) clean
        ./configure -rm sun4
        chmod og=u `find etc $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
 
-gdb.tar.Z: setup-dirs-gdb
+gdb.tar.gz: setup-dirs-gdb
        (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir BISON="byacc")
        (cd gdb; $(MAKE) -f Makefile.in make-proto-testsuite.dir)
-       $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
+       $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.gz
 
-make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
+make-gdb.tar.gz: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
        rm -rf proto-toplev; mkdir proto-toplev
        ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
        (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
@@ -971,6 +981,12 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
        rm                          proto-toplev/readline/COPYING
        ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
 
+       # Change the bug reporting address in configure to bug-gdb
+       rm proto-toplev/configure
+       sed -e 's/configure@cygnus.com/bug-gdb@prep.ai.mit.edu/' \
+           <configure >proto-toplev/configure
+       chmod a+x proto-toplev/configure
+
        # Take out texinfo and glob from configurable dirs
        rm proto-toplev/configure.in
        sed -e '/^host_tools=/s/texinfo //' \
@@ -987,14 +1003,14 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
 
        mkdir proto-toplev/texinfo
        ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
+       ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
        ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
        chmod og=u `find proto-toplev -print`
        (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
-               ln -s proto-toplev gdb-$$VER; \
-               echo "==> Making gdb-$$VER.tar.Z"; \
-               tar cfh - gdb-$$VER | $(COMPRESS) -v >gdb-$$VER.tar.Z; \
                echo "==> Making gdb-$$VER.tar.gz"; \
-               tar cfh - gdb-$$VER | $(GZIP) -v -9 >gdb-$$VER.tar.gz)
+               rm -f gdb-$$VER; ln -s proto-toplev gdb-$$VER; \
+               tar cfh - gdb-$$VER \
+               | $(GZIP) -v -9 >gdb-$$VER.tar.gz)
 
        # Make the testsuite archive separately.
        ln -s ../../gdb/proto-testsuite.dir/testsuite proto-toplev/gdb/testsuite
@@ -1006,16 +1022,11 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
        ln proto-toplev/gdb/COPYING proto-toplev/gdb/testsuite/COPYING
        chmod og=u `find proto-toplev/gdb/testsuite -print`
        (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
-               echo "==> Making gdb-$$VER-testsuite.tar.Z"; \
-               tar cfh - gdb-$$VER/configure gdb-$$VER/config.guess \
-                       gdb-$$VER/config.sub gdb-$$VER/move-if-change \
-                       gdb-$$VER/gdb/testsuite | \
-                       $(COMPRESS) -v >gdb-$$VER-testsuite.tar.Z; \
                echo "==> Making gdb-$$VER-testsuite.tar.gz"; \
                tar cfh - gdb-$$VER/configure gdb-$$VER/config.guess \
                        gdb-$$VER/config.sub gdb-$$VER/move-if-change \
-                       gdb-$$VER/gdb/testsuite \
-                       $(GZIP) -v -9 >gdb-$$VER-testsuite.tar.gz)
+                       gdb-$$VER/gdb/testsuite \
+                       $(GZIP) -v -9 >gdb-$$VER-testsuite.tar.gz)
 
 # When you use `make setup-dirs' or `make taz' you should always redefine
 # this macro.
This page took 0.051281 seconds and 4 git commands to generate.