mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* Makefile.in (distclean): Delete config-stamp and config.h
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
Tue Nov 9 00:49:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Tue Nov 9 00:49:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* Makefile.in (distclean): Delete config-stamp and config.h
|
||||||
|
|
||||||
* config/tc-hppa.c (evaluate_absolute): Avoid relying on
|
* config/tc-hppa.c (evaluate_absolute): Avoid relying on
|
||||||
ANSI-C features.
|
ANSI-C features.
|
||||||
|
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
# Makefile for GNU Assembler
|
# Makefile for GNU Assembler
|
||||||
# Copyright (C) 1987-1992 Free Software Foundation, Inc.
|
# Copyright (C) 1987-1992, 1993 Free Software Foundation, Inc.
|
||||||
|
|
||||||
#This file is part of GNU GAS.
|
# This file is part of GNU GAS.
|
||||||
|
|
||||||
#GNU GAS is free software; you can redistribute it and/or modify
|
# GNU GAS is free software; you can redistribute it and/or modify
|
||||||
#it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
#the Free Software Foundation; either version 2, or (at your option)
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
#any later version.
|
# any later version.
|
||||||
|
|
||||||
#GNU GAS is distributed in the hope that it will be useful,
|
# GNU GAS is distributed in the hope that it will be useful,
|
||||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
#GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
#You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
#along with GNU GAS; see the file COPYING. If not, write to
|
# along with GNU GAS; see the file COPYING. If not, write to
|
||||||
#the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
# The targets for external use include:
|
# The targets for external use include:
|
||||||
# all, doc, proto, install, uninstall, includes, TAGS,
|
# all, doc, proto, install, uninstall, includes, TAGS,
|
||||||
@ -25,6 +25,7 @@
|
|||||||
# See below for how to change them for certain systems.
|
# See below for how to change them for certain systems.
|
||||||
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
|
srcroot = $(srcdir)/..
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
|
|
||||||
@ -53,7 +54,7 @@ VERSION=2.1.4
|
|||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
|
INSTALL = $${srcroot}/install.sh -c
|
||||||
INSTALL_PROGRAM = $(INSTALL)
|
INSTALL_PROGRAM = $(INSTALL)
|
||||||
INSTALL_DATA = $(INSTALL)
|
INSTALL_DATA = $(INSTALL)
|
||||||
INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
|
INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
|
||||||
@ -67,6 +68,8 @@ TEXI2DVI = texi2dvi
|
|||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
|
|
||||||
|
MAKEOVERRIDES=
|
||||||
|
|
||||||
AS_FOR_TARGET = $${here}/as.new
|
AS_FOR_TARGET = $${here}/as.new
|
||||||
|
|
||||||
CC_FOR_TARGET = ` \
|
CC_FOR_TARGET = ` \
|
||||||
@ -125,7 +128,8 @@ CHECKFLAGS= \
|
|||||||
"AS_FOR_TARGET=$(AS_FOR_TARGET)" \
|
"AS_FOR_TARGET=$(AS_FOR_TARGET)" \
|
||||||
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
||||||
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
||||||
"OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)"
|
"OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
|
||||||
|
"RUNTEST_FLAGS=$(RUNTEST_FLAGS)"
|
||||||
|
|
||||||
# Lists of files for various purposes.
|
# Lists of files for various purposes.
|
||||||
|
|
||||||
@ -219,16 +223,12 @@ OBJS = \
|
|||||||
#### host, target, and site specific Makefile frags come in here.
|
#### host, target, and site specific Makefile frags come in here.
|
||||||
|
|
||||||
all: as.new
|
all: as.new
|
||||||
@(cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
|
@srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
||||||
|
(cd doc ; $(MAKE) $(FLAGS_TO_PASS) all)
|
||||||
|
|
||||||
dvi info:
|
dvi info install-info clean-info:
|
||||||
@(cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@)
|
@srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
||||||
|
(cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@)
|
||||||
install-info:
|
|
||||||
@(cd doc ; $(MAKE) $(FLAGS_TO_PASS) install-info)
|
|
||||||
|
|
||||||
clean-info:
|
|
||||||
@(cd doc ; $(MAKE) $(FLAGS_TO_PASS) clean-info)
|
|
||||||
|
|
||||||
# Now figure out from those variables how to compile and link.
|
# Now figure out from those variables how to compile and link.
|
||||||
|
|
||||||
@ -289,7 +289,7 @@ config-stamp: Makefile
|
|||||||
app.o : app.c as.h host.h targ-env.h obj-format.h \
|
app.o : app.c as.h host.h targ-env.h obj-format.h \
|
||||||
targ-cpu.h struc-symbol.h \
|
targ-cpu.h struc-symbol.h \
|
||||||
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h
|
||||||
as.o : as.c as.h host.h targ-env.h obj-format.h \
|
as.o : as.c as.h host.h targ-env.h obj-format.h output-file.h \
|
||||||
targ-cpu.h struc-symbol.h \
|
targ-cpu.h struc-symbol.h \
|
||||||
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h subsegs.h \
|
write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h subsegs.h \
|
||||||
tc.h obj.h config.h
|
tc.h obj.h config.h
|
||||||
@ -380,23 +380,33 @@ doc: $(srcdir)/as.info
|
|||||||
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
|
$(srcdir)/as.info: $(srcdir)/doc/as.texinfo
|
||||||
@(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
|
@(cd doc; $(MAKE) $(FLAGS_TO_PASS) as.info; mv as.info $srcdir)
|
||||||
|
|
||||||
clean:
|
clean-here:
|
||||||
@(cd doc ; $(MAKE) $(FLAGS_TO_PASS) clean)
|
|
||||||
@(cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) clean)
|
|
||||||
-rm -f $(STAGESTUFF) core
|
-rm -f $(STAGESTUFF) core
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) clean
|
||||||
|
@if [ -d testsuite ] ; then \
|
||||||
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) clean ; \
|
||||||
|
else true; fi
|
||||||
|
|
||||||
# Like clean but also delete the links made to configure gas.
|
# Like clean but also delete the links made to configure gas.
|
||||||
distclean: clean
|
distclean: clean-here
|
||||||
|
@cd doc ; $(MAKE) $(FLAGS_TO_PASS) distclean
|
||||||
|
@if [ -d testsuite ] ; then \
|
||||||
|
cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) distclean ; \
|
||||||
|
else true; fi
|
||||||
-rm -f config.status Makefile host.h targ-env.h targ-cpu.h \
|
-rm -f config.status Makefile host.h targ-env.h targ-cpu.h \
|
||||||
targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS
|
targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
|
||||||
|
config-stamp config.h
|
||||||
|
|
||||||
# Entry points `install', `includes' and `uninstall'.
|
# Entry points `install', `includes' and `uninstall'.
|
||||||
|
|
||||||
# Copy the files into directories where they will be run.
|
# Copy the files into directories where they will be run.
|
||||||
install:
|
install:
|
||||||
|
srcroot=`cd $(srcroot); pwd`; export srcroot; \
|
||||||
$(INSTALL_XFORM) as.new $(bindir)/as; \
|
$(INSTALL_XFORM) as.new $(bindir)/as; \
|
||||||
$(INSTALL_XFORM1) $(srcdir)/doc/as.1 $(man1dir)/as.1;
|
$(INSTALL_XFORM1) $(srcdir)/doc/as.1 $(man1dir)/as.1; \
|
||||||
-n=`t='$(program_transform_name)'; echo as | sed -e "" $$t`; \
|
n=`t='$(program_transform_name)'; echo as | sed -e "" $$t`; \
|
||||||
if [ -d $(tooldir) ]; then \
|
if [ -d $(tooldir) ]; then \
|
||||||
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
|
if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
|
||||||
rm -f $(tooldir)/bin/as; \
|
rm -f $(tooldir)/bin/as; \
|
||||||
|
Reference in New Issue
Block a user