* monitor.c (monitor_write_memory, monitor_read_memory_single):
[deliverable/binutils-gdb.git] / Makefile.in
index dda19c40bc32039281cbba2a380b04cbccc1e7d1..17a3df056b84ff2743086c64ee8552481e9418d6 100644 (file)
@@ -28,7 +28,7 @@ tooldir = $(exec_prefix)/$(target)
 
 program_transform_name =
 
-datadir = $(prefix)/lib
+datadir = $(prefix)/share
 mandir = $(prefix)/man
 man1dir = $(mandir)/man1
 man2dir = $(mandir)/man2
@@ -41,7 +41,6 @@ man8dir = $(mandir)/man8
 man9dir = $(mandir)/man9
 infodir = $(prefix)/info
 includedir = $(prefix)/include
-docdir = $(datadir)/doc
 GDB_NLM_DEPS = 
 
 SHELL = /bin/sh
@@ -142,7 +141,8 @@ OTHERS =
 TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup
 
 # Target libraries are put under this directory:
-TARGET_SUBDIR = . # Changed by configure to $(target_alias) if cross.
+# Changed by configure to $(target_alias) if cross.
+TARGET_SUBDIR = .
 
 # This is set by the configure script to the arguments passed to configure.
 CONFIG_ARGUMENTS = 
@@ -412,6 +412,7 @@ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
 ALL_MODULES = \
        all-apache \
        all-autoconf \
+       all-bash \
        all-bfd \
        all-binutils \
        all-byacc \
@@ -431,6 +432,7 @@ ALL_MODULES = \
        all-gzip \
        all-hello \
        all-indent \
+       all-inet \
        all-ispell \
        all-ld \
        all-libiberty \
@@ -458,8 +460,6 @@ ALL_MODULES = \
        all-uudecode \
        all-wdiff 
 
-# This is a list of the check targets for all of the modules which are
-# compiled using $(FLAGS_TO_PASS).
 # This is a list of the check targets for all of the modules which are
 # compiled using $(FLAGS_TO_PASS).
 #
@@ -473,6 +473,7 @@ NATIVE_CHECK_MODULES = \
 CROSS_CHECK_MODULES = \
        check-apache \
        check-autoconf \
+       check-bash \
        check-bfd \
        check-binutils \
        check-cvs \
@@ -488,6 +489,7 @@ CROSS_CHECK_MODULES = \
        check-gzip \
        check-hello \
        check-indent \
+       check-inet \
        check-ispell \
        check-ld \
        check-libiberty \
@@ -521,6 +523,7 @@ CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
 INSTALL_MODULES = \
        install-apache \
        install-autoconf \
+       install-bash \
        install-bfd \
        install-binutils \
        install-byacc \
@@ -540,6 +543,7 @@ INSTALL_MODULES = \
        install-gzip \
        install-hello \
        install-indent \
+       install-inet \
        install-ispell \
        install-ld \
        install-libiberty \
@@ -650,7 +654,9 @@ INSTALL_TARGET_MODULES = \
 
 # This is a list of the targets for which we can do a clean-{target}.
 CLEAN_MODULES = \
+       clean-apache \
        clean-autoconf \
+       clean-bash \
        clean-bfd \
        clean-binutils \
        clean-byacc \
@@ -670,6 +676,7 @@ CLEAN_MODULES = \
        clean-gzip \
        clean-hello \
        clean-indent \
+       clean-inet \
        clean-ispell \
        clean-ld \
        clean-libiberty \
@@ -850,6 +857,7 @@ $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
 .PHONY: $(CLEAN_TARGET_MODULES)
 $(CLEAN_TARGET_MODULES):
        @dir=`echo $@ | sed -e 's/clean-target-//'`; \
+       rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
        if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
          r=`pwd`; export r; \
          srcroot=`cd $(srcdir); pwd`; export srcroot; \
@@ -903,6 +911,11 @@ install.all: install-no-fixedincludes
                true ; \
        fi
 
+# inet-install is used because the I*Net wants DejaGNU installed but
+# not built.
+inet-install:
+       $(MAKE) INSTALL_MODULES="`echo $(INSTALL_MODULES) | sed -e 's/install-dejagnu//'`" install
+
 # install-no-fixedincludes is used because Cygnus can not distribute
 # the fixed header files.
 .PHONY: install-no-fixedincludes
@@ -999,6 +1012,21 @@ $(INSTALL_MODULES): install-dirs
 # target tools.
 .PHONY: $(CONFIGURE_TARGET_MODULES)
 $(CONFIGURE_TARGET_MODULES):
+       @dir=`echo $@ | sed -e 's/configure-target-//'`; \
+       if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \
+         $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
+         if [ -f $(TARGET_SUBDIR)/$${dir}/multilib.out ]; then \
+           if cmp $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out > /dev/null; then \
+             rm -f $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
+           else \
+             echo "Multilibs changed for $${dir}, reconfiguring"; \
+             rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/Makefile; \
+             mv $(TARGET_SUBDIR)/$${dir}/tmpmulti.out $(TARGET_SUBDIR)/$${dir}/multilib.out; \
+           fi; \
+         else \
+           mv $(TARGET_SUBDIR)/$${dir}/tmpmulti.out $(TARGET_SUBDIR)/$${dir}/multilib.out; \
+         fi; \
+       fi; exit 0      # break command into two pieces
        @dir=`echo $@ | sed -e 's/configure-target-//'`; \
        if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
          true; \
@@ -1225,6 +1253,7 @@ install-dosrel-fake:
 # This is a list of inter-dependencies among modules.
 all-apache:
 all-autoconf: all-m4
+all-bash:
 all-bfd:
 all-binutils: all-libiberty all-opcodes all-bfd all-flex all-byacc
 all-byacc:
@@ -1256,6 +1285,7 @@ all-guile:
 all-gzip: all-libiberty
 all-hello: all-libiberty
 all-indent:
+all-inet: all-tcl all-send-pr all-perl
 all-ispell: all-emacs19
 all-ld: all-libiberty all-bfd all-opcodes all-byacc all-flex
 configure-target-libg++: $(ALL_GCC) configure-target-librx
@@ -1306,9 +1336,7 @@ install-target: $(INSTALL_TARGET_MODULES)
 
 MAKEDIRS= \
        $(prefix) \
-       $(exec_prefix) \
-       $(tooldir)
-
+       $(exec_prefix)
 .PHONY: install-dirs
 install-dirs:
        @for i in $(MAKEDIRS) ; do \
@@ -1436,10 +1464,13 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
            <configure.in >proto-toplev/configure.in
        #
        mkdir proto-toplev/texinfo
-       ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
-       ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
-       ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/
-       ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
+       ln -s ../../texinfo/texinfo.tex         proto-toplev/texinfo/
+       ln -s ../../texinfo/gpl.texinfo         proto-toplev/texinfo/
+       ln -s ../../texinfo/lgpl.texinfo        proto-toplev/texinfo/
+       if test -r texinfo/util/tex3patch ; then \
+         mkdir proto-toplev/texinfo/util && \
+         ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \
+       else true; fi
        chmod og=u `find . -print`
        (VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
                echo "==> Making $(TOOL)-$$VER.tar.gz"; \
This page took 0.028112 seconds and 4 git commands to generate.