diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-08-02 00:24:15 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-08-02 00:24:15 +0000 |
commit | ffc9a6f33496efe217755b3fd6c449b7238edbc2 (patch) | |
tree | 28ccb806a16666bbc628b184b08256f2b3ce25ae /lib-src | |
parent | 4b2fff7ed966ac57d4bd68605b4a2d5886506c4c (diff) | |
download | emacs-ffc9a6f33496efe217755b3fd6c449b7238edbc2.tar.gz |
(REGEXPDEPS, regex.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 7d5059d014f..896641b85b1 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -59,6 +59,8 @@ libexecdir=@libexecdir@ # script's `--srcdir' option. However, the value of ${srcdir} in # this makefile is not identical to what was specified with --srcdir, # since the variable here has `/lib-src' added at the end. + +# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. srcdir=@srcdir@ VPATH=@srcdir@ @@ -351,10 +353,10 @@ REGEXPOBJ = REGEXPDEPS = #else REGEXPOBJ = regex.o -REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h +REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h #endif -regex.o: ../src/regex.c ../src/regex.h ../src/config.h +regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |