comparison Makefile.in.in @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents a5df635868b2
children 576fb035e263
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
281 cd ${srcdir} && autoconf 281 cd ${srcdir} && autoconf
282 282
283 ${srcdir}/lib-src/config.values.in : ${srcdir}/configure 283 ${srcdir}/lib-src/config.values.in : ${srcdir}/configure
284 cd ${srcdir} && $(SHELL) lib-src/config.values.sh 284 cd ${srcdir} && $(SHELL) lib-src/config.values.sh
285 285
286 depend ${srcdir}/src/depend : 286 depend ${srcdir}/src/depend:
287 cd ${srcdir}/src && $(RECURSIVE_MAKE) depend 287 cd ./src && $(RECURSIVE_MAKE) depend
288 288
289 ## Build XEmacs and recompile out-of-date and missing .elc files along 289 ## Build XEmacs and recompile out-of-date and missing .elc files along
290 ## the way. 290 ## the way.
291 all-elc all-elcs: lib-src lwlib dump-elcs src 291 all-elc all-elcs: lib-src lwlib dump-elcs src
292 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-elc.sh 292 ${blddir}/src/${PROGNAME} -batch -vanilla \
293 -l update-elc-2.el -f batch-update-elc-2 lisp
293 294
294 ## Sub-target for all-elc. 295 ## Sub-target for all-elc.
295 dump-elc dump-elcs: ${GENERATED_HEADERS} FRC.dump-elcs 296 dump-elc dump-elcs: ${GENERATED_HEADERS} FRC.dump-elcs
296 cd ./src && $(RECURSIVE_MAKE) dump-elcs 297 cd ./src && $(RECURSIVE_MAKE) dump-elcs
297 298
298 autoloads: src 299 autoloads: lisp/auto-autoloads.el lisp/custom-load.el
299 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-autoloads.sh 300
300 301 FRC.lisp.auto.autoloads.el:
301 custom-loads: 302 lisp/auto-autoloads.el: FRC.lisp.auto.autoloads.el
302 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-custom.sh 303 $(RM) lisp/auto-autoloads.el
304 ${blddir}/src/${PROGNAME} -batch -vanilla \
305 -l autoload -f batch-update-directory lisp
306 ${blddir}/src/${PROGNAME} -batch -vanilla \
307 -f batch-byte-compile lisp/auto-autoloads.el
308 @$(RM) lisp/auto-autoloads.el~
309 #ifdef MULE
310 $(RM) lisp/mule/auto-autoloads.el
311 ${blddir}/src/${PROGNAME} -batch -vanilla \
312 -l autoload -f batch-update-directory lisp/mule
313 ${blddir}/src/${PROGNAME} -batch -vanilla \
314 -f batch-byte-compile lisp/mule/auto-autoloads.el
315 @$(RM) lisp/mule/auto-autoloads.el~
316 #endif
317
318 FRC.lisp.custom.load.el:
319 lisp/custom-load.el: FRC.lisp.custom.load.el
320 ${blddir}/src/${PROGNAME} -batch -vanilla -l cus-dep \
321 -f Custom-make-dependencies lisp
303 322
304 finder: src 323 finder: src
305 @echo "Building finder database ..." 324 @echo "Building finder database ..."
306 @(cd ./lisp; \ 325 @(cd ./lisp; \
307 ${blddir}/src/${PROGNAME} -batch -vanilla \ 326 ${blddir}/src/${PROGNAME} -batch -vanilla \
416 ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \ 435 ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \
417 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \ 436 ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \
418 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ 437 for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \
419 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ 438 do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \
420 else true; fi 439 else true; fi
421 #ifdef WINDOWSNT 440 #ifdef PDUMP
441 ${INSTALL_DATA} src/${PROGNAME}.dmp ${bindir}/${PROGNAME}-${version}-`src/${PROGNAME} -sd`.dmp
442 #endif
443 #ifdef WIN32_NATIVE
422 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME} 444 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}
423 -chmod 0755 ${bindir}/${PROGNAME} 445 -chmod 0755 ${bindir}/${PROGNAME}
424 #else 446 #else
425 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} 447 ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}
426 -chmod 0755 ${bindir}/${PROGNAME}-${version} 448 -chmod 0755 ${bindir}/${PROGNAME}-${version}
427 # ifdef __CYGWIN32__ 449 # ifdef CYGWIN
428 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${PROGNAME} 450 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${PROGNAME}
429 # else 451 # else
430 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} 452 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME}
431 # endif /* __CYGWIN32__ */ 453 # endif /* CYGWIN */
432 #endif /* WINDOWSNT */ 454 #endif /* WIN32_NATIVE */
433 if test "${prefix}" != "${exec_prefix}"; then \ 455 if test "${prefix}" != "${exec_prefix}"; then \
434 $(MAKEPATH) ${exec_prefix}/lib/${instvardir}; \ 456 $(MAKEPATH) ${exec_prefix}/lib/${instvardir}; \
435 for dir in \ 457 for dir in \
436 lib/${inststaticdir} \ 458 lib/${inststaticdir} \
437 lib/${instvardir}/etc \ 459 lib/${instvardir}/etc \