diff options
| author | Richard M. Stallman | 1994-09-16 23:36:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-16 23:36:57 +0000 |
| commit | 05ed817ff198708a43e4de9372a7905d342e7c7f (patch) | |
| tree | ebe0d56677dce6f7905d010cadae5cc7fc154d43 | |
| parent | 759d9005b98813700764c6a1f12c411d46793183 (diff) | |
| download | emacs-05ed817ff198708a43e4de9372a7905d342e7c7f.tar.gz emacs-05ed817ff198708a43e4de9372a7905d342e7c7f.zip | |
Use just one FRC target.
| -rw-r--r-- | Makefile.in | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index a0fb80a4036..09207a6b7fa 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -219,7 +219,7 @@ src/paths.h: Makefile ${srcdir}/src/paths.h.in | |||
| 219 | # something notable, so the only unnecessary work we do is in building | 219 | # something notable, so the only unnecessary work we do is in building |
| 220 | # paths.h.tmp$$$$, which isn't much. | 220 | # paths.h.tmp$$$$, which isn't much. |
| 221 | # Note that sed is not in /bin on 386bsd. | 221 | # Note that sed is not in /bin on 386bsd. |
| 222 | paths-force: FRC.src.paths.h | 222 | paths-force: FRC |
| 223 | @echo "Producing \`src/paths.h' from \`src/paths.h.in'." | 223 | @echo "Producing \`src/paths.h' from \`src/paths.h.in'." |
| 224 | @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ | 224 | @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ |
| 225 | buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ | 225 | buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ |
| @@ -233,13 +233,13 @@ paths-force: FRC.src.paths.h | |||
| 233 | -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \ | 233 | -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') && \ |
| 234 | ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h | 234 | ${srcdir}/move-if-change paths.h.tmp$$$$ src/paths.h |
| 235 | 235 | ||
| 236 | src: lib-src FRC.src src/paths.h | 236 | src: lib-src FRC src/paths.h |
| 237 | 237 | ||
| 238 | # This ought to depend on src/paths.h, so that in parallel make | 238 | # This ought to depend on src/paths.h, so that in parallel make |
| 239 | # src/paths.h will be available for the compilations in lib-src. | 239 | # src/paths.h will be available for the compilations in lib-src. |
| 240 | # But that causes trouble in `make install' if a different prefix | 240 | # But that causes trouble in `make install' if a different prefix |
| 241 | # is specified at that time. | 241 | # is specified at that time. |
| 242 | lib-src: FRC.lib-src src/paths.h | 242 | lib-src: FRC src/paths.h |
| 243 | 243 | ||
| 244 | .RECURSIVE: ${SUBDIR} | 244 | .RECURSIVE: ${SUBDIR} |
| 245 | 245 | ||
| @@ -347,7 +347,7 @@ install-arch-indep: mkdir | |||
| 347 | ### we may be creating several layers of directories (for example, | 347 | ### we may be creating several layers of directories (for example, |
| 348 | ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path | 348 | ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path |
| 349 | ### instead of mkdir. Not all systems' mkdirs have the `-p' flag. | 349 | ### instead of mkdir. Not all systems' mkdirs have the `-p' flag. |
| 350 | mkdir: FRC.mkdir | 350 | mkdir: FRC |
| 351 | ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ | 351 | ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ |
| 352 | ${bindir} ${datadir} ${docdir} ${libdir} \ | 352 | ${bindir} ${datadir} ${docdir} ${libdir} \ |
| 353 | `echo ${locallisppath} | sed 's/:/ /g'` | 353 | `echo ${locallisppath} | sed 's/:/ /g'` |
| @@ -381,10 +381,7 @@ uninstall: | |||
| 381 | (cd ${bindir}; rm -f emacs-${version} $(EMACS)) | 381 | (cd ${bindir}; rm -f emacs-${version} $(EMACS)) |
| 382 | 382 | ||
| 383 | 383 | ||
| 384 | ### Some makes seem to remember that they've built something called FRC, | 384 | FRC: |
| 385 | ### so you can only use a given FRC once per makefile. | ||
| 386 | FRC FRC.src.paths.h FRC.src FRC.lib-src FRC.mkdir: | ||
| 387 | FRC.mostlyclean FRC.clean FRC.distclean FRC.realclean: | ||
| 388 | 385 | ||
| 389 | # ==================== Cleaning up and miscellanea ==================== | 386 | # ==================== Cleaning up and miscellanea ==================== |
| 390 | 387 | ||
| @@ -395,7 +392,7 @@ FRC.mostlyclean FRC.clean FRC.distclean FRC.realclean: | |||
| 395 | ### normally don't want to recompile. For example, the `mostlyclean' | 392 | ### normally don't want to recompile. For example, the `mostlyclean' |
| 396 | ### target for GCC does not delete `libgcc.a', because recompiling it | 393 | ### target for GCC does not delete `libgcc.a', because recompiling it |
| 397 | ### is rarely necessary and takes a lot of time. | 394 | ### is rarely necessary and takes a lot of time. |
| 398 | mostlyclean: FRC.mostlyclean | 395 | mostlyclean: FRC |
| 399 | (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 396 | (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
| 400 | (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) | 397 | (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) |
| 401 | (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) | 398 | (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) |
| @@ -410,7 +407,7 @@ mostlyclean: FRC.mostlyclean | |||
| 410 | ### with them. | 407 | ### with them. |
| 411 | ### | 408 | ### |
| 412 | ### Delete `.dvi' files here if they are not part of the distribution. | 409 | ### Delete `.dvi' files here if they are not part of the distribution. |
| 413 | clean: FRC.clean | 410 | clean: FRC |
| 414 | (cd src; $(MAKE) $(MFLAGS) clean) | 411 | (cd src; $(MAKE) $(MFLAGS) clean) |
| 415 | (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | 412 | (cd oldXMenu; $(MAKE) $(MFLAGS) clean) |
| 416 | (cd lwlib; $(MAKE) $(MFLAGS) clean) | 413 | (cd lwlib; $(MAKE) $(MFLAGS) clean) |
| @@ -427,7 +424,7 @@ top_distclean=\ | |||
| 427 | rm -f config.status build-install ; \ | 424 | rm -f config.status build-install ; \ |
| 428 | rm -f Makefile ${SUBDIR_MAKEFILES} ; \ | 425 | rm -f Makefile ${SUBDIR_MAKEFILES} ; \ |
| 429 | (cd lock ; rm -f *) | 426 | (cd lock ; rm -f *) |
| 430 | distclean: FRC.distclean | 427 | distclean: FRC |
| 431 | (cd src; $(MAKE) $(MFLAGS) distclean) | 428 | (cd src; $(MAKE) $(MFLAGS) distclean) |
| 432 | (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) | 429 | (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) |
| 433 | (cd lwlib; $(MAKE) $(MFLAGS) distclean) | 430 | (cd lwlib; $(MAKE) $(MFLAGS) distclean) |
| @@ -447,7 +444,7 @@ distclean: FRC.distclean | |||
| 447 | ### Makefile. More generally, `make realclean' should not delete | 444 | ### Makefile. More generally, `make realclean' should not delete |
| 448 | ### anything that needs to exist in order to run `configure' and then | 445 | ### anything that needs to exist in order to run `configure' and then |
| 449 | ### begin to build the program. | 446 | ### begin to build the program. |
| 450 | realclean: FRC.realclean | 447 | realclean: FRC |
| 451 | (cd src; $(MAKE) $(MFLAGS) realclean) | 448 | (cd src; $(MAKE) $(MFLAGS) realclean) |
| 452 | (cd oldXMenu; $(MAKE) $(MFLAGS) realclean) | 449 | (cd oldXMenu; $(MAKE) $(MFLAGS) realclean) |
| 453 | (cd lwlib; $(MAKE) $(MFLAGS) realclean) | 450 | (cd lwlib; $(MAKE) $(MFLAGS) realclean) |