Mercurial > hg > xemacs-beta
comparison Makefile.in.in @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 95016f13131a |
children | 43177a4f3daf |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
46 ## everything deleted by distclean, plus more: C source files | 46 ## everything deleted by distclean, plus more: C source files |
47 ## produced by Bison, tags tables, info files, and so on. | 47 ## produced by Bison, tags tables, info files, and so on. |
48 | 48 |
49 ## make extraclean | 49 ## make extraclean |
50 ## Still more severe - delete backup and autosave files, too. | 50 ## Still more severe - delete backup and autosave files, too. |
51 | |
52 #define NOT_C_CODE | |
53 #include "src/config.h" | |
51 | 54 |
52 #ifdef USE_GNU_MAKE | 55 #ifdef USE_GNU_MAKE |
53 RECURSIVE_MAKE=$(MAKE) | 56 RECURSIVE_MAKE=$(MAKE) |
54 #else | 57 #else |
55 @SET_MAKE@ | 58 @SET_MAKE@ |
197 ## Where to create and expect the locking directory, where | 200 ## Where to create and expect the locking directory, where |
198 ## the XEmacs locking code keeps track of which files are | 201 ## the XEmacs locking code keeps track of which files are |
199 ## currently being edited. | 202 ## currently being edited. |
200 lockdir=@lockdir@ | 203 lockdir=@lockdir@ |
201 | 204 |
202 # Where to put the DOC file. | 205 ## Where to put the DOC file. |
203 docdir=@docdir@ | 206 docdir=@docdir@ |
204 | 207 |
205 ## Where to put executables to be run by XEmacs rather than | 208 ## Where to put executables to be run by XEmacs rather than |
206 ## the user. This path usually includes the XEmacs version | 209 ## the user. This path usually includes the XEmacs version |
207 ## and configuration name, so that multiple configurations | 210 ## and configuration name, so that multiple configurations |
222 ## because the compiled lisp files are part of the distribution | 225 ## because the compiled lisp files are part of the distribution |
223 ## and you cannot remake them without installing XEmacs first. | 226 ## and you cannot remake them without installing XEmacs first. |
224 MAKE_SUBDIR = @MAKE_SUBDIR@ | 227 MAKE_SUBDIR = @MAKE_SUBDIR@ |
225 | 228 |
226 ## Subdirectories that can be made recursively. | 229 ## Subdirectories that can be made recursively. |
227 SUBDIR = ${MAKE_SUBDIR} man | 230 SUBDIR = ${MAKE_SUBDIR} man |
231 | |
232 ## Subdirectories that must be cleaned on distclean | |
233 SUBDIR_DISTCLEAN = ${SUBDIR} modules/sample modules/ldap modules/zlib modules/base64 | |
228 | 234 |
229 ## The makefiles of the directories in ${MAKE_SUBDIR}. | 235 ## The makefiles of the directories in ${MAKE_SUBDIR}. |
230 SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@ | 236 SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@ |
231 | 237 |
232 ## Subdirectories to `make install-arch-dep' recursively | 238 ## Subdirectories to `make install-arch-dep' recursively |
407 ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \ | 413 ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \ |
408 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \ | 414 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \ |
409 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ | 415 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ |
410 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ | 416 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ |
411 else true; fi | 417 else true; fi |
418 #ifdef WINDOWSNT | |
419 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME} | |
420 -chmod 0755 ${bindir}/${PROGNAME} | |
421 #else | |
412 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} | 422 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} |
413 -chmod 0755 ${bindir}/${PROGNAME}-${version} | 423 -chmod 0755 ${bindir}/${PROGNAME}-${version} |
424 # ifdef __CYGWIN32__ | |
425 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${PROGNAME} | |
426 # else | |
414 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} | 427 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} |
428 # endif /* __CYGWIN32__ */ | |
429 #endif /* WINDOWSNT */ | |
415 if test "${prefix}" != "${exec_prefix}"; then \ | 430 if test "${prefix}" != "${exec_prefix}"; then \ |
416 for dir in \ | 431 for dir in \ |
417 lib/${inststaticdir} \ | 432 lib/${inststaticdir} \ |
418 lib/${instvardir}/etc \ | 433 lib/${instvardir}/etc \ |
419 lib/${instvardir}/info \ | 434 lib/${instvardir}/info \ |
550 ## distribution. | 565 ## distribution. |
551 top_distclean=\ | 566 top_distclean=\ |
552 $(RM) config.status config.log confdefs.h config-tmp-* build-install Installation ; \ | 567 $(RM) config.status config.log confdefs.h config-tmp-* build-install Installation ; \ |
553 $(RM) core .sbinit lock/* GNUmakefile Makefile Makefile.in ; \ | 568 $(RM) core .sbinit lock/* GNUmakefile Makefile Makefile.in ; \ |
554 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \ | 569 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \ |
555 $(RM) packages mule-packages site-lisp | 570 $(RM) -r site-packages xemacs-packages mule-packages site-lisp |
556 | 571 |
557 distclean: FRC.distclean | 572 distclean: FRC.distclean |
558 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done | 573 for d in $(SUBDIR_DISTCLEAN); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done |
559 -${top_distclean} | 574 -${top_distclean} |
560 | 575 |
561 ## `realclean' | 576 ## `realclean' |
562 ## Delete everything from the current directory that can be | 577 ## Delete everything from the current directory that can be |
563 ## reconstructed with this Makefile. This typically includes | 578 ## reconstructed with this Makefile. This typically includes |