diff options
author | Stu Grossman <grossman@cygnus> | 1996-09-05 01:16:22 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-09-05 01:16:22 +0000 |
commit | 1852b017b875a18025729aa5263ed3c18ed8625f (patch) | |
tree | 24b92a3945861d7f5722a6ba73e910f0d80b73ba /sim/erc32/Makefile.in | |
parent | 4a1df52b1b65361daf2f1cb64ec599478e70077d (diff) | |
download | gdb-1852b017b875a18025729aa5263ed3c18ed8625f.zip gdb-1852b017b875a18025729aa5263ed3c18ed8625f.tar.gz gdb-1852b017b875a18025729aa5263ed3c18ed8625f.tar.bz2 |
* 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.
Diffstat (limited to 'sim/erc32/Makefile.in')
-rw-r--r-- | sim/erc32/Makefile.in | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in index 5f93c8c..aea2afe 100644 --- a/sim/erc32/Makefile.in +++ b/sim/erc32/Makefile.in @@ -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 |