comparison Makefile.in.in @ 598:6452bb72f5b9

[xemacs-hg @ 2001-06-01 05:07:19 by martinb] make distclean fails when blddir != srcdir
author martinb
date Fri, 01 Jun 2001 05:07:20 +0000
parents 1cb1000b6813
children 512e4a478e9d
comparison
equal deleted inserted replaced
597:ce085c4b3999 598:6452bb72f5b9
222 ## and you cannot remake them without installing XEmacs first. 222 ## and you cannot remake them without installing XEmacs first.
223 MAKE_SUBDIR = @MAKE_SUBDIR@ 223 MAKE_SUBDIR = @MAKE_SUBDIR@
224 224
225 ## Subdirectories that can be made recursively. 225 ## Subdirectories that can be made recursively.
226 SUBDIR = ${MAKE_SUBDIR} man 226 SUBDIR = ${MAKE_SUBDIR} man
227
228 ## Subdirectories that must be cleaned on distclean
229 SUBDIR_DISTCLEAN = ${SUBDIR} modules/sample modules/ldap modules/zlib modules/base64
230 227
231 ## The makefiles of the directories in ${MAKE_SUBDIR}. 228 ## The makefiles of the directories in ${MAKE_SUBDIR}.
232 SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@ 229 SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@
233 230
234 ## Subdirectories to `make install-arch-dep' recursively 231 ## Subdirectories to `make install-arch-dep' recursively
490 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use 487 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use
491 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag. 488 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag.
492 mkdir: FRC.mkdir 489 mkdir: FRC.mkdir
493 ${MAKEPATH} ${COPYDESTS} ${docdir} ${infodir} ${archlibdir} \ 490 ${MAKEPATH} ${COPYDESTS} ${docdir} ${infodir} ${archlibdir} \
494 ${mandir} ${bindir} ${datadir} ${libdir} ${pkgdir} \ 491 ${mandir} ${bindir} ${datadir} ${libdir} ${pkgdir} \
495 ${sitelispdir} ${moduledir} ${sitemoduledir} 492 #ifdef HAVE_SHLIB
493 ${moduledir} ${sitemoduledir} \
494 #endif
495 ${sitelispdir}
496 496
497 ## Delete all the installed files that the `install' target would 497 ## Delete all the installed files that the `install' target would
498 ## create (but not the noninstalled files such as `make all' would 498 ## create (but not the noninstalled files such as `make all' would
499 ## create). 499 ## create).
500 500
562 $(RM) core .sbinit lock/* GNUmakefile Makefile Makefile.in ; \ 562 $(RM) core .sbinit lock/* GNUmakefile Makefile Makefile.in ; \
563 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \ 563 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \
564 $(RM) -r site-packages xemacs-packages mule-packages site-lisp 564 $(RM) -r site-packages xemacs-packages mule-packages site-lisp
565 565
566 distclean: FRC.distclean 566 distclean: FRC.distclean
567 for d in $(SUBDIR_DISTCLEAN); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 567 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
568 -${top_distclean} 568 -${top_distclean}
569 569
570 ## `realclean' 570 ## `realclean'
571 ## Delete everything from the current directory that can be 571 ## Delete everything from the current directory that can be
572 ## reconstructed with this Makefile. This typically includes 572 ## reconstructed with this Makefile. This typically includes