]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* Makefile.in erc32/Makefile.in: Don't set srcroot. This should
authorStu Grossman <grossman@cygnus>
Thu, 5 Sep 1996 01:16:22 +0000 (01:16 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 5 Sep 1996 01:16:22 +0000 (01:16 +0000)
be inherited from the parent.  Remove INSTALL_XFORM and
INSTALL_XFORM1.  Make INSTALL be set from configure.

sim/ChangeLog
sim/erc32/Makefile.in

index 65af2abeeb886bcae70f83efc6f840e7cb98bde5..1d186627bf3f51fe52c71dccb90074f957bf4f92 100644 (file)
@@ -1,3 +1,9 @@
+Wed Sep  4 18:11:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Makefile.in erc32/Makefile.in:  Don't set srcroot.  This should
+       be inherited from the parent.  Remove INSTALL_XFORM and
+       INSTALL_XFORM1.  Make INSTALL be set from configure.
+
 Wed Sep  4 15:49:16 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.in: Only build the MIPS simulator if we are using
index 5f93c8c2f0767a1d0ba0e7feae309755e4a9dd9f..aea2afe425d4cdcdf32f858975eb7975ba5b1b6b 100644 (file)
@@ -19,7 +19,6 @@
 
 VPATH = @srcdir@
 srcdir = @srcdir@
-srcroot = $(srcdir)/../../
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
@@ -27,12 +26,12 @@ exec_prefix = @exec_prefix@
 host_alias = @host_alias@
 target_alias = @target_alias@
 program_transform_name = @program_transform_name@
-bindir = $(exec_prefix)/bin
-libdir = $(exec_prefix)/lib
+bindir = @bindir@
+libdir = @libdir@
 tooldir = $(exec_prefix)/$(target_alias)
 
-datadir = $(prefix)/lib
-mandir = $(prefix)/man
+datadir = @datadir@
+mandir = @mandir@
 man1dir = $(mandir)/man1
 man2dir = $(mandir)/man2
 man3dir = $(mandir)/man3
@@ -42,16 +41,14 @@ man6dir = $(mandir)/man6
 man7dir = $(mandir)/man7
 man8dir = $(mandir)/man8
 man9dir = $(mandir)/man9
-infodir = $(prefix)/info
-includedir = $(prefix)/include
-oldincludedir =
-docdir = $(srcdir)/doc
+infodir = @infodir@
+includedir = @includedir@
 
 SHELL = /bin/sh
 
-INSTALL = $${srcroot}/install.sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
 INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
 
@@ -187,18 +184,16 @@ force:
 
 # Copy the files into directories where they will be run.
 install:
-       srcroot=`cd $(srcroot); pwd`; export srcroot; \
        $(INSTALL_XFORM) sis $(bindir)/sis ;  \
        n=`echo sis | sed '$(program_transform_name)'`; \
-       if [ -d $(tooldir) ] ; then \
-         if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
-         rm -f $(bindir)/sis;  \
-         ln $(bindir)/$$n $(bindir)/sis \
-           || $(INSTALL_PROGRAM) sis $(bindir)/sis; \
-         rm -f $(tooldir)/bin/sis;  \
-         ln $(bindir)/$$n $(tooldir)/bin/sis \
-           || $(INSTALL_PROGRAM) sis $(tooldir)/bin/sis; \
-       true; fi
+       rm -f $(bindir)/sis;  \
+       ln $(bindir)/$$n $(bindir)/sis \
+         || $(INSTALL_PROGRAM) sis $(bindir)/sis; \
+       test -d $(tooldir) || mkdir $(tooldir); \
+       test -d $(tooldir)/bin || mkdir $(tooldir)/bin; \
+       rm -f $(tooldir)/bin/sis;  \
+       ln $(bindir)/$$n $(tooldir)/bin/sis \
+         || $(INSTALL_PROGRAM) sis $(tooldir)/bin/sis; \
 
 
 Makefile: $(srcdir)/Makefile.in