aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2005-05-11 12:21:51 +0000
committerKenichi Handa2005-05-11 12:21:51 +0000
commit462a725d0beb98ca71ded96aa496fa020f160b04 (patch)
treef0503d404d1ec779c4cab47ac259dace42e114bb
parentf36014a2bf15ab3ee5ee9da3f8dde6d97e4c8373 (diff)
downloademacs-462a725d0beb98ca71ded96aa496fa020f160b04.tar.gz
emacs-462a725d0beb98ca71ded96aa496fa020f160b04.zip
(shortlisp): Cancel previous change.
(RUN_TEMACS): Include "-nl" if HAVE_SHM is defined. (emacs${EXEEXT}): Run $(RUN_TEMACS) unconditionally. (UNIDATA): New variable. (${lispsource}international/charprop.el): Depends on ${UNIDATA}. (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run $(RUN_TEMACS) unconditionally.
-rw-r--r--src/Makefile.in44
1 files changed, 17 insertions, 27 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 532a8b3130a..327f96c7b60 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -50,6 +50,7 @@ LIBOBJS = @LIBOBJS@
50dot = . 50dot = .
51dotdot = ${dot}${dot} 51dotdot = ${dot}${dot}
52lispsource = ${srcdir}/$(dot)$(dot)/lisp/ 52lispsource = ${srcdir}/$(dot)$(dot)/lisp/
53admindir = $(srcdir)/$(dot)$(dot)/admin/
53libsrc = $(dot)$(dot)/lib-src/ 54libsrc = $(dot)$(dot)/lib-src/
54etc = $(dot)$(dot)/etc/ 55etc = $(dot)$(dot)/etc/
55oldXMenudir = $(dot)$(dot)/oldXMenu/ 56oldXMenudir = $(dot)$(dot)/oldXMenu/
@@ -819,7 +820,6 @@ shortlisp= \
819 ../lisp/international/mule-conf.el \ 820 ../lisp/international/mule-conf.el \
820 ../lisp/international/mule-cmds.elc \ 821 ../lisp/international/mule-cmds.elc \
821 ../lisp/international/characters.elc \ 822 ../lisp/international/characters.elc \
822 ../lisp/international/charprop.el \
823 ../lisp/case-table.elc \ 823 ../lisp/case-table.elc \
824 ../lisp/language/chinese.el \ 824 ../lisp/language/chinese.el \
825 ../lisp/language/cyrillic.el \ 825 ../lisp/language/cyrillic.el \
@@ -899,7 +899,11 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
899#define OBJECTS_MACHINE 899#define OBJECTS_MACHINE
900#endif 900#endif
901 901
902RUN_TEMACS = ./temacs 902#ifdef HAVE_SHM
903RUN_TEMACS = `/bin/pwd`/temacs -nl
904#else
905RUN_TEMACS = `/bin/pwd`/temacs
906#endif
903 907
904all: emacs${EXEEXT} OTHER_FILES 908all: emacs${EXEEXT} OTHER_FILES
905 909
@@ -908,11 +912,7 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
908 rm -f emacs${EXEEXT} 912 rm -f emacs${EXEEXT}
909 ln temacs${EXEEXT} emacs${EXEEXT} 913 ln temacs${EXEEXT} emacs${EXEEXT}
910#else 914#else
911#ifdef HAVE_SHM
912 LC_ALL=C $(RUN_TEMACS) -nl -batch -l loadup dump
913#else /* ! defined (HAVE_SHM) */
914 LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump 915 LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
915#endif /* ! defined (HAVE_SHM) */
916#endif /* ! defined (CANNOT_DUMP) */ 916#endif /* ! defined (CANNOT_DUMP) */
917 -./emacs -q -batch -f list-load-path-shadows 917 -./emacs -q -batch -f list-load-path-shadows
918 918
@@ -932,6 +932,16 @@ ${etc}DOC: ${libsrc}make-docfile${EXEEXT} ${obj} ${shortlisp} ${SOME_MACHINE_LIS
932${libsrc}make-docfile${EXEEXT}: 932${libsrc}make-docfile${EXEEXT}:
933 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT} 933 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
934 934
935#ifdef HAVE_UNIDATA
936UNIDATA=${admindir}unidata/UnicodeData.txt
937#endif
938
939${lispsource}international/charprop.el: ${UNIDATA}
940 RUNEMACS="$(RUN_TEMACS)"; \
941 cd ${admindir}unidata; \
942 $(MAKE) $(MFLAGS) \
943 RUNEMACS="$${RUNEMACS}" DSTDIR=${lispsource}international
944
935/* Some systems define this to cause parallel Make-ing. */ 945/* Some systems define this to cause parallel Make-ing. */
936#ifndef MAKE_PARALLEL 946#ifndef MAKE_PARALLEL
937#define MAKE_PARALLEL 947#define MAKE_PARALLEL
@@ -942,22 +952,6 @@ temacs${EXEEXT}: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} $
942 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \ 952 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
943 -o temacs ${STARTFILES} ${obj} ${otherobj} \ 953 -o temacs ${STARTFILES} ${obj} ${otherobj} \
944 OBJECTS_MACHINE ${LIBES} 954 OBJECTS_MACHINE ${LIBES}
945 if test -f $(admindir)/unidata/UnicodeData.txt; then \
946 $(MAKE) $(MFLAGS) $(lispdir)international/charprop.el; \
947 fi
948
949/* The files charprop.el and uni-*.el in the subdir
950 `../lisp/international' should be re-generated if
951 ../admin/unidata/UnicodeData.txt exists and it's newer than
952 charprop.el. */
953
954admindir = $(srcdir)/$(dot)$(dot)/admin
955
956$(lispsource)international/charprop.el: $(admindir)/unidata/UnicodeData.txt
957 TEMACS=`/bin/pwd`/temacs${EXEEXT}; \
958 cd $(admindir)/unidata; \
959 $(MAKE) $(MFLAGS) install \
960 TEMACS=$${TEMACS} DSTDIR=$(lispsource)international
961 955
962/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 956/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
963 often contain options that have to do with using Emacs's crt0, 957 often contain options that have to do with using Emacs's crt0,
@@ -1355,14 +1349,10 @@ bootstrap: bootstrap-emacs${EXEEXT}
1355/* Dump an Emacs executable named bootstrap-emacs containing the 1349/* Dump an Emacs executable named bootstrap-emacs containing the
1356 files from loadup.el in source form. */ 1350 files from loadup.el in source form. */
1357 1351
1358bootstrap-emacs${EXEEXT}: temacs${EXEEXT} 1352bootstrap-emacs${EXEEXT}: temacs${EXEEXT} ${lispsource}international/charprop.el
1359#ifdef CANNOT_DUMP 1353#ifdef CANNOT_DUMP
1360 ln temacs${EXEEXT} bootstrap-emacs${EXEEXT} 1354 ln temacs${EXEEXT} bootstrap-emacs${EXEEXT}
1361#else 1355#else
1362#ifdef HAVE_SHM
1363 $(RUN_TEMACS) -nl -batch -l loadup bootstrap
1364#else /* ! defined (HAVE_SHM) */
1365 $(RUN_TEMACS) --batch --load loadup bootstrap 1356 $(RUN_TEMACS) --batch --load loadup bootstrap
1366#endif /* ! defined (HAVE_SHM) */
1367 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} 1357 mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
1368#endif /* ! defined (CANNOT_DUMP) */ 1358#endif /* ! defined (CANNOT_DUMP) */