aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-08 18:32:37 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-08 18:32:37 +0000
commit21852576ffe6365d6cba071699630cbb65621fc2 (patch)
tree5ede118529b32810c512d86e32d5ee2a30c76296 /sim/sh/Makefile.in
parentc64dfabd074aa77d7814bb532a1ad07592db5ae3 (diff)
downloadgdb-21852576ffe6365d6cba071699630cbb65621fc2.zip
gdb-21852576ffe6365d6cba071699630cbb65621fc2.tar.gz
gdb-21852576ffe6365d6cba071699630cbb65621fc2.tar.bz2
* configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (CC_FOR_BUILD): Restore. (gencode): Build using $(CC_FOR_BUILD). (install): Don't install in $(tooldir).
Diffstat (limited to 'sim/sh/Makefile.in')
-rw-r--r--sim/sh/Makefile.in18
1 files changed, 8 insertions, 10 deletions
diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in
index 839fdc7..2b9cdf3 100644
--- a/sim/sh/Makefile.in
+++ b/sim/sh/Makefile.in
@@ -48,9 +48,11 @@ docdir = $(datadir)/doc
SHELL = /bin/sh
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
+INSTALL = $(srcroot)/install.sh -c
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL)
+INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
+INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
AR = @AR@
AR_FLAGS = rc
@@ -59,6 +61,7 @@ CFLAGS = @CFLAGS@
BISON = bison
MAKEINFO = makeinfo
RANLIB = @RANLIB@
+CC_FOR_BUILD = @CC_FOR_BUILD@
HDEFINES = @HDEFINES@
TDEFINES =
@@ -97,7 +100,7 @@ table.c:gencode
# indent table.c
gencode:gencode.c
- $(CC) -o gencode $(srcdir)/gencode.c
+ $(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c
.c.o:
$(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $<
@@ -127,12 +130,7 @@ force:
# Copy the files into directories where they will be run.
install:
- srcroot=`cd $(srcroot); pwd`; export srcroot; \
- n=`t='$(program_transform_name)'; echo run | sed -e "" $$t`; \
- $(INSTALL_PROGRAM) run $(bindir)/$$n ; \
- rm -f $(tooldir)/bin/run; \
- ln $(bindir)/$$n $(tooldir)/bin/run \
- || (INSTALL_PROGRAM) run $(tooldir)/bin/run; \
+ $(INSTALL_XFORM) run $(bindir)/run
install-man: run.1
$(INSTALL_XFORM1) $(srcdir)/run.1 $(man1dir)/run.1