Ensure /usr/include and the like stay out of dependencies.

This commit is contained in:
Alan Modra 2000-06-22 13:01:43 +00:00
parent 45288df104
commit 1581f8c9fe
18 changed files with 1071 additions and 1363 deletions

View file

@ -1,3 +1,10 @@
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
find one.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2000-06-20 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.

View file

@ -576,8 +576,12 @@ install-data-local: $(BFD_H)
DEP: dep.sed $(CFILES) $(HFILES) bfd.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -671,7 +671,7 @@ configure.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
OBJECTS = $(libbfd_a_OBJECTS) $(libbfd_la_OBJECTS)
@ -1116,8 +1116,12 @@ install-data-local: $(BFD_H)
DEP: dep.sed $(CFILES) $(HFILES) bfd.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -188,7 +188,7 @@ DIST_COMMON = ChangeLog Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:

View file

@ -1,5 +1,15 @@
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
first before anything else. Add bin-bugs.h, emul.h and progress.h
Sort list of files as for $(OBJS) in Makefile.am.
* Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
find one. Remake dependencies.
($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config/tc-i386.c (i386_displacement): Don't assume a constant
displacement is necessarily 16 bits when in 16 bit code mode.
(md_assemble): Instead size the displacement here after we know

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -2,37 +2,41 @@
/\\$/N
/\\$/b loop
s! ../config.h!!g
s! ../../bfd/bfd.h!!g
s! ../itbl-parse.h!!g
s! \.\./! !g
s!@INCDIR@!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@SRCDIR@/config!$(srcdir)/config!g
s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
s!@SRCDIR@/!!g
s! config.h!!g
s! as.h!!g
s! asintl.h!!g
s! targ-env.h!!g
s! obj-format.h!!g
s! targ-cpu.h!!g
s! flonum.h!!g
s! expr.h!!g
s! write.h!!g
s! frags.h!!g
s! hash.h!!g
s! read.h!!g
s! symbols.h!!g
s! tc.h!!g
s! obj.h!!g
s! listing.h!!g
s! bignum.h!!g
s! bit_fix.h!!g
s! itbl-cpu.h!!g
s! \$(srcdir)/config/te-generic.h!!g
s! \$(INCDIR)/libiberty.h!!g
s! \$(INCDIR)/ansidecl.h!!g
s! \$(INCDIR)/fopen-same.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/fopen-same\.h!!g
s! \$(srcdir)/config/te-generic\.h!!g
s! \.\./bfd/bfd\.h!!g
s! itbl-cpu\.h!!g
s! itbl-parse\.h!!g
s! \$(INCDIR)/bin-bugs\.h!!g
s! \$(INCDIR)/libiberty\.h!!g
s! \$(INCDIR)/progress\.h!!g
s! obj-format\.h!!g
s! targ-cpu\.h!!g
s! targ-env\.h!!g
s! as\.h!!g
s! asintl\.h!!g
s! bignum\.h!!g
s! bit_fix\.h!!g
s! config\.h!!g
s! emul\.h!!g
s! expr\.h!!g
s! flonum\.h!!g
s! frags\.h!!g
s! hash\.h!!g
s! listing\.h!!g
s! obj\.h!!g
s! read\.h!!g
s! symbols\.h!!g
s! tc\.h!!g
s! write\.h!!g
s/\\\n */ /g

View file

@ -167,7 +167,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:

View file

@ -1,3 +1,9 @@
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
find one.
* Makefile.in: Regenerate.
2000-06-20 Alan Modra <alan@linuxcare.com.au>
* source.c (annotate_source): Correct pointer comparison when

View file

@ -57,8 +57,12 @@ man_MANS = gprof.1
DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(gprof_SOURCES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -178,7 +178,7 @@ aclocal.m4 configure configure.in gconfig.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
SOURCES = $(gprof_SOURCES)
OBJECTS = $(gprof_OBJECTS)
@ -706,8 +706,12 @@ po/POTFILES.in: @MAINT@ Makefile
DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(gprof_SOURCES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -1,3 +1,9 @@
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
find one.
* Makefile.in: Regenerate.
2000-06-21 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.

View file

@ -892,8 +892,12 @@ distclean-local:
DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES) $(GENERATED_CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -441,7 +441,7 @@ ldgram.c ldlex.c
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
SOURCES = $(ld_new_SOURCES)
OBJECTS = $(ld_new_OBJECTS)
@ -1571,8 +1571,12 @@ distclean-local:
DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES) $(GENERATED_CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -1,3 +1,9 @@
2000-06-22 Alan Modra <alan@linuxcare.com.au>
* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
find one.
* Makefile.in: Regenerate.
2000-06-20 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.

View file

@ -250,8 +250,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t
DEP: dep.sed $(CFILES) $(HFILES) config.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2

View file

@ -334,7 +334,7 @@ acinclude.m4 aclocal.m4 config.in configure configure.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS)
@ -748,8 +748,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t
DEP: dep.sed $(CFILES) $(HFILES) config.h
rm -f DEP1
$(MAKE) MKDEP="$(MKDEP)" DEP1
sed -f dep.sed < DEP1 > $@
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
echo 'make DEP failed!'; exit 1; \
else \
sed -f dep.sed < DEP1 > $@; \
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
fi
DEP1: $(CFILES)
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2