aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-03 08:24:10 +0000
committerRichard M. Stallman1998-05-03 08:24:10 +0000
commitbecf3db327843b3aabee0c8c4d6346a431650c74 (patch)
tree3e5707071ebf33784509733f60be8f00e2e0dd02 /src
parent6d4de1a74a9b4c5d47841666e0682ecceccacbc6 (diff)
downloademacs-becf3db327843b3aabee0c8c4d6346a431650c74.tar.gz
emacs-becf3db327843b3aabee0c8c4d6346a431650c74.zip
(TAGS-LISP): New target.
(${lispsource}TAGS): Target deleted. (tags): Depend on TAGS-LISP. (TAGS): Generate the TAGS file in the build dir. (lisptagsfiles): Variable deleted. (shortnamesdir, cppdir): Vars deleted. (shortnames): Target deleted. (temacs): Don't use $(SHORT). (SHORT): Var deleted.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in30
1 files changed, 9 insertions, 21 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 9e8ddd06b7e..55e3304d445 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -37,8 +37,6 @@ dotdot = ${dot}${dot}
37lispsource = ${srcdir}/$(dot)$(dot)/lisp/ 37lispsource = ${srcdir}/$(dot)$(dot)/lisp/
38libsrc = $(dot)$(dot)/lib-src/ 38libsrc = $(dot)$(dot)/lib-src/
39etc = $(dot)$(dot)/etc/ 39etc = $(dot)$(dot)/etc/
40shortnamesdir = $(dot)$(dot)/shortnames/
41cppdir = $(dot)$(dot)/cpp/
42oldXMenudir = $(dot)$(dot)/oldXMenu/ 40oldXMenudir = $(dot)$(dot)/oldXMenu/
43lwlibdir = $(dot)$(dot)/lwlib/ 41lwlibdir = $(dot)$(dot)/lwlib/
44 42
@@ -254,10 +252,6 @@ MYCPPFLAG= -Blocal
254LOCALCPP= localcpp 252LOCALCPP= localcpp
255#endif /* ! defined (LONGNAMEBBBARFOOX) */ 253#endif /* ! defined (LONGNAMEBBBARFOOX) */
256 254
257#ifdef SHORTNAMES
258SHORT= shortnames
259#endif
260
261#ifdef USE_X_TOOLKIT 255#ifdef USE_X_TOOLKIT
262#define USE_@X_TOOLKIT_TYPE@ 256#define USE_@X_TOOLKIT_TYPE@
263TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ 257TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
@@ -845,7 +839,7 @@ ${libsrc}make-docfile:
845#define MAKE_PARALLEL 839#define MAKE_PARALLEL
846#endif 840#endif
847 841
848temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args 842temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
849 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \ 843 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
850 -o temacs ${STARTFILES} ${obj} ${otherobj} \ 844 -o temacs ${STARTFILES} ${obj} ${otherobj} \
851 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} 845 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
@@ -875,11 +869,6 @@ localcpp:
875CPP = $(CC) -E 869CPP = $(CC) -E
876#endif /* ! defined (NEED_CPP) */ 870#endif /* ! defined (NEED_CPP) */
877 871
878#ifdef SHORTNAMES
879shortnames:
880 cd ${shortnamesdir}; ${MAKE} ${MFLAGS}
881#endif
882
883/* Don't lose if this was not defined. */ 872/* Don't lose if this was not defined. */
884#ifndef OLDXMENU_OPTIONS 873#ifndef OLDXMENU_OPTIONS
885#define OLDXMENU_OPTIONS 874#define OLDXMENU_OPTIONS
@@ -1168,16 +1157,15 @@ relock:
1168 chmod -w $(SOURCES) 1157 chmod -w $(SOURCES)
1169 chmod +w paths.h 1158 chmod +w paths.h
1170 1159
1171/* Arrange to make a tags table in ../lisp, and another in this dir 1160/* Arrange to make a tags table TAGS-LISP for ../lisp,
1172 which includes ../lisp/TAGS by reference. */ 1161 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */
1173ctagsfiles = [a-zA-Z]*.[hc] 1162ctagsfiles = [a-zA-Z]*.[hc]
1174lisptagsfiles = ../lisp/[a-zA-Z]*.el
1175TAGS: $(srcdir)/$(ctagsfiles) 1163TAGS: $(srcdir)/$(ctagsfiles)
1176 export DIR; DIR=`pwd`; cd ${srcdir}; \ 1164 ../lib-src/etags --include=TAGS-LISP \
1177 $$DIR/../lib-src/etags --include=../lisp/TAGS \
1178 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(ctagsfiles) 1165 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(ctagsfiles)
1179${lispsource}TAGS: ${lispsource}$(lisptagsfiles) 1166frc:
1180 export DIR; DIR=`pwd`; cd ${lispsource}; \ 1167TAGS-LISP: frc
1181 $(MAKE) TAGS ETAGS=$$DIR/../lib-src/etags 1168 $(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \
1182tags: TAGS ${lispsource}TAGS 1169 lispsource=${lispsource}
1170tags: TAGS TAGS-LISP
1183.PHONY: tags 1171.PHONY: tags