From 93f69683ae30eda10b826d587f19dceee290826e Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Mon, 8 May 2000 18:49:24 +0000 Subject: [PATCH] Remove dependencies on dead files From-SVN: r33772 --- gcc/ChangeLog | 1 + gcc/fixinc/Makefile.in | 26 ++++++++++---------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d822b52..81867aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -10,6 +10,7 @@ * fixinc/inclhack.sh: deleted * fixinc/hackshell.tpl: deleted * fixinc/inclhack.tpl: deleted + * fixinc/Makefile.in: Remove dependencies on above * fixinc/fixincl.sh: "DO NOT EDIT" text modified 2000-05-08 Andreas Jaeger diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in index 31c1964..eef5c62 100644 --- a/gcc/fixinc/Makefile.in +++ b/gcc/fixinc/Makefile.in @@ -65,14 +65,12 @@ FIOBJ = fixincl.o server.o procopen.o $(LIBOBJ) HDR = server.h gnu-regex.h fixlib.h machname.h -SH_TARGET = inclhack.sh fixincl.sh BIN_TARGET = fixincl fixfixes fixtests -TARGETS = $(SH_TARGET) $(BIN_TARGET) +TARGETS = $(BIN_TARGET) all : $(TARGETS) -sh : $(SH_TARGET) -gen : $(SH_TARGET) fixincl.x +gen : fixincl.x $(FIOBJ): $(HDR) @@ -98,12 +96,12 @@ fixlib.o: machname.h fixincl.x: fixincl.tpl inclhack.def cd $(srcdir) ; $(SHELL) ./genfixes $@ -inclhack.sh: inclhack.def inclhack.tpl hackshell.tpl - cd $(srcdir) ; $(SHELL) ./genfixes $@ - -# fixinc.sh, unlike the other two, has _no_ dependency on the .def file. -fixincl.sh: inclhack.tpl - cd $(srcdir) ; $(SHELL) ./genfixes $@ +## inclhack.sh: inclhack.def inclhack.tpl hackshell.tpl +## cd $(srcdir) ; $(SHELL) ./genfixes $@ +## +## # fixinc.sh, unlike the other two, has _no_ dependency on the .def file. +## fixincl.sh: inclhack.tpl +## cd $(srcdir) ; $(SHELL) ./genfixes $@ # This invocation of genfixes is done from the build dir, # not the source dir (as above) @@ -126,11 +124,7 @@ install-bin: fixincl fixincl.sh mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; fi ./fixincl -v cp fixincl .. - @if [ -f ./fixincl.sh ] ; \ - then echo cp ./fixincl.sh ../fixinc.sh ; \ - cp ./fixincl.sh ../fixinc.sh ; \ - else echo cp $(srcdir)/fixincl.sh ../fixinc.sh ; \ - cp $(srcdir)/fixincl.sh ../fixinc.sh ; fi + cp $(srcdir)/fixincl.sh ../fixinc.sh chmod 755 ../fixinc.sh ../fixincl install-sh: fixfixes fixtests inclhack.sh @@ -138,7 +132,7 @@ install-sh: fixfixes fixtests inclhack.sh mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; fi echo Could not install binary fixincludes. ; \ echo Installing shell script instead. - @if [ -f ./fixincl.sh ] ; \ + @if [ -f ./inclhack.sh ] ; \ then echo cp ./inclhack.sh ../fixinc.sh ; \ cp ./inclhack.sh ../fixinc.sh ; \ else echo cp $(srcdir)/inclhack.sh ../fixinc.sh ; \ -- 2.7.4