ia64/xen-unstable

changeset 9699:4f0ecc016cd1

This fixes the Xen Makefile to allow correct building of cscope, TAGS
and tags. Prior to this the asm directory was not constructed correctly
for the "find" command. "xen\cscope.*" has been added to ".hgignore".

Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Apr 13 10:45:43 2006 +0100 (2006-04-13)
parents 898b5427701c
children c9d706834d25
files .hgignore xen/Makefile
line diff
     1.1 --- a/.hgignore	Thu Apr 13 10:41:53 2006 +0100
     1.2 +++ b/.hgignore	Thu Apr 13 10:45:43 2006 +0100
     1.3 @@ -184,6 +184,7 @@
     1.4  ^tools/xm-test/ramdisk/buildroot
     1.5  ^xen/BLOG$
     1.6  ^xen/TAGS$
     1.7 +^xen/cscope\.*$
     1.8  ^xen/arch/x86/asm-offsets\.s$
     1.9  ^xen/arch/x86/boot/mkelf32$
    1.10  ^xen/arch/x86/xen\.lds$
     2.1 --- a/xen/Makefile	Thu Apr 13 10:41:53 2006 +0100
     2.2 +++ b/xen/Makefile	Thu Apr 13 10:45:43 2006 +0100
     2.3 @@ -135,16 +135,20 @@ define all_sources
     2.4        find $(SUBDIRS) -name SCCS -prune -o -name '*.[chS]' -print )
     2.5  endef
     2.6  
     2.7 -.PHONY: TAGS
     2.8 -TAGS: 
     2.9 +.PHONY: cscope TAGS tags
    2.10 +cscope TAGS tags:
    2.11 +	make -f $(BASEDIR)/Rules.mk _$@
    2.12 +
    2.13 +.PHONY: _TAGS
    2.14 +_TAGS: 
    2.15  	$(all_sources) | etags -
    2.16  
    2.17 -.PHONY: tags
    2.18 -tags: 
    2.19 +.PHONY: _tags
    2.20 +_tags: 
    2.21  	$(all_sources) | xargs ctags
    2.22  
    2.23 -.PHONY: cscope
    2.24 -cscope: 
    2.25 +.PHONY: _cscope
    2.26 +_cscope:
    2.27  	$(all_sources) > cscope.files
    2.28  	cscope -k -b -q
    2.29