diff options
| author | Richard M. Stallman | 1998-05-03 08:24:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-03 08:24:10 +0000 |
| commit | becf3db327843b3aabee0c8c4d6346a431650c74 (patch) | |
| tree | 3e5707071ebf33784509733f60be8f00e2e0dd02 /src | |
| parent | 6d4de1a74a9b4c5d47841666e0682ecceccacbc6 (diff) | |
| download | emacs-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.in | 30 |
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} | |||
| 37 | lispsource = ${srcdir}/$(dot)$(dot)/lisp/ | 37 | lispsource = ${srcdir}/$(dot)$(dot)/lisp/ |
| 38 | libsrc = $(dot)$(dot)/lib-src/ | 38 | libsrc = $(dot)$(dot)/lib-src/ |
| 39 | etc = $(dot)$(dot)/etc/ | 39 | etc = $(dot)$(dot)/etc/ |
| 40 | shortnamesdir = $(dot)$(dot)/shortnames/ | ||
| 41 | cppdir = $(dot)$(dot)/cpp/ | ||
| 42 | oldXMenudir = $(dot)$(dot)/oldXMenu/ | 40 | oldXMenudir = $(dot)$(dot)/oldXMenu/ |
| 43 | lwlibdir = $(dot)$(dot)/lwlib/ | 41 | lwlibdir = $(dot)$(dot)/lwlib/ |
| 44 | 42 | ||
| @@ -254,10 +252,6 @@ MYCPPFLAG= -Blocal | |||
| 254 | LOCALCPP= localcpp | 252 | LOCALCPP= localcpp |
| 255 | #endif /* ! defined (LONGNAMEBBBARFOOX) */ | 253 | #endif /* ! defined (LONGNAMEBBBARFOOX) */ |
| 256 | 254 | ||
| 257 | #ifdef SHORTNAMES | ||
| 258 | SHORT= 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@ |
| 263 | TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ | 257 | TOOLKIT_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 | ||
| 848 | temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args | 842 | temacs: 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: | |||
| 875 | CPP = $(CC) -E | 869 | CPP = $(CC) -E |
| 876 | #endif /* ! defined (NEED_CPP) */ | 870 | #endif /* ! defined (NEED_CPP) */ |
| 877 | 871 | ||
| 878 | #ifdef SHORTNAMES | ||
| 879 | shortnames: | ||
| 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. */ |
| 1173 | ctagsfiles = [a-zA-Z]*.[hc] | 1162 | ctagsfiles = [a-zA-Z]*.[hc] |
| 1174 | lisptagsfiles = ../lisp/[a-zA-Z]*.el | ||
| 1175 | TAGS: $(srcdir)/$(ctagsfiles) | 1163 | TAGS: $(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) | 1166 | frc: |
| 1180 | export DIR; DIR=`pwd`; cd ${lispsource}; \ | 1167 | TAGS-LISP: frc |
| 1181 | $(MAKE) TAGS ETAGS=$$DIR/../lib-src/etags | 1168 | $(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \ |
| 1182 | tags: TAGS ${lispsource}TAGS | 1169 | lispsource=${lispsource} |
| 1170 | tags: TAGS TAGS-LISP | ||
| 1183 | .PHONY: tags | 1171 | .PHONY: tags |