Mercurial > hg > xemacs-beta
comparison Makefile.in.in @ 5125:b5df3737028a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 01:58:04 -0600 |
parents | 349f01075eb7 |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5124:623d57b7fbe8 | 5125:b5df3737028a |
---|---|
1 ## Copyright (C) 2003, 2005 Ben Wing. | 1 ## Copyright (C) 2003, 2005, 2010 Ben Wing. |
2 | 2 |
3 ## DIST: This is the distribution Makefile for XEmacs. configure can | 3 ## DIST: This is the distribution Makefile for XEmacs. configure can |
4 ## DIST: make most of the changes to this file you might want, so try | 4 ## DIST: make most of the changes to this file you might want, so try |
5 ## DIST: that first. | 5 ## DIST: that first. |
6 | 6 |
241 ## When installing the info files, we need to do special things to | 241 ## When installing the info files, we need to do special things to |
242 ## avoid nuking an existing dir file, so we don't do that here; | 242 ## avoid nuking an existing dir file, so we don't do that here; |
243 ## instead, we have written out explicit code in the `install' targets. | 243 ## instead, we have written out explicit code in the `install' targets. |
244 COPYDIR = ${srcdir}/etc ${srcdir}/lisp | 244 COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
245 COPYDESTS = ${etcdir} ${lispdir} | 245 COPYDESTS = ${etcdir} ${lispdir} |
246 GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/config.h lwlib/config.h src/sheap-adjust.h src/xemacs.def etc/PROBLEMS | 246 GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/config.h lwlib/config.h src/sheap-adjust.h src/xemacs.def etc/PROBLEMS src/.gdbinit |
247 | 247 |
248 ## MAKE_SUBDIR will always be of the form lib-src ... src, where | 248 ## MAKE_SUBDIR will always be of the form lib-src ... src, where |
249 ## `...' includes various other directories that may be inserted by | 249 ## `...' includes various other directories that may be inserted by |
250 ## configure. | 250 ## configure. |
251 all: Makefile ${GENERATED_HEADERS} ${MAKE_SUBDIR} info | 251 all: Makefile ${GENERATED_HEADERS} ${MAKE_SUBDIR} info |
280 cd ${srcdir} && $(SHELL) lib-src/config.values.sh | 280 cd ${srcdir} && $(SHELL) lib-src/config.values.sh |
281 | 281 |
282 depend ${srcdir}/src/depend: | 282 depend ${srcdir}/src/depend: |
283 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) depend | 283 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) depend |
284 | 284 |
285 .PHONY: config-changed | |
286 config-changed: | |
287 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@ | |
288 | |
289 .PHONY: check | |
285 check: | 290 check: |
286 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@ | 291 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@ |
287 | 292 |
293 .PHONY: check-features | |
288 check-features: all | 294 check-features: all |
289 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@ | 295 cd ./src && $(MAKE) $(RECURSIVE_MAKE_ARGS) $@ |
290 | 296 |
291 ## We have to force the building of Emacs.ad.h as well in order to get it | 297 ## We have to force the building of Emacs.ad.h as well in order to get it |
292 ## updated correctly when VPATH is being used. Since we use move-if-change, | 298 ## updated correctly when VPATH is being used. Since we use move-if-change, |
353 ./config.status && touch $@ | 359 ./config.status && touch $@ |
354 | 360 |
355 src/xemacs.def: $(srcdir)/src/xemacs.def.in.in | 361 src/xemacs.def: $(srcdir)/src/xemacs.def.in.in |
356 ./config.status && touch $@ | 362 ./config.status && touch $@ |
357 | 363 |
364 src/.gdbinit: ${srcdir}/src/.gdbinit.in.in | |
365 ./config.status && touch $@ | |
366 | |
358 etc/PROBLEMS: $(srcdir)/PROBLEMS | 367 etc/PROBLEMS: $(srcdir)/PROBLEMS |
359 cp $^ $@ | 368 cp $^ $@ |
360 | 369 |
361 ## ==================== Installation ==================== | 370 ## ==================== Installation ==================== |
362 | 371 |
365 ## this Makefile as well. | 374 ## this Makefile as well. |
366 | 375 |
367 ## On AIX, use tar xBf. | 376 ## On AIX, use tar xBf. |
368 | 377 |
369 .PHONY: install-only install install-arch-dep install-arch-indep gzip.el mkdir | 378 .PHONY: install-only install install-arch-dep install-arch-indep gzip.el mkdir |
370 .PHONY: check check-features | |
371 | 379 |
372 ## We delete each directory in ${COPYDESTS} before we copy into it; | 380 ## We delete each directory in ${COPYDESTS} before we copy into it; |
373 ## that way, we can reinstall over directories that have been put in | 381 ## that way, we can reinstall over directories that have been put in |
374 ## place with their files read-only (perhaps because they are checked | 382 ## place with their files read-only (perhaps because they are checked |
375 ## into RCS). In order to make this safe, we make sure that the | 383 ## into RCS). In order to make this safe, we make sure that the |
736 date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \ | 744 date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \ |
737 ident="@(#)RELEASE VERSION XEmacs ${version} $${date}"; \ | 745 ident="@(#)RELEASE VERSION XEmacs ${version} $${date}"; \ |
738 for f in `file lib-src/* src/${PROGNAME} | grep ELF | sed -e 's/:.*//'`; do \ | 746 for f in `file lib-src/* src/${PROGNAME} | grep ELF | sed -e 's/:.*//'`; do \ |
739 mcs -da "$${ident} `echo $${f} | sed 's/.*\///'`" $${f}; \ | 747 mcs -da "$${ident} `echo $${f} | sed 's/.*\///'`" $${f}; \ |
740 done | 748 done |
749 | |
750 ## Fix up permissions on source/build files | |
751 .PHONY: fix-perms | |
752 FRC.fix-perms: | |
753 fix-perms: FRC.fix-perms | |
754 cd ${srcdir} && sh lib-src/fix-perms.sh |