diff options
| author | Richard M. Stallman | 1998-08-02 00:24:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-08-02 00:24:15 +0000 |
| commit | 5126d3b7fe2461f735eaa200132288a16583286c (patch) | |
| tree | 15111585a3265b02fd253fbd2b8e66b768d78cbb /lib-src | |
| parent | 0d60d4efe3bd033ea31cbcc0275073bac2fc4f59 (diff) | |
| download | emacs-5126d3b7fe2461f735eaa200132288a16583286c.tar.gz emacs-5126d3b7fe2461f735eaa200132288a16583286c.zip | |
(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@ | |||
| 59 | # script's `--srcdir' option. However, the value of ${srcdir} in | 59 | # script's `--srcdir' option. However, the value of ${srcdir} in |
| 60 | # this makefile is not identical to what was specified with --srcdir, | 60 | # this makefile is not identical to what was specified with --srcdir, |
| 61 | # since the variable here has `/lib-src' added at the end. | 61 | # since the variable here has `/lib-src' added at the end. |
| 62 | |||
| 63 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | ||
| 62 | srcdir=@srcdir@ | 64 | srcdir=@srcdir@ |
| 63 | VPATH=@srcdir@ | 65 | VPATH=@srcdir@ |
| 64 | 66 | ||
| @@ -351,10 +353,10 @@ REGEXPOBJ = | |||
| 351 | REGEXPDEPS = | 353 | REGEXPDEPS = |
| 352 | #else | 354 | #else |
| 353 | REGEXPOBJ = regex.o | 355 | REGEXPOBJ = regex.o |
| 354 | REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h | 356 | REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h |
| 355 | #endif | 357 | #endif |
| 356 | 358 | ||
| 357 | regex.o: ../src/regex.c ../src/regex.h ../src/config.h | 359 | regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
| 358 | ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c | 360 | ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
| 359 | 361 | ||
| 360 | etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h | 362 | etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |