Mercurial > hg > xemacs-beta
comparison src/Makefile.in.in @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | bbff43aa5eb7 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
387:f892a9d0bb8d | 388:aabb7f5b1c81 |
---|---|
1 ## Makefile for src subdirectory in XEmacs. | 1 ## Makefile for src subdirectory in XEmacs. |
2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. | 2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. |
3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois | 3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois |
4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
5 ## Copyright (C) 1998, 1999 J. Kean Johnston. | |
5 | 6 |
6 ## This file is part of XEmacs. | 7 ## This file is part of XEmacs. |
7 | 8 |
8 ## XEmacs is free software; you can redistribute it and/or modify it | 9 ## XEmacs is free software; you can redistribute it and/or modify it |
9 ## under the terms of the GNU General Public License as published by the | 10 ## under the terms of the GNU General Public License as published by the |
40 | 41 |
41 SHELL=/bin/sh | 42 SHELL=/bin/sh |
42 RM = rm -f | 43 RM = rm -f |
43 | 44 |
44 lispdir = ${srcdir}/../lisp/ | 45 lispdir = ${srcdir}/../lisp/ |
46 moduledir = ${srcdir}/../modules/ | |
45 libsrc = ../lib-src/ | 47 libsrc = ../lib-src/ |
46 etcdir = ../etc/ | 48 etcdir = ../etc/ |
47 | 49 |
48 ## Here are the things that we expect ../configure to edit. | 50 ## Here are the things that we expect ../configure to edit. |
49 prefix=@prefix@ | 51 prefix=@prefix@ |
306 #ifdef I18N3 | 308 #ifdef I18N3 |
307 mo_dir = ${etcdir} | 309 mo_dir = ${etcdir} |
308 mo_file = ${mo_dir}emacs.mo | 310 mo_file = ${mo_dir}emacs.mo |
309 #endif | 311 #endif |
310 | 312 |
311 LOADPATH = EMACSBOOTSTRAPLOADPATH="${lispdir}:${blddir}" | 313 LOADPATH = EMACSBOOTSTRAPLOADPATH="${lispdir}:${blddir}" |
312 DUMPENV = $(LOADPATH) | 314 MODULEPATH = EMACSBOOTSTRAPMODULEPATH="${moduledir}:${blddir}" |
315 DUMPENV = $(LOADPATH) $(MODULEPATH) | |
313 temacs_loadup = $(DUMPENV) ./temacs -batch -l ${srcdir}/../lisp/loadup.el | 316 temacs_loadup = $(DUMPENV) ./temacs -batch -l ${srcdir}/../lisp/loadup.el |
314 dump_temacs = ${temacs_loadup} dump | 317 dump_temacs = ${temacs_loadup} dump |
315 run_temacs = ${temacs_loadup} run-temacs | 318 run_temacs = ${temacs_loadup} run-temacs |
316 | 319 |
317 release: temacs ${libsrc}DOC $(mo_file) ${other_files} | 320 release: temacs ${libsrc}DOC $(mo_file) ${other_files} |
707 chmod u+w $(SOURCES) | 710 chmod u+w $(SOURCES) |
708 | 711 |
709 relock: | 712 relock: |
710 chmod -w $(SOURCES) | 713 chmod -w $(SOURCES) |
711 | 714 |
715 ## Header files for ellcc | |
716 #ifdef HAVE_SHLIB | |
717 MAKEPATH=../lib-src/make-path | |
718 install: ${PROGNAME} | |
719 ${MAKEPATH} ${archlibdir}/include ${archlibdir}/include/m ${archlibdir}/include/s | |
720 -@echo "Copying include files for ellcc..." | |
721 -@hdir=`pwd`; \ | |
722 cd ${srcdir}; hdrdir2=`pwd`; cd $$hdir; \ | |
723 test "$$hdrdir2" != "$$hdir" && hdir="$$hdir $$hdrdir2"; \ | |
724 (for thisdir in $$hdir; do \ | |
725 cd $$hdir && \ | |
726 (hdrtars=; \ | |
727 for hdrfile in *.h; do \ | |
728 hdrtars="$$hdrtars $$hdrfile"; \ | |
729 done; \ | |
730 test -d s && hdrtars="$$hdrtars s/*"; \ | |
731 test -d m && hdrtars="$$hdrtars m/*"; \ | |
732 test -n "$$hdrtars" && (tar cf - $$hdrtars) | \ | |
733 (cd ${archlibdir}/include && umask 022 && tar xf -); \ | |
734 chmod 755 ${archlibdir}/include; \ | |
735 test -d ${archlibdir}/include/s && \ | |
736 chmod 755 ${archlibdir}/include/s; \ | |
737 test -d ${archlibdir}/include/m && \ | |
738 chmod 755 ${archlibdir}/include/s;) \ | |
739 done) | |
740 #endif | |
741 | |
712 ## Dependency processing using home-grown script, not makedepend | 742 ## Dependency processing using home-grown script, not makedepend |
713 .PHONY: depend | 743 .PHONY: depend |
714 FRC.depend: | 744 FRC.depend: |
715 depend: FRC.depend | 745 depend: FRC.depend |
716 cd ${srcdir} && $(RM) depend.tmp && \ | 746 cd ${srcdir} && $(RM) depend.tmp && \ |