aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2010-10-01 13:45:16 +0200
committerEli Zaretskii2010-10-01 13:45:16 +0200
commit73077a9af5b634a43742c3fdcecae8a851eb51be (patch)
treec62d3a7c20cbd132eac4642e7872a93c73b845f9 /src
parent967f57dcc822719de3a0e197957943f7504baef1 (diff)
downloademacs-73077a9af5b634a43742c3fdcecae8a851eb51be.tar.gz
emacs-73077a9af5b634a43742c3fdcecae8a851eb51be.zip
Support TAGS targets in the w32 build.
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets. emacs-src.tags: New file. src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags) (TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake) (nt-TAGS-gmake, nt-TAGS-nmake): New targets. lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake) (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH) (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets. lib-src/makefile.w32-in (tags, TAGS): New targets.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/makefile.w32-in45
2 files changed, 51 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 05d7d4336ae..1d337527eff 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-10-01 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
4 (TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
5 (nt-TAGS-gmake, nt-TAGS-nmake): New targets.
6
12010-09-30 Dan Nicolaescu <dann@ics.uci.edu> 72010-09-30 Dan Nicolaescu <dann@ics.uci.edu>
2 8
3 * xml.c (parse_string): Use const. 9 * xml.c (parse_string): Use const.
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index 752a3c211b3..daa6ed52198 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -293,6 +293,51 @@ cleanall: clean
293 - $(DEL_TREE) oo 293 - $(DEL_TREE) oo
294 - $(DEL_TREE) oo-spd 294 - $(DEL_TREE) oo-spd
295 295
296## Arrange to make a tags table TAGS-LISP for ../lisp,
297## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
298##
299## This works only with GNU Make.
300
301TAGS: $(OBJ0) $(OBJ1) $(WIN32OBJ)
302 $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
303
304TAGS-LISP: $(OBJ0) $(OBJ1) $(WIN32OBJ)
305 $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
306
307TAGS-gmake:
308 ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
309 --regex=@../nt/emacs-src.tags \
310 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
311 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
312 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
313 ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
314 $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(WIN32OBJ)) $(CURDIR)/*.h
315
316TAGS-nmake:
317 echo This target is not supported with NMake
318 exit -1
319
320frc:
321TAGS-LISP-gmake: frc
322 $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
323
324TAGS-LISP-nmake:
325 echo This target is not supported with NMake
326 exit -1
327
328../nt/TAGS: frc
329 $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
330
331nt-TAGS-gmake:
332 $(MAKE) $(MFLAGS) -C ../nt TAGS
333
334nt-TAGS-nmake:
335 echo This target is not supported with NMake
336 exit -1
337
338tags: TAGS TAGS-LISP ../nt/TAGS
339.PHONY: tags
340
296### DEPENDENCIES ### 341### DEPENDENCIES ###
297 342
298EMACS_ROOT = .. 343EMACS_ROOT = ..