comparison Makefile.in.in @ 426:43177a4f3daf r21-2-21

Import from CVS: tag r21-2-21
author cvs
date Mon, 13 Aug 2007 11:27:01 +0200
parents 11054d720c21
children a5df635868b2
comparison
equal deleted inserted replaced
425:22157a68eca2 426:43177a4f3daf
61 61
62 SHELL = /bin/sh 62 SHELL = /bin/sh
63 LANG = C 63 LANG = C
64 LC_ALL = C 64 LC_ALL = C
65 RM = rm -f 65 RM = rm -f
66 MAKEPATH=./lib-src/make-path
66 pwd = /bin/pwd 67 pwd = /bin/pwd
67 68
68 ## ==================== Things `configure' Might Edit ==================== 69 ## ==================== Things `configure' Might Edit ====================
69 70
70 CC=@CC@ 71 CC=@CC@
271 ## - configure from configure.in 272 ## - configure from configure.in
272 ## - config.values.in from configure 273 ## - config.values.in from configure
273 ## - src/depend from src/*.[ch] 274 ## - src/depend from src/*.[ch]
274 .PHONY: config configure depend 275 .PHONY: config configure depend
275 config: configure depend 276 config: configure depend
276 configure: ${srcdir}/configure 277 configure: ${srcdir}/configure ${srcdir}/lib-src/config.values.in
277 ${srcdir}/configure: ${srcdir}/configure.in 278
279 ${srcdir}/configure : ${srcdir}/configure.in
278 cd ${srcdir} && autoconf 280 cd ${srcdir} && autoconf
279 cd ${srcdir} && /bin/sh lib-src/config.values.sh 281
280 282 ${srcdir}/lib-src/config.values.in : ${srcdir}/configure
281 depend ${srcdir}/src/depend: 283 cd ${srcdir} && $(SHELL) lib-src/config.values.sh
282 cd ${srcdir}/src && \ 284
283 perl ./make-src-depend > depend.tmp && \ 285 depend ${srcdir}/src/depend :
284 $(RM) depend && mv depend.tmp depend 286 cd ${srcdir}/src && $(RECURSIVE_MAKE) depend
285 287
286 ## Build XEmacs and recompile out-of-date and missing .elc files along 288 ## Build XEmacs and recompile out-of-date and missing .elc files along
287 ## the way. 289 ## the way.
288 all-elc all-elcs: lib-src lwlib dump-elcs src 290 all-elc all-elcs: lib-src lwlib dump-elcs src
289 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' sh ${srcdir}/lib-src/update-elc.sh 291 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-elc.sh
290 292
291 ## Sub-target for all-elc. 293 ## Sub-target for all-elc.
292 dump-elc dump-elcs: ${GENERATED_HEADERS} FRC.dump-elcs 294 dump-elc dump-elcs: ${GENERATED_HEADERS} FRC.dump-elcs
293 cd ./src && $(RECURSIVE_MAKE) dump-elcs 295 cd ./src && $(RECURSIVE_MAKE) dump-elcs
294 296
295 autoloads: src 297 autoloads: src
296 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' sh ${srcdir}/lib-src/update-autoloads.sh 298 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-autoloads.sh
297 299
298 custom-loads: 300 custom-loads:
299 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' sh ${srcdir}/lib-src/update-custom.sh 301 MAKE='$(MAKE)' EMACS='./src/$(PROGNAME)' $(SHELL) ${srcdir}/lib-src/update-custom.sh
300 302
301 finder: src 303 finder: src
302 @echo "Building finder database ..." 304 @echo "Building finder database ..."
303 @(cd ./lisp; \ 305 @(cd ./lisp; \
304 ${blddir}/src/${PROGNAME} -batch -vanilla \ 306 ${blddir}/src/${PROGNAME} -batch -vanilla \
321 @echo "Producing \`src/Emacs.ad.h' from \`etc/Emacs.ad'." 323 @echo "Producing \`src/Emacs.ad.h' from \`etc/Emacs.ad'."
322 @$(RM) src/Emacs.ad.h 324 @$(RM) src/Emacs.ad.h
323 @(echo "/* Do not edit this file!" ; \ 325 @(echo "/* Do not edit this file!" ; \
324 echo " Automatically generated from ${srcdir}/etc/Emacs.ad" ; \ 326 echo " Automatically generated from ${srcdir}/etc/Emacs.ad" ; \
325 echo " */" ; \ 327 echo " */" ; \
326 /bin/sh ${srcdir}/lib-src/ad2c ${srcdir}/etc/Emacs.ad ) > \ 328 $(SHELL) ${srcdir}/lib-src/ad2c ${srcdir}/etc/Emacs.ad ) > \
327 src/Emacs.ad.h 329 src/Emacs.ad.h
328 330
329 src/sheap-adjust.h: 331 src/sheap-adjust.h:
330 @echo "Resetting \`src/sheap-adjust.h'."; \ 332 @echo "Resetting \`src/sheap-adjust.h'."; \
331 (echo "/* Do not edit this file!" ; \ 333 (echo "/* Do not edit this file!" ; \
426 # else 428 # else
427 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} 429 cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME}
428 # endif /* __CYGWIN32__ */ 430 # endif /* __CYGWIN32__ */
429 #endif /* WINDOWSNT */ 431 #endif /* WINDOWSNT */
430 if test "${prefix}" != "${exec_prefix}"; then \ 432 if test "${prefix}" != "${exec_prefix}"; then \
433 $(MAKEPATH) ${exec_prefix}/lib/${instvardir}; \
431 for dir in \ 434 for dir in \
432 lib/${inststaticdir} \ 435 lib/${inststaticdir} \
433 lib/${instvardir}/etc \ 436 lib/${instvardir}/etc \
434 lib/${instvardir}/info \ 437 lib/${instvardir}/info \
435 lib/${instvardir}/lisp; do \ 438 lib/${instvardir}/lisp; do \
485 @echo ${srcdir}/lib-src/gzip-el.sh lispdir " from the command line." 488 @echo ${srcdir}/lib-src/gzip-el.sh lispdir " from the command line."
486 @echo "Where lispdir is where the lisp files were installed, i.e.," 489 @echo "Where lispdir is where the lisp files were installed, i.e.,"
487 @echo "${lispdir}" 490 @echo "${lispdir}"
488 491
489 gzip-el: 492 gzip-el:
490 ${srcdir}/lib-src/gzip-el.sh ${lispdir} 493 $(SHELL) ${srcdir}/lib-src/gzip-el.sh ${lispdir}
491 494
492 MAKEPATH=./lib-src/make-path
493 ## Build all the directories to install XEmacs in. 495 ## Build all the directories to install XEmacs in.
494 ## Since we may be creating several layers of directories, 496 ## Since we may be creating several layers of directories,
495 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use 497 ## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use
496 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag. 498 ## make-path instead of mkdir. Not all mkdirs have the `-p' flag.
497 mkdir: FRC.mkdir 499 mkdir: FRC.mkdir