Commit c11ae1bd authored by korbb's avatar korbb
Browse files

Remove dependencies on dead files

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33772 138bc75d-0d04-0410-961f-82ee72b054a4
parent c120dd4b
......@@ -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 <aj@suse.de>
......
......@@ -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 ; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment