aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-09-13 22:27:20 +0000
committerKen Raeburn <raeburn@cygnus>1994-09-13 22:27:20 +0000
commit28d3e4a3f8aa6dbded562b67cedb3ad15474565d (patch)
treea26a572362a0f9e2becdbc262ca5f63ac41641ae /gas/Makefile.in
parent0b3499f6721808b2f676a8caf8744002447c00b2 (diff)
downloadgdb-28d3e4a3f8aa6dbded562b67cedb3ad15474565d.zip
gdb-28d3e4a3f8aa6dbded562b67cedb3ad15474565d.tar.gz
gdb-28d3e4a3f8aa6dbded562b67cedb3ad15474565d.tar.bz2
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): Rewrite
handling of program_transform_name. * configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if only the latter is found. Not expected to be triggered on UNIX/POSIX systems. * acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments. Update for autoconf 1.118: * gdbinit.in: New file, created from old .gdbinit. * .gdbinit: Deleted. * aclocal.m4 (GAS_GDBINIT): Deleted. * configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in. Don't substitute cpu_type, obj_format, emulation, atof. Switched order of AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of autoconf aren't used. * Makefile.in: Added @configure_input@ line. (configure): Deleted rule. [regenerated conf.in, configure]
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in20
1 files changed, 8 insertions, 12 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index c1aae96..94b4e24 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -1,3 +1,4 @@
+## @configure_input@
# Makefile for GNU Assembler
# Copyright (C) 1987-1992, 1993 Free Software Foundation, Inc.
@@ -59,7 +60,7 @@ SHELL = /bin/sh
INSTALL = $${srcroot}/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
-INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
+INSTALL_XFORM = $(INSTALL) -t='-e "$(program_transform_name)"'
INSTALL_XFORM1= $(INSTALL_XFORM) -b=.1
AR = ar
@@ -82,10 +83,11 @@ CC_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
- t='$(program_transform_name)'; echo gcc | sed $$t; \
+ echo gcc | sed '$(program_transform_name)'; \
fi; \
fi`
+NM=nm
NM_FOR_TARGET = ` \
if [ -f $${here}/../binutils/Makefile ] ; then \
echo $${here}/../binutils/nm ; \
@@ -93,7 +95,7 @@ NM_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(NM); \
else \
- t='$(program_transform_name)'; echo nm | sed $$t ; \
+ echo nm | sed '$(program_transform_name)' ; \
fi; \
fi`
@@ -105,7 +107,7 @@ OBJDUMP_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(OBJDUMP); \
else \
- t='$(program_transform_name)'; echo objdump | sed $$t ; \
+ echo objdump | sed '$(program_transform_name)' ; \
fi; \
fi`
@@ -307,12 +309,6 @@ config.status: configure
exit 1 ; \
fi
-configure: configure.in aclocal.m4 acconfig.h
- (cd ${srcdir} && \
- autoheader configure.in > conf-in.h && \
- ../move-if-change conf-in.h conf.in)
- (cd ${srcdir} && autoconf )
-
config.h: config-stamp ; @true
config-stamp: Makefile conf
-rm -f config.new config-stamp
@@ -461,7 +457,7 @@ install:
srcroot=`cd $(srcroot); pwd`; export srcroot; \
$(INSTALL_XFORM) as.new $(bindir)/as; \
$(INSTALL_XFORM1) $(srcdir)/doc/as.1 $(man1dir)/as.1; \
- n=`t='$(program_transform_name)'; echo as | sed $$t`; \
+ n=`echo as | sed '$(program_transform_name)'`; \
if [ -d $(tooldir) ]; then \
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
rm -f $(tooldir)/bin/as; \
@@ -470,7 +466,7 @@ install:
else true; fi
srcroot=`cd $(srcroot); pwd`; export srcroot; \
$(INSTALL_XFORM) gasp.new $(bindir)/gasp; \
- n=`t='$(program_transform_name)'; echo gasp | sed $$t`; \
+ n=`echo gasp | sed '$(program_transform_name)' `; \
if [ -d $(tooldir) ]; then \
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
rm -f $(tooldir)/bin/gasp; \