summaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-30 16:30:05 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-30 16:30:05 +0000
commit7fb260d02ef3520aaed7841b36529c619e15cfa3 (patch)
tree38f0d7400d5df8b1f44ce64f187b29231c621f05 /gcc/fixinc
parentfee6f6f613eefe4402f0e927862c0771bdf279c9 (diff)
downloadgcc-7fb260d02ef3520aaed7841b36529c619e15cfa3.tar.gz
Explicitly state srcdir for fixincl.x references - Loren J. Rittle
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in
index e278b1f56dc..0477c099412 100644
--- a/gcc/fixinc/Makefile.in
+++ b/gcc/fixinc/Makefile.in
@@ -70,13 +70,13 @@ HDR = server.h gnu-regex.h fixlib.h machname.h
TARGETS = fixincl
all : $(TARGETS)
-gen : fixincl.x
+gen : $(srcdir)/fixincl.x
fixincl: $(OBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(OBJ) $(LIBERTY)
$(OBJ) : $(HDR)
-fixincl.o : fixincl.x fixincl.c
+fixincl.o : $(srcdir)/fixincl.x fixincl.c
fixtests.o : fixtests.c
fixfixes.o : fixfixes.c
server.o : server.c
@@ -85,16 +85,16 @@ gnu-regex.o : gnu-regex.c
fixlib.o : fixlib.c
# 'machname.h' is built in the build directory.
-# 'fixincl.x' in the source dir.
+# '$(srcdir)/fixincl.x' in the source dir.
#
machname.h: ../specs
$(SHELL) $(srcdir)/genfixes $@
-fixincl.x: fixincl.tpl inclhack.def
+$(srcdir)/fixincl.x: fixincl.tpl inclhack.def
cd $(srcdir) ; $(SHELL) ./genfixes $@
clean:
- rm -f *.o $(TARGETS) fixincl.x machname.h *~
+ rm -f *.o $(TARGETS) $(srcdir)/fixincl.x machname.h *~
# Build the executable and copy up into gcc dir.
# We still copy the script because we still have alternative scripts.