aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1997-11-20 12:20:39 +0000
committerGeoffrey Noer <noer@cygnus>1997-11-20 12:20:39 +0000
commit98fa4ade2c626a10a51e98ff884f60a6af4c8d0d (patch)
tree62e1539518c89dacb0819b5c2c2a070acef641ed /gdb/Makefile.in
parent232156dee9f4c303e3ab320a5cb8a868ece8b0f4 (diff)
downloadgdb-98fa4ade2c626a10a51e98ff884f60a6af4c8d0d.zip
gdb-98fa4ade2c626a10a51e98ff884f60a6af4c8d0d.tar.gz
gdb-98fa4ade2c626a10a51e98ff884f60a6af4c8d0d.tar.bz2
Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
* aclocal.m4: add EXEEXT setting rule * configure.in: call it * configure: regenerate * Makefile.in: pepper with EXEEXTs in appropriate places, set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ca6d8af..99a8bbb 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -41,7 +41,8 @@ man9dir = $(mandir)/man9
infodir = @infodir@
includedir = @includedir@
-SHELL = /bin/sh
+SHELL = @SHELL@
+EXEEXT = @EXEEXT@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -571,7 +572,7 @@ install-only:
else \
true ; \
fi ; \
- $(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
+ $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \
$(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
# start-sanitize-gdbtk
if [ x"$(ENABLE_GDBTK)" != x ] ; then \
@@ -653,8 +654,8 @@ init.c: $(OBS) $(TSOBS)
# Removing the old gdb first works better if it is running, at least on SunOS.
gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
- rm -f gdb
- $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb \
+ rm -f gdb$(EXEEXT)
+ $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \
init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
nlm: force
@@ -705,8 +706,8 @@ stop-gdb: stop-gdb.o
# Removing gdb1 before the copy is the right thing if gdb1 is open
# in another process.
gdb1: gdb
- rm -f gdb1
- cp gdb gdb1
+ rm -f gdb1$(EXEEXT)
+ cp gdb$(EXEEXT) gdb1$(EXEEXT)
### fixme - this can't be right.
# This checks the configure.in file versus the config/ directory.